Bug 1005704 - Enable installing files dist files without preprocessing; r=mshal

This commit is contained in:
Ehsan Akhgari 2014-05-05 21:26:11 -04:00
parent 63f3641db9
commit 2eabc5792d
6 changed files with 21 additions and 3 deletions

View File

@ -1305,6 +1305,12 @@ DIST_FILES_FLAGS := $(XULAPP_DEFINES)
PP_TARGETS += DIST_FILES
endif
ifneq ($(DIST_FILES_NO_PP),)
_DIST_FILES := $(DIST_FILES_NO_PP)
_DIST_DEST := $(FINAL_TARGET)
INSTALL_TARGETS += _DIST
endif
ifneq ($(DIST_CHROME_FILES),)
DIST_CHROME_FILES_PATH := $(FINAL_TARGET)/chrome
DIST_CHROME_FILES_FLAGS := $(XULAPP_DEFINES)

View File

@ -3,10 +3,13 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIST_FILES = \
bootstrap.js \
install.rdf \
$(NULL)
DIST_FILES_NO_PP = \
bootstrap.js \
$(NULL)
TEST_EXTENSIONS_DIR = $(DEPTH)/_tests/testing/mochitest/extensions
GENERATED_DIRS = $(TEST_EXTENSIONS_DIR)

View File

@ -3,8 +3,11 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIST_FILES = \
bootstrap.js \
install.rdf \
$(NULL)
DIST_FILES_NO_PP = \
bootstrap.js \
worker.js \
$(NULL)

View File

@ -4,6 +4,9 @@
DIST_FILES = \
install.rdf \
$(NULL)
DIST_FILES_NO_PP = \
worker.js \
$(NULL)

View File

@ -4,7 +4,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
LIBS += $(MOZ_COMPONENT_LIBS)
DIST_FILES += \
DIST_FILES_NO_PP += \
$(srcdir)/TestStartupCacheTelemetry.manifest \
$(srcdir)/TestStartupCacheTelemetry.js \
$(NULL)

View File

@ -8,6 +8,9 @@ NO_JS_MANIFEST = 1
DIST_FILES = \
install.rdf \
$(NULL)
DIST_FILES_NO_PP = \
chrome.manifest \
$(NULL)