Bug 1874684 - Part 28: Return DateDuration from DifferenceISODateTime. r=mgaudet
[gecko.git] / gfx / ipc / moz.build
blobcc007a8193c3a01a3a17907d6fd615d4bada3dad
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     "CanvasShutdownManager.h",
17     "CrossProcessPaint.h",
18     "FileHandleWrapper.h",
19     "GPUChild.h",
20     "GPUParent.h",
21     "GPUProcessHost.h",
22     "GPUProcessImpl.h",
23     "GPUProcessListener.h",
24     "GPUProcessManager.h",
25     "VsyncBridgeChild.h",
26     "VsyncBridgeParent.h",
27     "VsyncIOThreadHolder.h",
30 EXPORTS.mozilla.layers += [
31     "CompositorOptions.h",
32     "CompositorSession.h",
33     "InProcessCompositorSession.h",
34     "OverlayInfo.h",
35     "RemoteCompositorSession.h",
38 EXPORTS.mozilla.widget += [
39     "CompositorWidgetVsyncObserver.h",
42 UNIFIED_SOURCES += [
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",
52     "GPUChild.cpp",
53     "GPUProcessHost.cpp",
54     "GPUProcessImpl.cpp",
55     "GPUProcessManager.cpp",
56     "InProcessCompositorSession.cpp",
57     "RemoteCompositorSession.cpp",
58     "VsyncBridgeChild.cpp",
59     "VsyncBridgeParent.cpp",
60     "VsyncIOThreadHolder.cpp",
63 SOURCES += [
64     "GPUParent.cpp",
67 IPDL_SOURCES = [
68     "GraphicsMessages.ipdlh",
69     "PCanvasManager.ipdl",
70     "PVsyncBridge.ipdl",
73 PREPROCESSED_IPDL_SOURCES += [
74     "PGPU.ipdl",
77 LOCAL_INCLUDES += [
78     "/dom/ipc",
79     "/gfx/cairo/cairo/src",
80     "/ipc/glue",
81     "/toolkit/crashreporter",
82     "/xpcom/threads",
85 include("/ipc/chromium/chromium-config.mozbuild")
87 FINAL_LIBRARY = "xul"
89 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
90     CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
92 CXXFLAGS += ["-Werror=switch"]
94 LOCAL_INCLUDES += CONFIG["SKIA_INCLUDES"]