Bug 871944 - move dom/mms/* to dom/mobilemessage/*. r=gene

--HG--
rename : dom/mms/interfaces/nsIMmsService.idl => dom/mobilemessage/interfaces/nsIMmsService.idl
rename : dom/mms/interfaces/nsIWapPushApplication.idl => dom/mobilemessage/interfaces/nsIWapPushApplication.idl
rename : dom/mms/src/ril/MmsPduHelper.jsm => dom/mobilemessage/src/ril/MmsPduHelper.jsm
rename : dom/mms/src/ril/MmsService.js => dom/mobilemessage/src/ril/MmsService.js
rename : dom/mms/src/ril/MmsService.manifest => dom/mobilemessage/src/ril/MmsService.manifest
rename : dom/mms/src/ril/WapPushManager.js => dom/mobilemessage/src/ril/WapPushManager.js
rename : dom/mms/src/ril/WspPduHelper.jsm => dom/mobilemessage/src/ril/WspPduHelper.jsm
rename : dom/mms/src/ril/mms_consts.js => dom/mobilemessage/src/ril/mms_consts.js
rename : dom/mms/src/ril/wap_consts.js => dom/mobilemessage/src/ril/wap_consts.js
rename : dom/mms/tests/header_helpers.js => dom/mobilemessage/tests/header_helpers.js
rename : dom/mms/tests/test_mms_pdu_helper.js => dom/mobilemessage/tests/test_mms_pdu_helper.js
rename : dom/mms/tests/test_mms_service.js => dom/mobilemessage/tests/test_mms_service.js
rename : dom/mms/tests/test_wsp_pdu_helper.js => dom/mobilemessage/tests/test_wsp_pdu_helper.js
This commit is contained in:
Vicamo Yang 2013-05-27 11:18:50 +08:00
Родитель 04ddf0745e
Коммит 6e041b2bae
28 изменённых файлов: 19 добавлений и 79 удалений

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

@ -197,9 +197,6 @@
@BINPATH@/components/dom_payment.xpt
@BINPATH@/components/dom_push.xpt
@BINPATH@/components/dom_json.xpt
#ifdef MOZ_B2G_RIL
@BINPATH@/components/dom_mms.xpt
#endif
@BINPATH@/components/dom_browserelement.xpt
@BINPATH@/components/dom_messages.xpt
@BINPATH@/components/dom_power.xpt

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

@ -197,9 +197,6 @@
@BINPATH@/components/dom_indexeddb.xpt
@BINPATH@/components/dom_offline.xpt
@BINPATH@/components/dom_json.xpt
#ifdef MOZ_B2G_RIL
@BINPATH@/components/dom_mms.xpt
#endif
@BINPATH@/components/dom_browserelement.xpt
@BINPATH@/components/dom_power.xpt
@BINPATH@/components/dom_quota.xpt

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

@ -1,13 +0,0 @@
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
XPIDL_SOURCES += [
'nsIMmsService.idl',
'nsIWapPushApplication.idl',
]
XPIDL_MODULE = 'dom_mms'

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

@ -1,10 +0,0 @@
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
PARALLEL_DIRS += ['interfaces', 'src']
if CONFIG['MOZ_B2G_RIL'] and CONFIG['ENABLE_TESTS']:
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']

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

@ -1,30 +0,0 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = \
$(srcdir) \
$(NULL)
include $(DEPTH)/config/autoconf.mk
ifdef MOZ_B2G_RIL
EXTRA_COMPONENTS = \
ril/MmsService.js \
ril/MmsService.manifest \
$(NULL)
EXTRA_JS_MODULES = \
ril/mms_consts.js \
ril/MmsPduHelper.jsm \
ril/wap_consts.js \
ril/WapPushManager.js \
ril/WspPduHelper.jsm \
$(NULL)
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

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

@ -1,6 +0,0 @@
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

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

@ -1,7 +0,0 @@
[DEFAULT]
head = header_helpers.js
tail =
[test_wsp_pdu_helper.js]
[test_mms_pdu_helper.js]
[test_mms_service.js]

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

@ -16,11 +16,13 @@ XPIDL_SOURCES += [
'nsIDOMSmsFilter.idl',
'nsIDOMSmsManager.idl',
'nsIDOMSmsSegmentInfo.idl',
'nsIMmsService.idl',
'nsIMobileMessageCallback.idl',
'nsIMobileMessageCursorCallback.idl',
'nsIMobileMessageDatabaseService.idl',
'nsIMobileMessageService.idl',
'nsISmsService.idl',
'nsIWapPushApplication.idl',
]
if CONFIG['MOZ_B2G_RIL']:

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

@ -63,9 +63,19 @@ LOCAL_INCLUDES += \
$(NULL)
EXTRA_COMPONENTS = \
ril/MmsService.js \
ril/MmsService.manifest \
ril/MobileMessageDatabaseService.js \
ril/MobileMessageDatabaseService.manifest \
$(NULL)
EXTRA_JS_MODULES = \
ril/mms_consts.js \
ril/MmsPduHelper.jsm \
ril/wap_consts.js \
ril/WapPushManager.js \
ril/WspPduHelper.jsm \
$(NULL)
else
CPPSRCS += \
MobileMessageDatabaseService.cpp \

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

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

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

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

@ -1,8 +1,6 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
function do_check_throws(f, result, stack) {
if (!stack) {
stack = Components.stack.caller;

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

@ -1,5 +1,11 @@
[DEFAULT]
head =
head = header_helpers.js
tail =
[test_smsservice_createsmsmessage.js]
[test_wsp_pdu_helper.js]
run-if = toolkit == "gonk"
[test_mms_pdu_helper.js]
run-if = toolkit == "gonk"
[test_mms_service.js]
run-if = toolkit == "gonk"

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

@ -57,7 +57,6 @@ PARALLEL_DIRS += [
'quota',
'settings',
'mobilemessage',
'mms',
'src',
'time',
'locales',

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

@ -14,7 +14,6 @@
[include:dom/encoding/test/unit/xpcshell.ini]
[include:dom/plugins/test/unit/xpcshell.ini]
[include:dom/mobilemessage/tests/xpcshell.ini]
[include:dom/mms/tests/xpcshell.ini]
[include:dom/network/tests/unit/xpcshell.ini]
[include:dom/network/tests/unit_ipc/xpcshell.ini]
[include:dom/network/tests/unit_stats/xpcshell.ini]

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

@ -12,7 +12,6 @@
[include:dom/apps/tests/unit/xpcshell.ini]
[include:dom/encoding/test/unit/xpcshell.ini]
[include:dom/mobilemessage/tests/xpcshell.ini]
[include:dom/mms/tests/xpcshell.ini]
[include:dom/network/tests/unit/xpcshell.ini]
[include:dom/payment/tests/unit/xpcshell.ini]
[include:dom/permission/tests/unit/xpcshell.ini]

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

@ -4,7 +4,6 @@
[include:dom/apps/tests/unit/xpcshell.ini]
[include:dom/mobilemessage/tests/xpcshell.ini]
[include:dom/mms/tests/xpcshell.ini]
[include:dom/system/gonk/tests/xpcshell.ini]
[include:toolkit/devtools/debugger/tests/unit/xpcshell.ini]
[include:toolkit/devtools/sourcemap/tests/unit/xpcshell.ini]