2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
|
|
|
|
|
2016-07-13 03:28:31 +03:00
|
|
|
if toolkit == 'windows':
|
2013-02-26 00:47:20 +04:00
|
|
|
DIRS += ['windows']
|
2013-07-01 17:43:17 +04:00
|
|
|
elif toolkit == 'cocoa':
|
|
|
|
DIRS += ['mac']
|
2013-02-26 00:47:20 +04:00
|
|
|
elif toolkit == 'android':
|
|
|
|
DIRS += ['android']
|
2013-10-29 12:12:45 +04:00
|
|
|
elif toolkit == 'gonk':
|
2013-02-26 00:47:20 +04:00
|
|
|
DIRS += ['gonk']
|
2016-07-22 12:52:09 +03:00
|
|
|
elif toolkit in ('gtk2', 'gtk3'):
|
|
|
|
DIRS += ['linux']
|
2013-02-26 00:47:20 +04:00
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIOSFileConstantsService.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'dom_system'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'nsDeviceSensors.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'OSFileConstants.h',
|
|
|
|
]
|
|
|
|
|
2013-11-26 20:38:52 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'nsDeviceSensors.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'OSFileConstants.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2014-02-26 04:06:01 +04:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'NetworkGeolocationProvider.js',
|
|
|
|
'NetworkGeolocationProvider.manifest',
|
|
|
|
]
|
2013-06-12 00:38:22 +04:00
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 12:04:11 +04:00
|
|
|
# We fire the nsDOMDeviceAcceleration
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/bindings',
|
|
|
|
'/js/xpconnect/loader',
|
|
|
|
]
|
|
|
|
|
|
|
|
DEFINES['DLL_PREFIX'] = '"%s"' % CONFIG['DLL_PREFIX']
|
|
|
|
DEFINES['DLL_SUFFIX'] = '"%s"' % CONFIG['DLL_SUFFIX']
|
2014-07-26 10:17:24 +04:00
|
|
|
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
|
2015-07-13 05:06:00 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|