Bug 1687263: part 4) Defer and in some cases avoid removing spellchecking-ranges...
[gecko.git] / layout / painting / moz.build
blobf27a971afa30c4f085f7d2ee25a8c9300c9282c8
1 # -*- Mode: python; 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/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "Web Painting")
10 EXPORTS += [
11     "ActiveLayerTracker.h",
12     "DisplayItemClip.h",
13     "DisplayItemClipChain.h",
14     "DisplayListClipState.h",
15     "FrameLayerBuilder.h",
16     "HitTestInfo.h",
17     "LayerState.h",
18     "MatrixStack.h",
19     "nsCSSRenderingBorders.h",
20     "nsCSSRenderingGradients.h",
21     "nsDisplayItemTypes.h",
22     "nsDisplayItemTypesList.h",
23     "nsDisplayList.h",
24     "nsDisplayListArenaTypes.h",
25     "nsDisplayListInvalidation.h",
26     "nsImageRenderer.h",
27     "RetainedDisplayListBuilder.h",
28     "RetainedDisplayListHelpers.h",
29     "TransformClipNode.h",
32 EXPORTS.mozilla += [
33     "PaintTracker.h",
36 UNIFIED_SOURCES += [
37     "ActiveLayerTracker.cpp",
38     "DashedCornerFinder.cpp",
39     "DisplayItemClip.cpp",
40     "DisplayItemClipChain.cpp",
41     "DisplayListClipState.cpp",
42     "DottedCornerFinder.cpp",
43     "FrameLayerBuilder.cpp",
44     "HitTestInfo.cpp",
45     "MaskLayerImageCache.cpp",
46     "nsCSSRendering.cpp",
47     "nsCSSRenderingBorders.cpp",
48     "nsCSSRenderingGradients.cpp",
49     "nsDisplayList.cpp",
50     "nsDisplayListInvalidation.cpp",
51     "nsImageRenderer.cpp",
52     "PaintTracker.cpp",
53     "RetainedDisplayListBuilder.cpp",
56 include("/ipc/chromium/chromium-config.mozbuild")
58 LOCAL_INCLUDES += [
59     "/docshell/base",
60     "/dom/base",
61     "/gfx/2d",
62     "/layout/base",
63     "/layout/generic",
64     "/layout/style",
65     "/layout/tables",
66     "/layout/xul",
69 LOCAL_INCLUDES += CONFIG["SKIA_INCLUDES"]
71 FINAL_LIBRARY = "xul"
73 CXXFLAGS += CONFIG["MOZ_CAIRO_CFLAGS"]
75 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
76     CXXFLAGS += ["-Wno-error=shadow"]