2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2015-04-01 23:02:20 +03: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/.
|
|
|
|
|
|
|
|
EXPORTS += [
|
2018-03-14 03:09:54 +03:00
|
|
|
'external_api/moz_external_vr.h',
|
2015-04-01 23:02:20 +03:00
|
|
|
'gfxVR.h',
|
2018-08-07 21:20:34 +03:00
|
|
|
'gfxVRExternal.h',
|
|
|
|
'ipc/VRChild.h',
|
|
|
|
'ipc/VRGPUChild.h',
|
|
|
|
'ipc/VRGPUParent.h',
|
2016-02-25 02:54:50 +03:00
|
|
|
'ipc/VRLayerChild.h',
|
2015-09-18 00:23:13 +03:00
|
|
|
'ipc/VRManagerChild.h',
|
|
|
|
'ipc/VRManagerParent.h',
|
|
|
|
'ipc/VRMessageUtils.h',
|
2018-08-07 21:20:34 +03:00
|
|
|
'ipc/VRParent.h',
|
|
|
|
'ipc/VRProcessChild.h',
|
|
|
|
'ipc/VRProcessManager.h',
|
|
|
|
'ipc/VRProcessParent.h',
|
2016-02-25 02:54:50 +03:00
|
|
|
'VRDisplayClient.h',
|
2018-08-07 21:20:34 +03:00
|
|
|
'VRDisplayHost.h',
|
2016-02-25 02:54:50 +03:00
|
|
|
'VRDisplayPresentation.h',
|
2015-09-18 00:23:13 +03:00
|
|
|
'VRManager.h',
|
2017-10-05 13:12:45 +03:00
|
|
|
'VRThread.h',
|
2015-04-01 23:02:20 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
2016-10-04 11:30:04 +03:00
|
|
|
'/dom/base',
|
2016-07-22 22:41:00 +03:00
|
|
|
'/gfx/layers/d3d11',
|
2015-04-01 23:02:20 +03:00
|
|
|
'/gfx/thebes',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'gfxVR.cpp',
|
2018-08-07 21:20:34 +03:00
|
|
|
'ipc/VRChild.cpp',
|
|
|
|
'ipc/VRGPUChild.cpp',
|
|
|
|
'ipc/VRGPUParent.cpp',
|
2016-02-25 02:54:50 +03:00
|
|
|
'ipc/VRLayerChild.cpp',
|
|
|
|
'ipc/VRLayerParent.cpp',
|
2015-09-18 00:23:13 +03:00
|
|
|
'ipc/VRManagerChild.cpp',
|
|
|
|
'ipc/VRManagerParent.cpp',
|
2018-08-07 21:20:34 +03:00
|
|
|
'ipc/VRParent.cpp',
|
|
|
|
'ipc/VRProcessChild.cpp',
|
|
|
|
'ipc/VRProcessManager.cpp',
|
|
|
|
'ipc/VRProcessParent.cpp',
|
2016-02-25 02:54:50 +03:00
|
|
|
'VRDisplayClient.cpp',
|
|
|
|
'VRDisplayPresentation.cpp',
|
2015-09-18 00:23:13 +03:00
|
|
|
'VRManager.cpp',
|
2017-10-05 13:12:45 +03:00
|
|
|
'VRThread.cpp',
|
2015-04-01 23:02:20 +03:00
|
|
|
]
|
|
|
|
|
2017-07-04 23:50:40 +03:00
|
|
|
# VRDisplayHost includes MacIOSurface.h which includes Mac headers
|
|
|
|
# which define Size and Points types in the root namespace that
|
|
|
|
# often conflict with our own types.
|
|
|
|
SOURCES += [
|
2018-03-14 03:09:54 +03:00
|
|
|
'gfxVRExternal.cpp',
|
2017-08-24 19:30:31 +03:00
|
|
|
'gfxVRPuppet.cpp',
|
2017-07-04 23:50:40 +03:00
|
|
|
'VRDisplayHost.cpp',
|
2018-05-08 21:31:28 +03:00
|
|
|
'VRDisplayLocal.cpp',
|
2017-07-04 23:50:40 +03:00
|
|
|
]
|
|
|
|
|
2018-06-05 01:45:04 +03:00
|
|
|
if CONFIG['OS_TARGET'] == 'Android':
|
2017-11-01 03:25:40 +03:00
|
|
|
LOCAL_INCLUDES += ['/widget/android']
|
2018-10-09 05:41:00 +03:00
|
|
|
else:
|
|
|
|
DIRS += [
|
|
|
|
'service',
|
|
|
|
]
|
2017-11-01 03:25:40 +03:00
|
|
|
|
2015-09-18 00:23:13 +03:00
|
|
|
IPDL_SOURCES = [
|
2018-08-07 21:20:34 +03:00
|
|
|
'ipc/PVR.ipdl',
|
|
|
|
'ipc/PVRGPU.ipdl',
|
2016-02-25 02:54:50 +03:00
|
|
|
'ipc/PVRLayer.ipdl',
|
2015-09-18 00:23:13 +03:00
|
|
|
'ipc/PVRManager.ipdl',
|
|
|
|
]
|
|
|
|
|
2015-04-01 23:02:20 +03:00
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
|
|
|
CFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
|
|
|
CFLAGS += CONFIG['TK_CFLAGS']
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
|
2018-07-31 16:10:07 +03:00
|
|
|
if CONFIG['CC_TYPE'] == 'clang-cl':
|
|
|
|
AllowCompilerWarnings() # workaround for bug 1090497
|