Bug 1614879 [wpt PR 21750] - Set request mode for beacon request with non-cors-safeli...
[gecko.git] / dom / system / moz.build
blob095a5f098bd2ea14089d90f59f70caefa8a3bca8
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
8 with Files("**"):
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':
47     DIRS += ['windows']
48 elif toolkit == 'cocoa':
49     DIRS += ['mac']
50 elif toolkit == 'android':
51     DIRS += ['android']
52 elif toolkit == 'gtk':
53     DIRS += ['linux']
55 if toolkit != 'cocoa':
56     EXPORTS += [
57         'nsOSPermissionRequest.h',
58     ]
60 XPIDL_SOURCES += [
61     'nsIOSFileConstantsService.idl',
62     'nsIOSPermissionRequest.idl',
65 XPIDL_MODULE = 'dom_system'
67 EXPORTS += [
68     'nsDeviceSensors.h',
69     'nsOSPermissionRequestBase.h',
72 EXPORTS.mozilla += [
73     'OSFileConstants.h',
76 UNIFIED_SOURCES += [
77     'nsDeviceSensors.cpp',
78     'nsOSPermissionRequestBase.cpp',
79     'OSFileConstants.cpp',
82 EXTRA_JS_MODULES += [
83     'NetworkGeolocationProvider.jsm',
86 XPCOM_MANIFESTS += [
87     'components.conf',
90 include('/ipc/chromium/chromium-config.mozbuild')
92 FINAL_LIBRARY = 'xul'
93 # We fire the nsDOMDeviceAcceleration
94 LOCAL_INCLUDES += [
95     '/dom/base',
96     '/dom/bindings',
97     '/js/xpconnect/loader',
98     '/xpcom/base',
101 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
102 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']