Bug 1876335 - use GRADLE_MAVEN_REPOSITORIES in more places. r=owlish,geckoview-review...
[gecko.git] / gfx / ipc / moz.build
blobb8a52079e417d96a0a0893fb404b6b342701deca
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", "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",
18     "GPUChild.h",
19     "GPUParent.h",
20     "GPUProcessHost.h",
21     "GPUProcessImpl.h",
22     "GPUProcessListener.h",
23     "GPUProcessManager.h",
24     "VsyncBridgeChild.h",
25     "VsyncBridgeParent.h",
26     "VsyncIOThreadHolder.h",
29 EXPORTS.mozilla.layers += [
30     "CompositorOptions.h",
31     "CompositorSession.h",
32     "InProcessCompositorSession.h",
33     "OverlayInfo.h",
34     "RemoteCompositorSession.h",
37 EXPORTS.mozilla.widget += [
38     "CompositorWidgetVsyncObserver.h",
41 UNIFIED_SOURCES += [
42     "CanvasManagerChild.cpp",
43     "CanvasManagerParent.cpp",
44     "CanvasRenderThread.cpp",
45     "CompositorSession.cpp",
46     "CompositorWidgetVsyncObserver.cpp",
47     "CrossProcessPaint.cpp",
48     "D3DMessageUtils.cpp",
49     "FileHandleWrapper.cpp",
50     "GPUChild.cpp",
51     "GPUProcessHost.cpp",
52     "GPUProcessImpl.cpp",
53     "GPUProcessManager.cpp",
54     "InProcessCompositorSession.cpp",
55     "RemoteCompositorSession.cpp",
56     "VsyncBridgeChild.cpp",
57     "VsyncBridgeParent.cpp",
58     "VsyncIOThreadHolder.cpp",
61 SOURCES += [
62     "GPUParent.cpp",
65 IPDL_SOURCES = [
66     "GraphicsMessages.ipdlh",
67     "PCanvasManager.ipdl",
68     "PVsyncBridge.ipdl",
71 PREPROCESSED_IPDL_SOURCES += [
72     "PGPU.ipdl",
75 LOCAL_INCLUDES += [
76     "/dom/ipc",
77     "/gfx/cairo/cairo/src",
78     "/ipc/glue",
79     "/toolkit/crashreporter",
80     "/xpcom/threads",
83 include("/ipc/chromium/chromium-config.mozbuild")
85 FINAL_LIBRARY = "xul"
87 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
88     CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
90 CXXFLAGS += ["-Werror=switch"]
92 LOCAL_INCLUDES += CONFIG["SKIA_INCLUDES"]