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',
|
|
|
|
'nsIRadioInterfaceLayer.idl',
|
|
|
|
'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-03-19 18:47:00 +00:00
|
|
|
MODULE = 'dom'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
EXPORTS += [
|
|
|
|
'GonkGPSGeolocationProvider.h',
|
|
|
|
'nsVolume.h',
|
2013-05-17 19:55:14 +00:00
|
|
|
'nsVolumeService.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
]
|
2013-04-23 21:54:15 +00:00
|
|
|
CPP_SOURCES += [
|
2013-10-23 23:00:23 +00:00
|
|
|
'AudioChannelManager.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'AudioManager.cpp',
|
|
|
|
'AutoMounter.cpp',
|
|
|
|
'AutoMounterSetting.cpp',
|
|
|
|
'GonkGPSGeolocationProvider.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'nsVolume.cpp',
|
|
|
|
'nsVolumeMountLock.cpp',
|
|
|
|
'nsVolumeService.cpp',
|
|
|
|
'nsVolumeStat.cpp',
|
2013-07-16 20:14:09 +00:00
|
|
|
'OpenFileFinder.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'TimeZoneSettingObserver.cpp',
|
|
|
|
'Volume.cpp',
|
|
|
|
'VolumeCommand.cpp',
|
|
|
|
'VolumeManager.cpp',
|
|
|
|
'VolumeServiceIOThread.cpp',
|
|
|
|
'VolumeServiceTest.cpp',
|
|
|
|
]
|
2013-04-29 18:49:00 +00:00
|
|
|
|
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
|
2013-04-23 21:54:15 +00:00
|
|
|
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'SystemWorkerManager.cpp',
|
|
|
|
]
|
2013-06-10 16:08:47 +00:00
|
|
|
|
2013-06-11 20:38:22 +00:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'NetworkInterfaceListService.js',
|
|
|
|
'NetworkInterfaceListService.manifest',
|
|
|
|
'NetworkManager.js',
|
|
|
|
'NetworkManager.manifest',
|
|
|
|
'RadioInterfaceLayer.js',
|
|
|
|
'RadioInterfaceLayer.manifest',
|
2013-10-23 23:05:43 +00:00
|
|
|
'RILContentHelper.js',
|
2013-06-11 20:38:22 +00:00
|
|
|
]
|
|
|
|
|
2013-06-10 16:08:47 +00:00
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'net_worker.js',
|
|
|
|
'ril_consts.js',
|
|
|
|
'ril_worker.js',
|
|
|
|
'systemlibs.js',
|
|
|
|
]
|
|
|
|
|
2013-08-22 06:55:59 +00:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-22 06:56:00 +00:00
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-08-15 13:02:09 +00:00
|
|
|
LIBRARY_NAME = 'domsystemgonk_s'
|
|
|
|
|