image/src/moz.build

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:babee67f6bb3
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 EXPORTS += [
8 'ImageOps.h',
9 'imgLoader.h',
10 'imgRequest.h',
11 'imgRequestProxy.h',
12 'Orientation.h',
13 'SurfaceCache.h'
14 ]
15
16 UNIFIED_SOURCES += [
17 'ClippedImage.cpp',
18 'Decoder.cpp',
19 'DiscardTracker.cpp',
20 'FrameAnimator.cpp',
21 'FrameBlender.cpp',
22 'FrameSequence.cpp',
23 'FrozenImage.cpp',
24 'Image.cpp',
25 'ImageFactory.cpp',
26 'ImageMetadata.cpp',
27 'ImageOps.cpp',
28 'ImageWrapper.cpp',
29 'imgFrame.cpp',
30 'imgTools.cpp',
31 'OrientedImage.cpp',
32 'ScriptedNotificationObserver.cpp',
33 'SurfaceCache.cpp',
34 'SVGDocumentWrapper.cpp',
35 'VectorImage.cpp',
36 ]
37
38 # These files can't be unified because of ImageLogging.h #include order issues.
39 SOURCES += [
40 'imgLoader.cpp',
41 'imgRequest.cpp',
42 'imgRequestProxy.cpp',
43 'imgStatusTracker.cpp',
44 'RasterImage.cpp',
45 ]
46
47 FAIL_ON_WARNINGS = True
48
49 include('/ipc/chromium/chromium-config.mozbuild')
50
51 FINAL_LIBRARY = 'imglib2'
52
53 LOCAL_INCLUDES += [
54 # Because SVGDocumentWrapper.cpp includes "mozilla/dom/SVGSVGElement.h"
55 '/content/base/src',
56 '/content/svg/content/src',
57 # We need to instantiate the decoders
58 '/image/decoders',
59 # Because VectorImage.cpp includes nsSVGUtils.h and nsSVGEffects.h
60 '/layout/svg',
61 # For URI-related functionality
62 '/netwerk/base/src',
63 ]

mercurial