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 # This picks up *hapticfeedback* which is graveyard
9 BUG_COMPONENT = ("Core", "DOM: Core & HTML")
11 with Files("*ocationProvider*"):
12 BUG_COMPONENT = ("Core", "DOM: Geolocation")
14 with Files("windows/*LocationProvider*"):
15 BUG_COMPONENT = ("Core", "DOM: Geolocation")
17 with Files("IOUtils*"):
18 BUG_COMPONENT = ("Toolkit", "IOUtils and PathUtils")
20 with Files("PathUtils*"):
21 BUG_COMPONENT = ("Toolkit", "IOUtils and PathUtils")
23 with Files("mac/*LocationProvider*"):
24 BUG_COMPONENT = ("Core", "DOM: Geolocation")
26 with Files("mac/*OSPermissionRequest*"):
27 BUG_COMPONENT = ("Firefox", "Site Permissions")
29 with Files("linux/*LocationProvider*"):
30 BUG_COMPONENT = ("Core", "DOM: Geolocation")
32 with Files("android/*LocationProvider*"):
33 BUG_COMPONENT = ("Core", "DOM: Geolocation")
35 with Files("tests/chrome.ini"):
36 BUG_COMPONENT = ("Toolkit", "IOUtils and PathUtils")
38 with Files("tests/*constants*"):
39 BUG_COMPONENT = ("Toolkit", "IOUtils and PathUtils")
41 with Files("tests/ioutils/**"):
42 BUG_COMPONENT = ("Toolkit", "IOUtils and PathUtils")
44 with Files("tests/mochitest.ini"):
45 BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
47 with Files("test/*pathutils*"):
48 BUG_COMPONENT = ("Toolkit", "IOUtils and PathUtils")
50 with Files("tests/*1197901*"):
51 BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
54 toolkit = CONFIG["MOZ_WIDGET_TOOLKIT"]
56 if toolkit == "windows":
58 elif toolkit == "cocoa":
60 elif toolkit == "android":
62 elif toolkit == "gtk":
65 if toolkit != "cocoa":
67 "nsOSPermissionRequest.h",
71 "nsIOSPermissionRequest.idl",
74 XPIDL_MODULE = "dom_system"
78 "nsOSPermissionRequestBase.h",
81 EXPORTS.mozilla.dom += [
88 "nsDeviceSensors.cpp",
89 "nsOSPermissionRequestBase.cpp",
94 "NetworkGeolocationProvider.sys.mjs",
101 include("/ipc/chromium/chromium-config.mozbuild")
103 FINAL_LIBRARY = "xul"
104 # We fire the nsDOMDeviceAcceleration
108 "/js/xpconnect/loader",
112 MOCHITEST_CHROME_MANIFESTS += ["tests/chrome.ini", "tests/ioutils/chrome.ini"]
113 MOCHITEST_MANIFESTS += ["tests/mochitest.ini"]