1 # -*- Mode: python; c-basic-offset: 4; 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 toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
11 elif toolkit == 'windows':
13 elif toolkit == 'cocoa':
15 elif toolkit == 'android':
17 elif toolkit == 'gonk':
21 'nsIOSFileConstantsService.idl',
22 'nsISystemUpdateProvider.idl',
25 XPIDL_MODULE = 'dom_system'
36 'nsDeviceSensors.cpp',
37 'OSFileConstants.cpp',
41 'NetworkGeolocationProvider.js',
42 'NetworkGeolocationProvider.manifest',
43 'SystemUpdate.manifest',
44 'SystemUpdateManager.js',
48 'SystemUpdateService.jsm',
51 FAIL_ON_WARNINGS = True
53 include('/ipc/chromium/chromium-config.mozbuild')
56 # We fire the nsDOMDeviceAcceleration
60 '/js/xpconnect/loader',
63 DEFINES['DLL_PREFIX'] = '"%s"' % CONFIG['DLL_PREFIX']
64 DEFINES['DLL_SUFFIX'] = '"%s"' % CONFIG['DLL_SUFFIX']
66 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
67 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']