Bug 1567650 [wpt PR 17950] - [ElementTiming] Replace responseEnd with loadTime, a...
[gecko.git] / gfx / vr / service / moz.build
blobf7576a8e898bf2040e9192d8893cb0fb8a0534a8
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/.
7 # Build Oculus support on Windows only
8 if CONFIG['OS_TARGET'] == 'WINNT':
9     SOURCES += [
10         'OculusSession.cpp',
11     ]
13 # Build OSVR on all platforms except Android
14 if CONFIG['OS_TARGET'] != 'Android':
15     UNIFIED_SOURCES += [
16         'OSVRSession.cpp',
17         'VRService.cpp',
18         'VRSession.cpp',
19     ]
20     # PuppetSession includes MacIOSurface.h which includes Mac headers
21     # which define Size and Points types in the root namespace that
22     # often conflict with our own types.
23     SOURCES += [
24         'PuppetSession.cpp',
25     ]
26     include('/ipc/chromium/chromium-config.mozbuild')
28 # Build OpenVR on Windows, Linux, and macOS desktop targets
29 if CONFIG['OS_TARGET'] in ('WINNT', 'Linux', 'Darwin'):
30     DIRS += [
31         'openvr',
32     ]
33     LOCAL_INCLUDES += [
34         '/dom/base',
35         '/gfx/layers/d3d11'
36     ]
38     # OpenVRSession includes MacIOSurface.h which includes Mac headers
39     # which define Size and Points types in the root namespace that
40     # often conflict with our own types.
41     SOURCES += [
42         'OpenVRSession.cpp',
43     ]
45 FINAL_LIBRARY = 'xul'