2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2015-04-01 20:02:20 +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/.
|
|
|
|
|
|
|
|
EXPORTS += [
|
2018-03-14 00:09:54 +00:00
|
|
|
'external_api/moz_external_vr.h',
|
2015-04-01 20:02:20 +00:00
|
|
|
'gfxVR.h',
|
2018-08-07 18:20:34 +00:00
|
|
|
'gfxVRExternal.h',
|
|
|
|
'ipc/VRChild.h',
|
|
|
|
'ipc/VRGPUChild.h',
|
|
|
|
'ipc/VRGPUParent.h',
|
2016-02-24 23:54:50 +00:00
|
|
|
'ipc/VRLayerChild.h',
|
2015-09-17 21:23:13 +00:00
|
|
|
'ipc/VRManagerChild.h',
|
|
|
|
'ipc/VRManagerParent.h',
|
|
|
|
'ipc/VRMessageUtils.h',
|
2018-08-07 18:20:34 +00:00
|
|
|
'ipc/VRParent.h',
|
|
|
|
'ipc/VRProcessChild.h',
|
|
|
|
'ipc/VRProcessManager.h',
|
|
|
|
'ipc/VRProcessParent.h',
|
2018-12-28 22:09:44 +00:00
|
|
|
'service/VRService.h',
|
2016-02-24 23:54:50 +00:00
|
|
|
'VRDisplayClient.h',
|
2018-08-07 18:20:34 +00:00
|
|
|
'VRDisplayHost.h',
|
2016-02-24 23:54:50 +00:00
|
|
|
'VRDisplayPresentation.h',
|
2015-09-17 21:23:13 +00:00
|
|
|
'VRManager.h',
|
2017-10-05 10:12:45 +00:00
|
|
|
'VRThread.h',
|
2015-04-01 20:02:20 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
2016-10-04 08:30:04 +00:00
|
|
|
'/dom/base',
|
2016-07-22 19:41:00 +00:00
|
|
|
'/gfx/layers/d3d11',
|
2015-04-01 20:02:20 +00:00
|
|
|
'/gfx/thebes',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'gfxVR.cpp',
|
2018-08-07 18:20:34 +00:00
|
|
|
'ipc/VRChild.cpp',
|
|
|
|
'ipc/VRGPUChild.cpp',
|
|
|
|
'ipc/VRGPUParent.cpp',
|
2016-02-24 23:54:50 +00:00
|
|
|
'ipc/VRLayerChild.cpp',
|
|
|
|
'ipc/VRLayerParent.cpp',
|
2015-09-17 21:23:13 +00:00
|
|
|
'ipc/VRManagerChild.cpp',
|
|
|
|
'ipc/VRManagerParent.cpp',
|
2018-08-07 18:20:34 +00:00
|
|
|
'ipc/VRParent.cpp',
|
|
|
|
'ipc/VRProcessChild.cpp',
|
|
|
|
'ipc/VRProcessManager.cpp',
|
|
|
|
'ipc/VRProcessParent.cpp',
|
2016-02-24 23:54:50 +00:00
|
|
|
'VRDisplayClient.cpp',
|
|
|
|
'VRDisplayPresentation.cpp',
|
2015-09-17 21:23:13 +00:00
|
|
|
'VRManager.cpp',
|
2017-10-05 10:12:45 +00:00
|
|
|
'VRThread.cpp',
|
2015-04-01 20:02:20 +00:00
|
|
|
]
|
|
|
|
|
2017-07-04 20:50:40 +00: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 00:09:54 +00:00
|
|
|
'gfxVRExternal.cpp',
|
2017-08-24 16:30:31 +00:00
|
|
|
'gfxVRPuppet.cpp',
|
2017-07-04 20:50:40 +00:00
|
|
|
'VRDisplayHost.cpp',
|
2018-05-08 18:31:28 +00:00
|
|
|
'VRDisplayLocal.cpp',
|
2017-07-04 20:50:40 +00:00
|
|
|
]
|
|
|
|
|
2018-06-04 22:45:04 +00:00
|
|
|
if CONFIG['OS_TARGET'] == 'Android':
|
2017-11-01 00:25:40 +00:00
|
|
|
LOCAL_INCLUDES += ['/widget/android']
|
2018-10-09 02:41:00 +00:00
|
|
|
else:
|
|
|
|
DIRS += [
|
|
|
|
'service',
|
|
|
|
]
|
2017-11-01 00:25:40 +00:00
|
|
|
|
2015-09-17 21:23:13 +00:00
|
|
|
IPDL_SOURCES = [
|
2018-08-07 18:20:34 +00:00
|
|
|
'ipc/PVR.ipdl',
|
|
|
|
'ipc/PVRGPU.ipdl',
|
2016-02-24 23:54:50 +00:00
|
|
|
'ipc/PVRLayer.ipdl',
|
2015-09-17 21:23:13 +00:00
|
|
|
'ipc/PVRManager.ipdl',
|
|
|
|
]
|
|
|
|
|
2015-04-01 20:02:20 +00: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'
|