Bug 843452 - Part 6: Build MobileConnection DOM/IPC by default. r=smaug,khuey

This commit is contained in:
Edgar Chen 2014-08-05 18:01:14 +08:00
Родитель f23a579406
Коммит c45e95745f
5 изменённых файлов: 10 добавлений и 9 удалений

Просмотреть файл

@ -13,7 +13,7 @@ XPIDL_SOURCES += [
'nsINeighboringCellInfo.idl',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
XPIDL_SOURCES += [
'nsIMobileConnectionGonkService.idl',
]

Просмотреть файл

@ -44,7 +44,7 @@ IPDL_SOURCES += [
'ipc/PMobileConnectionTypes.ipdlh',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
EXTRA_COMPONENTS += [
'gonk/MobileConnectionGonkService.js',
'gonk/MobileConnectionGonkService.manifest',

Просмотреть файл

@ -65,6 +65,7 @@ DIRS += [
'mathml',
'media',
'messages',
'mobileconnection',
'notification',
'offline',
'power',
@ -111,7 +112,6 @@ if CONFIG['MOZ_B2G_RIL']:
DIRS += [
'icc',
'cellbroadcast',
'mobileconnection',
'voicemail',
'wappush',
]

Просмотреть файл

@ -4,6 +4,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/.
*/
[Pref="dom.mobileconnection.enabled"]
interface MozMobileConnectionArray {
getter MozMobileConnection? item(unsigned long index);
readonly attribute unsigned long length;

Просмотреть файл

@ -99,6 +99,7 @@ WEBIDL_FILES = [
'DOMException.webidl',
'DOMImplementation.webidl',
'DOMMatrix.webidl',
'DOMMMIError.webidl',
'DOMMobileMessageError.webidl',
'DOMParser.webidl',
'DOMPoint.webidl',
@ -261,7 +262,12 @@ WEBIDL_FILES = [
'MouseScrollEvent.webidl',
'MozActivity.webidl',
'MozMmsMessage.webidl',
'MozMobileCellInfo.webidl',
'MozMobileConnection.webidl',
'MozMobileConnectionArray.webidl',
'MozMobileConnectionInfo.webidl',
'MozMobileMessageManager.webidl',
'MozMobileNetworkInfo.webidl',
'MozPowerManager.webidl',
'MozSelfSupport.webidl',
'MozTetheringManager.webidl',
@ -590,16 +596,10 @@ if CONFIG['MOZ_B2G_BT']:
if CONFIG['MOZ_B2G_RIL']:
WEBIDL_FILES += [
'DOMMMIError.webidl',
'IccCardLockError.webidl',
'MozCellBroadcast.webidl',
'MozIcc.webidl',
'MozIccManager.webidl',
'MozMobileCellInfo.webidl',
'MozMobileConnection.webidl',
'MozMobileConnectionArray.webidl',
'MozMobileConnectionInfo.webidl',
'MozMobileNetworkInfo.webidl',
'MozVoicemail.webidl',
'MozVoicemailStatus.webidl'
]