gecko-dev/dom/system/gonk/moz.build

131 строка
3.6 KiB
Plaintext
Исходник Обычный вид История

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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.
XPIDL_SOURCES += [
'nsIAudioManager.idl',
'nsINetworkInterface.idl',
'nsINetworkInterfaceListService.idl',
'nsINetworkManager.idl',
'nsINetworkService.idl',
'nsINetworkWorker.idl',
'nsISystemWorkerManager.idl',
'nsITetheringService.idl',
'nsIVolume.idl',
'nsIVolumeMountLock.idl',
'nsIVolumeService.idl',
'nsIVolumeStat.idl',
'nsIWorkerHolder.idl',
]
XPIDL_MODULE = 'dom_system_gonk'
EXPORTS += [
'GonkGPSGeolocationProvider.h',
'mozstumbler/MozStumbler.h',
'nsVolume.h',
'nsVolumeService.h',
]
UNIFIED_SOURCES += [
'AudioChannelManager.cpp',
'AudioManager.cpp',
'AutoMounter.cpp',
'AutoMounterSetting.cpp',
'GonkGPSGeolocationProvider.cpp',
'MozMtpDatabase.cpp',
'MozMtpServer.cpp',
'MozMtpStorage.cpp',
'mozstumbler/MozStumbler.cpp',
'mozstumbler/StumblerLogging.cpp',
'mozstumbler/UploadStumbleRunnable.cpp',
'mozstumbler/WriteStumbleOnThread.cpp',
'NetIdManager.cpp',
'NetworkUtils.cpp',
'NetworkWorker.cpp',
'nsVolume.cpp',
'nsVolumeMountLock.cpp',
'nsVolumeService.cpp',
'nsVolumeStat.cpp',
'OpenFileFinder.cpp',
'SystemWorkerManager.cpp',
'TimeZoneSettingObserver.cpp',
'Volume.cpp',
'VolumeCommand.cpp',
'VolumeManager.cpp',
'VolumeServiceIOThread.cpp',
'VolumeServiceTest.cpp',
]
if CONFIG['ANDROID_VERSION'] >= '17':
CXXFLAGS += ['-I%s/frameworks/av/media/mtp' % CONFIG['ANDROID_SOURCE']]
else:
CXXFLAGS += ['-I%s/frameworks/base/media/mtp' % CONFIG['ANDROID_SOURCE']]
if CONFIG['ENABLE_TESTS']:
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
EXTRA_COMPONENTS += [
'NetworkInterfaceListService.js',
'NetworkInterfaceListService.manifest',
'NetworkManager.js',
'NetworkManager.manifest',
'NetworkService.js',
'NetworkService.manifest',
'TetheringService.js',
'TetheringService.manifest',
]
EXTRA_JS_MODULES += [
'systemlibs.js',
]
if CONFIG['MOZ_B2G_RIL']:
XPIDL_SOURCES += [
'nsIDataCallInterfaceService.idl',
'nsIDataCallManager.idl',
'nsIGonkDataCallInterfaceService.idl',
'nsIRadioInterfaceLayer.idl',
]
EXTRA_COMPONENTS += [
'DataCallManager.js',
'DataCallManager.manifest',
'RILSystemMessengerHelper.js',
'RILSystemMessengerHelper.manifest',
]
EXTRA_JS_MODULES += [
'ril_consts.js',
'ril_worker.js',
'ril_worker_buf_object.js',
'ril_worker_telephony_request_queue.js',
'RILSystemMessenger.jsm',
]
if not CONFIG['DISABLE_MOZ_RIL_GEOLOC']:
EXTRA_COMPONENTS += [
'DataCallInterfaceService.js',
'DataCallInterfaceService.manifest',
'RadioInterfaceLayer.js',
'RadioInterfaceLayer.manifest',
]
include('/ipc/chromium/chromium-config.mozbuild')
LOCAL_INCLUDES += [
'/dom/base',
Bug 1193379 - Rename bluetooth2 folder to common. r=joliu --HG-- rename : dom/bluetooth/bluetooth2/BluetoothAdapter.cpp => dom/bluetooth/common/BluetoothAdapter.cpp rename : dom/bluetooth/bluetooth2/BluetoothAdapter.h => dom/bluetooth/common/BluetoothAdapter.h rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.cpp => dom/bluetooth/common/BluetoothClassOfDevice.cpp rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.h => dom/bluetooth/common/BluetoothClassOfDevice.h rename : dom/bluetooth/bluetooth2/BluetoothDevice.cpp => dom/bluetooth/common/BluetoothDevice.cpp rename : dom/bluetooth/bluetooth2/BluetoothDevice.h => dom/bluetooth/common/BluetoothDevice.h rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/BluetoothDiscoveryHandle.cpp rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.h => dom/bluetooth/common/BluetoothDiscoveryHandle.h rename : dom/bluetooth/bluetooth2/BluetoothGatt.cpp => dom/bluetooth/common/BluetoothGatt.cpp rename : dom/bluetooth/bluetooth2/BluetoothGatt.h => dom/bluetooth/common/BluetoothGatt.h rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/BluetoothGattCharacteristic.cpp rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.h => dom/bluetooth/common/BluetoothGattCharacteristic.h rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.cpp => dom/bluetooth/common/BluetoothGattDescriptor.cpp rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.h => dom/bluetooth/common/BluetoothGattDescriptor.h rename : dom/bluetooth/bluetooth2/BluetoothGattServer.cpp => dom/bluetooth/common/BluetoothGattServer.cpp rename : dom/bluetooth/bluetooth2/BluetoothGattServer.h => dom/bluetooth/common/BluetoothGattServer.h rename : dom/bluetooth/bluetooth2/BluetoothGattService.cpp => dom/bluetooth/common/BluetoothGattService.cpp rename : dom/bluetooth/bluetooth2/BluetoothGattService.h => dom/bluetooth/common/BluetoothGattService.h rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/BluetoothLeDeviceEvent.cpp rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.h => dom/bluetooth/common/BluetoothLeDeviceEvent.h rename : dom/bluetooth/bluetooth2/BluetoothManager.cpp => dom/bluetooth/common/BluetoothManager.cpp rename : dom/bluetooth/bluetooth2/BluetoothManager.h => dom/bluetooth/common/BluetoothManager.h rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.cpp => dom/bluetooth/common/BluetoothPairingHandle.cpp rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.h => dom/bluetooth/common/BluetoothPairingHandle.h rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.cpp => dom/bluetooth/common/BluetoothPairingListener.cpp rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.h => dom/bluetooth/common/BluetoothPairingListener.h rename : dom/bluetooth/bluetooth2/BluetoothProfileController.cpp => dom/bluetooth/common/BluetoothProfileController.cpp rename : dom/bluetooth/bluetooth2/BluetoothProfileController.h => dom/bluetooth/common/BluetoothProfileController.h rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.cpp => dom/bluetooth/common/BluetoothReplyRunnable.cpp rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.h => dom/bluetooth/common/BluetoothReplyRunnable.h rename : dom/bluetooth/bluetooth2/BluetoothService.cpp => dom/bluetooth/common/BluetoothService.cpp rename : dom/bluetooth/bluetooth2/BluetoothService.h => dom/bluetooth/common/BluetoothService.h
2015-08-21 10:19:12 +03:00
'/dom/bluetooth/common',
'/dom/geolocation',
'/dom/wifi',
]
FINAL_LIBRARY = 'xul'