From 36ab1f877fb2c8b494d032a9a713baf0076d9907 Mon Sep 17 00:00:00 2001 From: Gregor Wagner Date: Thu, 1 Mar 2012 11:46:50 -0800 Subject: [PATCH] Bug 731855 - ContactService.jsm not found at chrome/content/shell.js:19 when running desktop b2g client. r=fabrice --- dom/contacts/Makefile.in | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/dom/contacts/Makefile.in b/dom/contacts/Makefile.in index 0249129fa3c5..d9ad908a7a4b 100644 --- a/dom/contacts/Makefile.in +++ b/dom/contacts/Makefile.in @@ -11,7 +11,7 @@ VPATH = \ include $(DEPTH)/config/autoconf.mk -ifeq ($(MOZ_WIDGET_TOOLKIT),gonk) +ifeq ($(MOZ_BUILD_APP),b2g) VPATH += $(srcdir)/fallback endif @@ -19,17 +19,16 @@ MODULE = dom LIBRARY_NAME = jsdomcontacts_s LIBXUL_LIBRARY = 1 -EXTRA_COMPONENTS = \ - ContactManager.js \ - ContactManager.manifest \ +EXTRA_COMPONENTS = \ + ContactManager.js \ + ContactManager.manifest \ $(NULL) -ifeq ($(MOZ_WIDGET_TOOLKIT),gonk) -EXTRA_JS_MODULES = ContactService.jsm \ - $(NULL) - -EXTRA_JS_MODULES += ContactDB.jsm \ - $(NULL) +ifeq ($(MOZ_BUILD_APP),b2g) +EXTRA_JS_MODULES = \ + ContactService.jsm \ + ContactDB.jsm \ + $(NULL) endif ifdef ENABLE_TESTS