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/.
8 'external_api/moz_external_vr.h',
14 'ipc/VRManagerChild.h',
15 'ipc/VRManagerParent.h',
16 'ipc/VRMessageUtils.h',
18 'ipc/VRProcessChild.h',
19 'ipc/VRProcessManager.h',
20 'ipc/VRProcessParent.h',
21 'service/VRService.h',
23 'VRDisplayPresentation.h',
25 'VRPuppetCommandBuffer.h',
39 'ipc/VRGPUParent.cpp',
40 'ipc/VRLayerChild.cpp',
41 'ipc/VRLayerParent.cpp',
42 'ipc/VRManagerChild.cpp',
43 'ipc/VRManagerParent.cpp',
45 'ipc/VRProcessChild.cpp',
46 'ipc/VRProcessManager.cpp',
47 'ipc/VRProcessParent.cpp',
48 'VRDisplayClient.cpp',
49 'VRDisplayPresentation.cpp',
55 'VRPuppetCommandBuffer.cpp',
59 if CONFIG['OS_TARGET'] == 'Android':
60 LOCAL_INCLUDES += ['/widget/android']
69 # Only target x64 for vrhost since WebVR is only supported on 64bit.
70 # Also, only use MSVC compiler for Windows-specific linking
71 if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['HAVE_64BIT_BUILD'] and CONFIG['CC_TYPE'] not in ('clang', 'gcc'):
80 'ipc/PVRManager.ipdl',
83 # For now, only enable FxR CLH for Windows Nightly builds (BUG 1565349)
84 if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['NIGHTLY_BUILD']:
85 XPCOM_MANIFESTS += [
\r
89 'nsFxrCommandLineHandler.cpp',
92 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
93 CXXFLAGS += CONFIG['TK_CFLAGS']
94 CFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
95 CFLAGS += CONFIG['TK_CFLAGS']
97 include('/ipc/chromium/chromium-config.mozbuild')
102 BUG_COMPONENT = ('Core', 'WebVR')