dom/system/gonk/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial