2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:21 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2017-01-23 16:10:05 +00:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Graphics: Layers')
|
|
|
|
|
2013-07-26 19:28:31 +00:00
|
|
|
EXPORTS.mozilla += [
|
2015-11-18 20:11:52 +00:00
|
|
|
'D3DMessageUtils.h',
|
2013-07-26 19:28:31 +00:00
|
|
|
'GfxMessageUtils.h'
|
|
|
|
]
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS.mozilla.gfx += [
|
2016-06-11 02:27:24 +00:00
|
|
|
'GPUChild.h',
|
|
|
|
'GPUParent.h',
|
|
|
|
'GPUProcessHost.h',
|
|
|
|
'GPUProcessImpl.h',
|
2016-09-20 08:18:50 +00:00
|
|
|
'GPUProcessListener.h',
|
2016-05-23 07:27:01 +00:00
|
|
|
'GPUProcessManager.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'SharedDIB.h',
|
2016-07-19 18:56:06 +00:00
|
|
|
'VsyncBridgeChild.h',
|
|
|
|
'VsyncBridgeParent.h',
|
|
|
|
'VsyncIOThreadHolder.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
|
|
|
|
2016-05-18 05:33:22 +00:00
|
|
|
EXPORTS.mozilla.layers += [
|
2017-01-12 22:29:41 +00:00
|
|
|
'CompositorOptions.h',
|
2016-05-18 05:33:22 +00:00
|
|
|
'CompositorSession.h',
|
2016-07-18 04:24:27 +00:00
|
|
|
'InProcessCompositorSession.h',
|
2016-07-18 04:24:28 +00:00
|
|
|
'RemoteCompositorSession.h',
|
2016-05-18 05:33:22 +00:00
|
|
|
]
|
|
|
|
|
2016-07-19 18:56:07 +00:00
|
|
|
EXPORTS.mozilla.widget += [
|
|
|
|
'CompositorWidgetVsyncObserver.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
EXPORTS.mozilla.gfx += [
|
2013-05-16 17:22:02 +00:00
|
|
|
'SharedDIBSurface.h',
|
2013-05-16 22:37:18 +00:00
|
|
|
'SharedDIBWin.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
2015-08-14 03:46:47 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'SharedDIBSurface.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'SharedDIBWin.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2015-08-14 03:46:47 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2016-05-18 05:33:22 +00:00
|
|
|
'CompositorSession.cpp',
|
2016-07-19 18:56:07 +00:00
|
|
|
'CompositorWidgetVsyncObserver.cpp',
|
2015-11-18 20:11:52 +00:00
|
|
|
'D3DMessageUtils.cpp',
|
2016-06-11 02:27:24 +00:00
|
|
|
'GPUChild.cpp',
|
|
|
|
'GPUProcessHost.cpp',
|
|
|
|
'GPUProcessImpl.cpp',
|
2016-05-23 07:27:01 +00:00
|
|
|
'GPUProcessManager.cpp',
|
2016-07-18 04:24:27 +00:00
|
|
|
'InProcessCompositorSession.cpp',
|
2016-07-18 04:24:28 +00:00
|
|
|
'RemoteCompositorSession.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'SharedDIB.cpp',
|
2016-07-19 18:56:06 +00:00
|
|
|
'VsyncBridgeChild.cpp',
|
|
|
|
'VsyncBridgeParent.cpp',
|
|
|
|
'VsyncIOThreadHolder.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-04-16 19:24:43 +00:00
|
|
|
|
2016-09-21 09:24:44 +00:00
|
|
|
SOURCES += [
|
|
|
|
'GPUParent.cpp',
|
|
|
|
]
|
|
|
|
|
2015-08-02 20:59:33 +00:00
|
|
|
IPDL_SOURCES = [
|
|
|
|
'GraphicsMessages.ipdlh',
|
2016-06-11 02:27:24 +00:00
|
|
|
'PGPU.ipdl',
|
2016-07-19 18:56:06 +00:00
|
|
|
'PVsyncBridge.ipdl',
|
2015-08-02 20:59:33 +00:00
|
|
|
]
|
|
|
|
|
2016-10-11 21:25:41 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/ipc',
|
|
|
|
'/toolkit/crashreporter',
|
2016-10-12 07:08:36 +00:00
|
|
|
'/xpcom/threads',
|
2016-10-11 21:25:41 +00:00
|
|
|
]
|
2016-08-24 19:47:11 +00:00
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-07-24 15:55:33 +00:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|