2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:21 +04: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 19:10:05 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Graphics: Layers')
|
|
|
|
|
2013-07-26 23:28:31 +04:00
|
|
|
EXPORTS.mozilla += [
|
2015-11-18 23:11:52 +03:00
|
|
|
'D3DMessageUtils.h',
|
2013-07-26 23:28:31 +04:00
|
|
|
'GfxMessageUtils.h'
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.gfx += [
|
2018-09-25 05:48:02 +03:00
|
|
|
'CrossProcessPaint.h',
|
2016-06-11 05:27:24 +03:00
|
|
|
'GPUChild.h',
|
|
|
|
'GPUParent.h',
|
|
|
|
'GPUProcessHost.h',
|
|
|
|
'GPUProcessImpl.h',
|
2016-09-20 11:18:50 +03:00
|
|
|
'GPUProcessListener.h',
|
2016-05-23 10:27:01 +03:00
|
|
|
'GPUProcessManager.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'SharedDIB.h',
|
2016-07-19 21:56:06 +03:00
|
|
|
'VsyncBridgeChild.h',
|
|
|
|
'VsyncBridgeParent.h',
|
|
|
|
'VsyncIOThreadHolder.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2016-05-18 08:33:22 +03:00
|
|
|
EXPORTS.mozilla.layers += [
|
2017-01-13 01:29:41 +03:00
|
|
|
'CompositorOptions.h',
|
2016-05-18 08:33:22 +03:00
|
|
|
'CompositorSession.h',
|
2016-07-18 07:24:27 +03:00
|
|
|
'InProcessCompositorSession.h',
|
2016-07-18 07:24:28 +03:00
|
|
|
'RemoteCompositorSession.h',
|
2016-05-18 08:33:22 +03:00
|
|
|
]
|
|
|
|
|
2016-07-19 21:56:07 +03:00
|
|
|
EXPORTS.mozilla.widget += [
|
|
|
|
'CompositorWidgetVsyncObserver.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
EXPORTS.mozilla.gfx += [
|
2013-05-16 21:22:02 +04:00
|
|
|
'SharedDIBSurface.h',
|
2013-05-17 02:37:18 +04:00
|
|
|
'SharedDIBWin.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2015-08-14 06:46:47 +03:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'SharedDIBSurface.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'SharedDIBWin.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2015-08-14 06:46:47 +03:00
|
|
|
UNIFIED_SOURCES += [
|
2016-05-18 08:33:22 +03:00
|
|
|
'CompositorSession.cpp',
|
2016-07-19 21:56:07 +03:00
|
|
|
'CompositorWidgetVsyncObserver.cpp',
|
2018-09-25 05:48:02 +03:00
|
|
|
'CrossProcessPaint.cpp',
|
2015-11-18 23:11:52 +03:00
|
|
|
'D3DMessageUtils.cpp',
|
2016-06-11 05:27:24 +03:00
|
|
|
'GPUChild.cpp',
|
|
|
|
'GPUProcessHost.cpp',
|
|
|
|
'GPUProcessImpl.cpp',
|
2016-05-23 10:27:01 +03:00
|
|
|
'GPUProcessManager.cpp',
|
2016-07-18 07:24:27 +03:00
|
|
|
'InProcessCompositorSession.cpp',
|
2016-07-18 07:24:28 +03:00
|
|
|
'RemoteCompositorSession.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'SharedDIB.cpp',
|
2016-07-19 21:56:06 +03:00
|
|
|
'VsyncBridgeChild.cpp',
|
|
|
|
'VsyncBridgeParent.cpp',
|
|
|
|
'VsyncIOThreadHolder.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
|
2016-09-21 12:24:44 +03:00
|
|
|
SOURCES += [
|
|
|
|
'GPUParent.cpp',
|
|
|
|
]
|
|
|
|
|
2015-08-02 23:59:33 +03:00
|
|
|
IPDL_SOURCES = [
|
|
|
|
'GraphicsMessages.ipdlh',
|
2016-06-11 05:27:24 +03:00
|
|
|
'PGPU.ipdl',
|
2016-07-19 21:56:06 +03:00
|
|
|
'PVsyncBridge.ipdl',
|
2015-08-02 23:59:33 +03:00
|
|
|
]
|
|
|
|
|
2016-10-12 00:25:41 +03:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/ipc',
|
|
|
|
'/toolkit/crashreporter',
|
2016-10-12 10:08:36 +03:00
|
|
|
'/xpcom/threads',
|
2016-10-12 00:25:41 +03:00
|
|
|
]
|
2016-08-24 22:47:11 +03:00
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-07-24 19:55:33 +04:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|