Bug 769130 - Actually install channel-prefs.js in PREF_DIR when building Firefox as a XULRunner app. r=khuey

This commit is contained in:
Mike Hommey 2012-07-09 12:48:48 +02:00
parent e744d04fd0
commit 3f57daa6da

View File

@ -31,6 +31,8 @@ DEFINES += \
$(NULL)
ifdef LIBXUL_SDK #{
PREF_JS_EXPORTS += $(srcdir)/profile/channel-prefs.js
include $(topsrcdir)/config/rules.mk
else
# Build a binary bootstrapping with XRE_main
@ -142,8 +144,6 @@ ifndef LIBXUL_SDK
libs:: $(srcdir)/profile/channel-prefs.js
$(NSINSTALL) -D $(DIST)/bin/defaults/pref
$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(PREF_PPFLAGS) $(ACDEFINES) $^ > $(DIST)/bin/defaults/pref/channel-prefs.js
else
PREF_JS_EXPORTS += $(srcdir)/profile/channel-prefs.js
endif
libs:: $(srcdir)/blocklist.xml