Source code

Revision control

Other Tools

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/.
6
7
with Files("**"):
8
BUG_COMPONENT = ("Core", "WebVR")
9
10
EXPORTS.mozilla.dom += [
11
'VRDisplay.h',
12
'VRDisplayEvent.h',
13
'VREventObserver.h',
14
'VRServiceTest.h',
15
'XRBoundedReferenceSpace.h',
16
'XRFrame.h',
17
'XRInputSource.h',
18
'XRInputSourceArray.h',
19
'XRNativeOrigin.h',
20
'XRPermissionRequest.h',
21
'XRPose.h',
22
'XRReferenceSpace.h',
23
'XRRenderState.h',
24
'XRRigidTransform.h',
25
'XRSession.h',
26
'XRSpace.h',
27
'XRSystem.h',
28
'XRView.h',
29
'XRViewerPose.h',
30
'XRViewport.h',
31
]
32
33
UNIFIED_SOURCES = [
34
'VRDisplay.cpp',
35
'VRDisplayEvent.cpp',
36
'VREventObserver.cpp',
37
'VRServiceTest.cpp',
38
'XRBoundedReferenceSpace.cpp',
39
'XRFrame.cpp',
40
'XRInputSource.cpp',
41
'XRInputSourceArray.cpp',
42
'XRNativeOriginFixed.cpp',
43
'XRNativeOriginLocal.cpp',
44
'XRNativeOriginLocalFloor.cpp',
45
'XRNativeOriginViewer.cpp',
46
'XRPermissionRequest.cpp',
47
'XRPose.cpp',
48
'XRReferenceSpace.cpp',
49
'XRRenderState.cpp',
50
'XRRigidTransform.cpp',
51
'XRSession.cpp',
52
'XRSpace.cpp',
53
'XRSystem.cpp',
54
'XRView.cpp',
55
'XRViewerPose.cpp',
56
'XRViewport.cpp',
57
]
58
59
include('/ipc/chromium/chromium-config.mozbuild')
60
61
FINAL_LIBRARY = 'xul'
62
LOCAL_INCLUDES += [
63
'/dom/base'
64
]
65
66
MOCHITEST_MANIFESTS += ['test/mochitest/mochitest.ini']
67
REFTEST_MANIFESTS += ['test/reftest/reftest.list']