moz.build (1708B)
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 "XRInputSpace.cpp", 43 "XRNativeOriginFixed.cpp", 44 "XRNativeOriginLocal.cpp", 45 "XRNativeOriginLocalFloor.cpp", 46 "XRNativeOriginTracker.cpp", 47 "XRNativeOriginViewer.cpp", 48 "XRPermissionRequest.cpp", 49 "XRPose.cpp", 50 "XRReferenceSpace.cpp", 51 "XRRenderState.cpp", 52 "XRRigidTransform.cpp", 53 "XRSession.cpp", 54 "XRSpace.cpp", 55 "XRSystem.cpp", 56 "XRView.cpp", 57 "XRViewerPose.cpp", 58 "XRViewport.cpp", 59 ] 60 61 include("/ipc/chromium/chromium-config.mozbuild") 62 63 FINAL_LIBRARY = "xul" 64 LOCAL_INCLUDES += ["/dom/base"] 65 66 MOCHITEST_MANIFESTS += ["test/mochitest/mochitest.toml"] 67 REFTEST_MANIFESTS += ["test/reftest/reftest.list"]