1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/image/src/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,63 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +EXPORTS += [ 1.11 + 'ImageOps.h', 1.12 + 'imgLoader.h', 1.13 + 'imgRequest.h', 1.14 + 'imgRequestProxy.h', 1.15 + 'Orientation.h', 1.16 + 'SurfaceCache.h' 1.17 +] 1.18 + 1.19 +UNIFIED_SOURCES += [ 1.20 + 'ClippedImage.cpp', 1.21 + 'Decoder.cpp', 1.22 + 'DiscardTracker.cpp', 1.23 + 'FrameAnimator.cpp', 1.24 + 'FrameBlender.cpp', 1.25 + 'FrameSequence.cpp', 1.26 + 'FrozenImage.cpp', 1.27 + 'Image.cpp', 1.28 + 'ImageFactory.cpp', 1.29 + 'ImageMetadata.cpp', 1.30 + 'ImageOps.cpp', 1.31 + 'ImageWrapper.cpp', 1.32 + 'imgFrame.cpp', 1.33 + 'imgTools.cpp', 1.34 + 'OrientedImage.cpp', 1.35 + 'ScriptedNotificationObserver.cpp', 1.36 + 'SurfaceCache.cpp', 1.37 + 'SVGDocumentWrapper.cpp', 1.38 + 'VectorImage.cpp', 1.39 +] 1.40 + 1.41 +# These files can't be unified because of ImageLogging.h #include order issues. 1.42 +SOURCES += [ 1.43 + 'imgLoader.cpp', 1.44 + 'imgRequest.cpp', 1.45 + 'imgRequestProxy.cpp', 1.46 + 'imgStatusTracker.cpp', 1.47 + 'RasterImage.cpp', 1.48 +] 1.49 + 1.50 +FAIL_ON_WARNINGS = True 1.51 + 1.52 +include('/ipc/chromium/chromium-config.mozbuild') 1.53 + 1.54 +FINAL_LIBRARY = 'imglib2' 1.55 + 1.56 +LOCAL_INCLUDES += [ 1.57 + # Because SVGDocumentWrapper.cpp includes "mozilla/dom/SVGSVGElement.h" 1.58 + '/content/base/src', 1.59 + '/content/svg/content/src', 1.60 + # We need to instantiate the decoders 1.61 + '/image/decoders', 1.62 + # Because VectorImage.cpp includes nsSVGUtils.h and nsSVGEffects.h 1.63 + '/layout/svg', 1.64 + # For URI-related functionality 1.65 + '/netwerk/base/src', 1.66 +]