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
parent 2a91d149ec
commit d72384979e
5 changed files with 10 additions and 9 deletions

View File

@ -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',
]

View File

@ -40,7 +40,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',

View File

@ -60,6 +60,7 @@ DIRS += [
'mathml',
'media',
'messages',
'mobileconnection',
'power',
'push',
'quota',
@ -104,7 +105,6 @@ if CONFIG['MOZ_B2G_RIL']:
DIRS += [
'icc',
'cellbroadcast',
'mobileconnection',
'voicemail',
'wappush',
]

View File

@ -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;

View File

@ -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'
]