Bug 1304133 - explicitly list selfhosted.js output in GENERATED_FILES; r?chmanchester draft
authorMike Shal <mshal@mozilla.com>
Mon, 19 Sep 2016 13:43:18 -0400
changeset 415635 0cacbd11d6afb53be56746fbdf0e39429ccfd3e8
parent 415634 f9f488a15b1993b24cdfa6b1cb519bb728a63e6c
child 415636 23880f99b668b0ba248b607ec062527ebcc7ea7d
push id29921
push userbmo:mshal@mozilla.com
push dateTue, 20 Sep 2016 19:26:52 +0000
reviewerschmanchester
bugs1304133
milestone52.0a1
Bug 1304133 - explicitly list selfhosted.js output in GENERATED_FILES; r?chmanchester MozReview-Commit-ID: Fwd6SWGs1X1
js/src/moz.build
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -734,18 +734,18 @@ OS_LIBS += CONFIG['REALTIME_LIBS']
 CFLAGS += CONFIG['MOZ_ICU_CFLAGS']
 CXXFLAGS += CONFIG['MOZ_ICU_CFLAGS']
 
 NO_EXPAND_LIBS = True
 
 DIST_INSTALL = True
 
 # Prepare self-hosted JS code for embedding
-GENERATED_FILES += ['selfhosted.out.h']
-selfhosted = GENERATED_FILES['selfhosted.out.h']
+GENERATED_FILES += [('selfhosted.out.h', 'selfhosted.js')]
+selfhosted = GENERATED_FILES[('selfhosted.out.h', 'selfhosted.js')]
 selfhosted.script = 'builtin/embedjs.py:generate_selfhosted'
 selfhosted.inputs = [
     'js.msg',
     'builtin/TypedObjectConstants.h',
     'builtin/SelfHostingDefines.h',
     'builtin/Utilities.js',
     'builtin/Array.js',
     'builtin/Classes.js',