Bug 699256 - Part 3: Hook the RIL worker and the DOM API up to the build system. r=gal

This commit is contained in:
Philipp von Weitershausen 2011-12-05 15:58:27 +08:00
parent cb3774c291
commit caac647849
6 changed files with 57 additions and 0 deletions

View File

@ -136,6 +136,10 @@
@BINPATH@/components/dom.xpt
@BINPATH@/components/dom_apps.xpt
@BINPATH@/components/dom_base.xpt
#ifdef MOZ_B2G_RIL
@BINPATH@/components/dom_telephony.xpt
@BINPATH@/components/dom_telephony_worker.xpt
#endif
@BINPATH@/components/dom_battery.xpt
@BINPATH@/components/dom_canvas.xpt
@BINPATH@/components/dom_core.xpt
@ -358,6 +362,12 @@
@BINPATH@/components/contentSecurityPolicy.js
@BINPATH@/components/contentAreaDropListener.manifest
@BINPATH@/components/contentAreaDropListener.js
#ifdef MOZ_B2G_RIL
@BINPATH@/components/nsTelephonyWorker.manifest
@BINPATH@/components/nsTelephonyWorker.js
@BINPATH@/components/Telephony.manifest
@BINPATH@/components/Telephony.js
#endif
@BINPATH@/components/BrowserProfileMigrators.manifest
@BINPATH@/components/ChromeProfileMigrator.js
#ifdef XP_MACOSX

View File

@ -68,6 +68,10 @@ components/nsUrlClassifierTable.js
components/nsXmlRpcClient.js
components/pluginGlue.js
components/sidebar.xpt
#ifdef MOZ_B2G_RIL
components/dom_telephony.xpt
components/dom_telephony_worker.xpt
#endif
components/WeaveCrypto.js
components/WeaveCrypto.manifest
components/xmlextras.xpt
@ -913,6 +917,12 @@ xpicleanup@BIN_SUFFIX@
components/PlacesProtocolHandler.js
components/storage-Legacy.js
components/storage-mozStorage.js
#ifdef MOZ_B2G_RIL
components/nsTelephonyWorker.manifest
components/nsTelephonyWorker.js
components/Telephony.manifest
components/Telephony.js
#endif
components/txEXSLTRegExFunctions.js
components/Weave.js
components/WebContentConverter.js
@ -1130,6 +1140,10 @@ xpicleanup@BIN_SUFFIX@
components/docshell.xpt
components/dom.xpt
components/dom_base.xpt
#ifdef MOZ_B2G_RIL
components/dom_telephony.xpt
components/dom_telephony_worker.xpt
#endif
components/dom_canvas.xpt
components/dom_core.xpt
components/dom_css.xpt

View File

@ -83,6 +83,10 @@ DIRS += \
workers \
$(NULL)
ifdef MOZ_B2G_RIL #{
DIRS += telephony
endif #}
ifdef ENABLE_TESTS
DIRS += tests
ifneq (,$(filter gtk2 cocoa windows android qt os2,$(MOZ_WIDGET_TOOLKIT)))

View File

@ -58,6 +58,15 @@ LOCAL_INCLUDES = \
-I$(topsrcdir)/content/events/src \
$(NULL)
XPIDLSRCS = \
mozIDOMTelephony.idl \
$(NULL)
EXTRA_COMPONENTS = \
Telephony.manifest \
Telephony.js \
$(NULL)
DIRS += worker-component
include $(topsrcdir)/config/rules.mk

View File

@ -42,6 +42,16 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
nsTelephonyWorker.manifest \
nsTelephonyWorker.js \
$(NULL)
EXTRA_JS_MODULES = \
ril_consts.js \
ril_worker.js \
$(NULL)
XPIDL_MODULE = dom_telephony_worker
XPIDLSRCS = \
nsITelephonyWorker.idl \

View File

@ -150,6 +150,10 @@
@BINPATH@/components/docshell.xpt
@BINPATH@/components/dom.xpt
@BINPATH@/components/dom_base.xpt
#ifdef MOZ_B2G_RIL
@BINPATH@/components/dom_telephony.xpt
@BINPATH@/components/dom_telephony_worker.xpt
#endif
@BINPATH@/components/dom_battery.xpt
@BINPATH@/components/dom_canvas.xpt
@BINPATH@/components/dom_core.xpt
@ -384,6 +388,12 @@
@BINPATH@/components/messageWakeupService.manifest
@BINPATH@/components/nsFilePicker.js
@BINPATH@/components/nsFilePicker.manifest
#ifdef MOZ_B2G_RIL
@BINPATH@/components/nsTelephonyWorker.manifest
@BINPATH@/components/nsTelephonyWorker.js
@BINPATH@/components/Telephony.manifest
@BINPATH@/components/Telephony.js
#endif
#ifdef XP_MACOSX
@BINPATH@/components/libalerts_s.dylib
#endif