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 "CrossProcessPaint.h",
17 "FileHandleWrapper.h",
22 "GPUProcessListener.h",
23 "GPUProcessManager.h",
25 "VsyncBridgeParent.h",
26 "VsyncIOThreadHolder.h",
29 EXPORTS.mozilla.layers += [
30 "CompositorOptions.h",
31 "CompositorSession.h",
32 "InProcessCompositorSession.h",
34 "RemoteCompositorSession.h",
37 EXPORTS.mozilla.widget += [
38 "CompositorWidgetVsyncObserver.h",
42 "CanvasManagerChild.cpp",
43 "CanvasManagerParent.cpp",
44 "CanvasRenderThread.cpp",
45 "CompositorSession.cpp",
46 "CompositorWidgetVsyncObserver.cpp",
47 "CrossProcessPaint.cpp",
48 "D3DMessageUtils.cpp",
49 "FileHandleWrapper.cpp",
53 "GPUProcessManager.cpp",
54 "InProcessCompositorSession.cpp",
55 "RemoteCompositorSession.cpp",
56 "VsyncBridgeChild.cpp",
57 "VsyncBridgeParent.cpp",
58 "VsyncIOThreadHolder.cpp",
66 "GraphicsMessages.ipdlh",
67 "PCanvasManager.ipdl",
71 PREPROCESSED_IPDL_SOURCES += [
77 "/gfx/cairo/cairo/src",
79 "/toolkit/crashreporter",
83 include("/ipc/chromium/chromium-config.mozbuild")
87 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
88 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
90 CXXFLAGS += ["-Werror=switch"]
92 LOCAL_INCLUDES += CONFIG["SKIA_INCLUDES"]