michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS += [ michael@0: 'ImageOps.h', michael@0: 'imgLoader.h', michael@0: 'imgRequest.h', michael@0: 'imgRequestProxy.h', michael@0: 'Orientation.h', michael@0: 'SurfaceCache.h' michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'ClippedImage.cpp', michael@0: 'Decoder.cpp', michael@0: 'DiscardTracker.cpp', michael@0: 'FrameAnimator.cpp', michael@0: 'FrameBlender.cpp', michael@0: 'FrameSequence.cpp', michael@0: 'FrozenImage.cpp', michael@0: 'Image.cpp', michael@0: 'ImageFactory.cpp', michael@0: 'ImageMetadata.cpp', michael@0: 'ImageOps.cpp', michael@0: 'ImageWrapper.cpp', michael@0: 'imgFrame.cpp', michael@0: 'imgTools.cpp', michael@0: 'OrientedImage.cpp', michael@0: 'ScriptedNotificationObserver.cpp', michael@0: 'SurfaceCache.cpp', michael@0: 'SVGDocumentWrapper.cpp', michael@0: 'VectorImage.cpp', michael@0: ] michael@0: michael@0: # These files can't be unified because of ImageLogging.h #include order issues. michael@0: SOURCES += [ michael@0: 'imgLoader.cpp', michael@0: 'imgRequest.cpp', michael@0: 'imgRequestProxy.cpp', michael@0: 'imgStatusTracker.cpp', michael@0: 'RasterImage.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'imglib2' michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: # Because SVGDocumentWrapper.cpp includes "mozilla/dom/SVGSVGElement.h" michael@0: '/content/base/src', michael@0: '/content/svg/content/src', michael@0: # We need to instantiate the decoders michael@0: '/image/decoders', michael@0: # Because VectorImage.cpp includes nsSVGUtils.h and nsSVGEffects.h michael@0: '/layout/svg', michael@0: # For URI-related functionality michael@0: '/netwerk/base/src', michael@0: ]