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/.
8 BUG_COMPONENT = ("Core", "Graphics")
10 EXPORTS.mozilla += ["D3DMessageUtils.h", "GfxMessageUtils.h"]
12 EXPORTS.mozilla.gfx += [
13 "CanvasManagerChild.h",
14 "CanvasManagerParent.h",
15 "CanvasRenderThread.h",
16 "CanvasShutdownManager.h",
17 "CrossProcessPaint.h",
18 "FileHandleWrapper.h",
23 "GPUProcessListener.h",
24 "GPUProcessManager.h",
26 "VsyncBridgeParent.h",
27 "VsyncIOThreadHolder.h",
30 EXPORTS.mozilla.layers += [
31 "CompositorOptions.h",
32 "CompositorSession.h",
33 "InProcessCompositorSession.h",
35 "RemoteCompositorSession.h",
38 EXPORTS.mozilla.widget += [
39 "CompositorWidgetVsyncObserver.h",
43 "CanvasManagerChild.cpp",
44 "CanvasManagerParent.cpp",
45 "CanvasRenderThread.cpp",
46 "CanvasShutdownManager.cpp",
47 "CompositorSession.cpp",
48 "CompositorWidgetVsyncObserver.cpp",
49 "CrossProcessPaint.cpp",
50 "D3DMessageUtils.cpp",
51 "FileHandleWrapper.cpp",
55 "GPUProcessManager.cpp",
56 "InProcessCompositorSession.cpp",
57 "RemoteCompositorSession.cpp",
58 "VsyncBridgeChild.cpp",
59 "VsyncBridgeParent.cpp",
60 "VsyncIOThreadHolder.cpp",
68 "GraphicsMessages.ipdlh",
69 "PCanvasManager.ipdl",
73 PREPROCESSED_IPDL_SOURCES += [
79 "/gfx/cairo/cairo/src",
81 "/toolkit/crashreporter",
85 include("/ipc/chromium/chromium-config.mozbuild")
89 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
90 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
92 CXXFLAGS += ["-Werror=switch"]
94 LOCAL_INCLUDES += CONFIG["SKIA_INCLUDES"]