2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# Copyright 2013 Mozilla Foundation and Mozilla contributors
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2013-03-12 17:17:46 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIAudioManager.idl',
|
2013-05-02 11:41:20 +00:00
|
|
|
'nsINetworkInterfaceListService.idl',
|
2013-03-12 17:17:46 +00:00
|
|
|
'nsINetworkManager.idl',
|
2013-11-15 09:35:33 +00:00
|
|
|
'nsINetworkService.idl',
|
2014-01-29 11:38:50 +00:00
|
|
|
'nsINetworkWorker.idl',
|
2013-03-12 17:17:46 +00:00
|
|
|
'nsISystemWorkerManager.idl',
|
|
|
|
'nsIVolume.idl',
|
|
|
|
'nsIVolumeMountLock.idl',
|
|
|
|
'nsIVolumeService.idl',
|
|
|
|
'nsIVolumeStat.idl',
|
|
|
|
'nsIWorkerHolder.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'dom_system_gonk'
|
|
|
|
|
2013-10-29 08:12:45 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'GonkGPSGeolocationProvider.h',
|
|
|
|
'nsVolume.h',
|
|
|
|
'nsVolumeService.h',
|
|
|
|
]
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-10-29 08:12:45 +00:00
|
|
|
'AudioChannelManager.cpp',
|
|
|
|
'AudioManager.cpp',
|
|
|
|
'AutoMounter.cpp',
|
|
|
|
'AutoMounterSetting.cpp',
|
|
|
|
'GonkGPSGeolocationProvider.cpp',
|
2014-01-29 11:38:50 +00:00
|
|
|
'NetworkUtils.cpp',
|
|
|
|
'NetworkWorker.cpp',
|
2013-10-29 08:12:45 +00:00
|
|
|
'nsVolume.cpp',
|
|
|
|
'nsVolumeMountLock.cpp',
|
|
|
|
'nsVolumeService.cpp',
|
|
|
|
'nsVolumeStat.cpp',
|
|
|
|
'OpenFileFinder.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'SystemWorkerManager.cpp',
|
2013-10-29 08:12:45 +00:00
|
|
|
'TimeZoneSettingObserver.cpp',
|
|
|
|
'Volume.cpp',
|
|
|
|
'VolumeCommand.cpp',
|
|
|
|
'VolumeManager.cpp',
|
|
|
|
'VolumeServiceIOThread.cpp',
|
|
|
|
'VolumeServiceTest.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-06-10 16:08:47 +00:00
|
|
|
|
2013-10-29 08:12:45 +00:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
|
|
|
|
|
2013-06-11 20:38:22 +00:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'NetworkInterfaceListService.js',
|
|
|
|
'NetworkInterfaceListService.manifest',
|
|
|
|
'NetworkManager.manifest',
|
2013-11-15 09:35:33 +00:00
|
|
|
'NetworkService.manifest',
|
2013-06-11 20:38:22 +00:00
|
|
|
]
|
2013-10-29 08:12:45 +00:00
|
|
|
EXTRA_PP_COMPONENTS += [
|
|
|
|
'NetworkManager.js',
|
2013-11-15 09:35:33 +00:00
|
|
|
'NetworkService.js',
|
2013-10-29 08:12:45 +00:00
|
|
|
]
|
2013-06-10 16:08:47 +00:00
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'systemlibs.js',
|
|
|
|
]
|
|
|
|
|
2013-10-29 08:12:45 +00:00
|
|
|
if CONFIG['MOZ_B2G_RIL']:
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIRadioInterfaceLayer.idl',
|
|
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'RadioInterfaceLayer.js',
|
|
|
|
'RadioInterfaceLayer.manifest',
|
|
|
|
'RILContentHelper.js',
|
|
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'ril_consts.js',
|
|
|
|
'ril_worker.js',
|
|
|
|
]
|
|
|
|
|
2013-11-12 18:11:39 +00:00
|
|
|
if CONFIG['MOZ_NFC']:
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsINfcContentHelper.idl',
|
|
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'Nfc.js',
|
|
|
|
'Nfc.manifest',
|
|
|
|
'NfcContentHelper.js',
|
|
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'nfc_consts.js',
|
|
|
|
'nfc_worker.js',
|
|
|
|
]
|
|
|
|
|
2013-08-22 06:55:59 +00:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-11 08:04:11 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/bluetooth',
|
2014-01-10 03:03:25 +00:00
|
|
|
'/dom/events',
|
2013-11-12 18:11:39 +00:00
|
|
|
'/dom/nfc',
|
2013-11-11 08:04:11 +00:00
|
|
|
'/dom/src/geolocation',
|
|
|
|
'/dom/wifi',
|
|
|
|
]
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'gklayout'
|