dom/system/gonk/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # Copyright 2013 Mozilla Foundation and Mozilla contributors
michael@0 4 #
michael@0 5 # Licensed under the Apache License, Version 2.0 (the "License");
michael@0 6 # you may not use this file except in compliance with the License.
michael@0 7 # You may obtain a copy of the License at
michael@0 8 #
michael@0 9 # http://www.apache.org/licenses/LICENSE-2.0
michael@0 10 #
michael@0 11 # Unless required by applicable law or agreed to in writing, software
michael@0 12 # distributed under the License is distributed on an "AS IS" BASIS,
michael@0 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
michael@0 14 # See the License for the specific language governing permissions and
michael@0 15 # limitations under the License.
michael@0 16
michael@0 17 XPIDL_SOURCES += [
michael@0 18 'nsIAudioManager.idl',
michael@0 19 'nsINetworkInterfaceListService.idl',
michael@0 20 'nsINetworkManager.idl',
michael@0 21 'nsINetworkService.idl',
michael@0 22 'nsINetworkWorker.idl',
michael@0 23 'nsISystemWorkerManager.idl',
michael@0 24 'nsIVolume.idl',
michael@0 25 'nsIVolumeMountLock.idl',
michael@0 26 'nsIVolumeService.idl',
michael@0 27 'nsIVolumeStat.idl',
michael@0 28 'nsIWorkerHolder.idl',
michael@0 29 ]
michael@0 30
michael@0 31 XPIDL_MODULE = 'dom_system_gonk'
michael@0 32
michael@0 33 EXPORTS += [
michael@0 34 'GonkGPSGeolocationProvider.h',
michael@0 35 'nsVolume.h',
michael@0 36 'nsVolumeService.h',
michael@0 37 ]
michael@0 38 SOURCES += [
michael@0 39 'AudioChannelManager.cpp',
michael@0 40 'AudioManager.cpp',
michael@0 41 'AutoMounter.cpp',
michael@0 42 'AutoMounterSetting.cpp',
michael@0 43 'GonkGPSGeolocationProvider.cpp',
michael@0 44 'NetworkUtils.cpp',
michael@0 45 'NetworkWorker.cpp',
michael@0 46 'nsVolume.cpp',
michael@0 47 'nsVolumeMountLock.cpp',
michael@0 48 'nsVolumeService.cpp',
michael@0 49 'nsVolumeStat.cpp',
michael@0 50 'OpenFileFinder.cpp',
michael@0 51 'SystemWorkerManager.cpp',
michael@0 52 'TimeZoneSettingObserver.cpp',
michael@0 53 'Volume.cpp',
michael@0 54 'VolumeCommand.cpp',
michael@0 55 'VolumeManager.cpp',
michael@0 56 'VolumeServiceIOThread.cpp',
michael@0 57 'VolumeServiceTest.cpp',
michael@0 58 ]
michael@0 59
michael@0 60 if CONFIG['ENABLE_TESTS']:
michael@0 61 XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
michael@0 62
michael@0 63 EXTRA_COMPONENTS += [
michael@0 64 'NetworkInterfaceListService.js',
michael@0 65 'NetworkInterfaceListService.manifest',
michael@0 66 'NetworkManager.manifest',
michael@0 67 'NetworkService.js',
michael@0 68 'NetworkService.manifest',
michael@0 69 ]
michael@0 70 EXTRA_PP_COMPONENTS += [
michael@0 71 'NetworkManager.js',
michael@0 72 ]
michael@0 73 EXTRA_JS_MODULES += [
michael@0 74 'systemlibs.js',
michael@0 75 ]
michael@0 76
michael@0 77 if CONFIG['MOZ_B2G_RIL']:
michael@0 78 XPIDL_SOURCES += [
michael@0 79 'nsIRadioInterfaceLayer.idl',
michael@0 80 ]
michael@0 81 EXTRA_COMPONENTS += [
michael@0 82 'RadioInterfaceLayer.js',
michael@0 83 'RadioInterfaceLayer.manifest',
michael@0 84 'RILContentHelper.js',
michael@0 85 ]
michael@0 86 EXTRA_JS_MODULES += [
michael@0 87 'ril_consts.js',
michael@0 88 'ril_worker.js',
michael@0 89 ]
michael@0 90
michael@0 91 if CONFIG['MOZ_NFC']:
michael@0 92 XPIDL_SOURCES += [
michael@0 93 'nsINfcContentHelper.idl',
michael@0 94 ]
michael@0 95 EXTRA_COMPONENTS += [
michael@0 96 'Nfc.js',
michael@0 97 'Nfc.manifest',
michael@0 98 'NfcContentHelper.js',
michael@0 99 ]
michael@0 100 EXTRA_JS_MODULES += [
michael@0 101 'nfc_consts.js',
michael@0 102 'nfc_worker.js',
michael@0 103 ]
michael@0 104
michael@0 105 FAIL_ON_WARNINGS = True
michael@0 106
michael@0 107 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 108
michael@0 109 LOCAL_INCLUDES += [
michael@0 110 '/dom/base',
michael@0 111 '/dom/bluetooth',
michael@0 112 '/dom/nfc',
michael@0 113 '/dom/src/geolocation',
michael@0 114 '/dom/wifi',
michael@0 115 ]
michael@0 116
michael@0 117 FINAL_LIBRARY = 'gklayout'

mercurial