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("*OSFile*"):
12 BUG_COMPONENT = ("Toolkit", "OS.File")
14 with Files("*ocationProvider*"):
15 BUG_COMPONENT = ("Core", "DOM: Geolocation")
17 with Files("windows/*LocationProvider*"):
18 BUG_COMPONENT = ("Core", "DOM: Geolocation")
20 with Files("mac/*LocationProvider*"):
21 BUG_COMPONENT = ("Core", "DOM: Geolocation")
23 with Files("mac/*OSPermissionRequest*"):
24 BUG_COMPONENT = ("Firefox", "Site Permissions")
26 with Files("linux/*LocationProvider*"):
27 BUG_COMPONENT = ("Core", "DOM: Geolocation")
29 with Files("android/*LocationProvider*"):
30 BUG_COMPONENT = ("Core", "DOM: Geolocation")
32 with Files("tests/chrome.ini"):
33 BUG_COMPONENT = ("Toolkit", "OS.File")
35 with Files("tests/*constants*"):
36 BUG_COMPONENT = ("Toolkit", "OS.File")
38 with Files("tests/mochitest.ini"):
39 BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
41 with Files("tests/*1197901*"):
42 BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
44 toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
46 if toolkit == 'windows':
48 elif toolkit == 'cocoa':
50 elif toolkit == 'android':
52 elif toolkit == 'gtk':
55 if toolkit != 'cocoa':
57 'nsOSPermissionRequest.h',
61 'nsIOSFileConstantsService.idl',
62 'nsIOSPermissionRequest.idl',
65 XPIDL_MODULE = 'dom_system'
69 'nsOSPermissionRequestBase.h',
77 'nsDeviceSensors.cpp',
78 'nsOSPermissionRequestBase.cpp',
79 'OSFileConstants.cpp',
83 'NetworkGeolocationProvider.jsm',
90 include('/ipc/chromium/chromium-config.mozbuild')
93 # We fire the nsDOMDeviceAcceleration
97 '/js/xpconnect/loader',
101 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
102 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']