Bug 1044162 - part 0a - make additions to EXTRA_JS_MODULES use += instead of =; r=mshal

Straight assignments to HierarchicalStringList, which we'll change
EXTRA_JS_MODULES to in a later patch, don't work.  This change, in
addition to making things work as expected later on, also is more
consistent with existing practice.
This commit is contained in:
Nathan Froyd 2014-07-25 13:50:55 -04:00
parent 1455a55032
commit d6f7edb12d
10 changed files with 11 additions and 11 deletions

View File

@ -19,7 +19,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
'android/SmsService.cpp',
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
EXTRA_JS_MODULES = [
EXTRA_JS_MODULES += [
'gonk/mms_consts.js',
'gonk/MmsPduHelper.jsm',
'gonk/MobileMessageDB.jsm',

View File

@ -27,7 +27,7 @@ UNIFIED_SOURCES += [
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
EXTRA_JS_MODULES = [
EXTRA_JS_MODULES += [
'NetworkStatsDB.jsm',
'NetworkStatsService.jsm',
]

View File

@ -5,7 +5,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
EXTRA_JS_MODULES = [
EXTRA_JS_MODULES += [
'gonk/CpPduHelper.jsm',
'gonk/SiPduHelper.jsm',
'gonk/SlPduHelper.jsm',

View File

@ -7,7 +7,7 @@ SOURCES += ['bar.s', 'foo.asm']
EXTRA_COMPONENTS = ['bar.js', 'foo.js']
EXTRA_PP_COMPONENTS = ['bar.pp.js', 'foo.pp.js']
EXTRA_JS_MODULES = ['bar.jsm', 'foo.jsm']
EXTRA_JS_MODULES += ['bar.jsm', 'foo.jsm']
EXTRA_PP_JS_MODULES = ['bar.pp.jsm', 'foo.pp.jsm']
HOST_SOURCES += ['bar.cpp', 'foo.cpp']

View File

@ -7,7 +7,7 @@ SOURCES += ['fans.asm', 'tans.s']
EXTRA_COMPONENTS=['fans.js', 'tans.js']
EXTRA_PP_COMPONENTS=['fans.pp.js', 'tans.pp.js']
EXTRA_JS_MODULES = ['bar.jsm', 'foo.jsm']
EXTRA_JS_MODULES += ['bar.jsm', 'foo.jsm']
EXTRA_PP_JS_MODULES = ['bar.pp.jsm', 'foo.pp.jsm']
HOST_SOURCES += ['fans.cpp', 'tans.cpp']

View File

@ -6,11 +6,11 @@
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
EXTRA_JS_MODULES = [
EXTRA_JS_MODULES += [
'CrashMonitor.jsm',
]
EXTRA_COMPONENTS += [
'crashmonitor.manifest',
'nsCrashMonitor.js',
]
]

View File

@ -59,7 +59,7 @@ if CONFIG['MOZ_PLACES']:
'../build',
]
EXTRA_JS_MODULES = [
EXTRA_JS_MODULES += [
'BookmarkHTMLUtils.jsm',
'BookmarkJSONUtils.jsm',
'ClusterLib.js',

View File

@ -8,6 +8,6 @@ DIRS += [
'worker'
]
EXTRA_JS_MODULES = [
EXTRA_JS_MODULES += [
'PromiseWorker.jsm',
]

View File

@ -10,7 +10,7 @@ if CONFIG['MOZ_SOCIAL']:
BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
# social is turned off for android
EXTRA_JS_MODULES = [
EXTRA_JS_MODULES += [
'FrameWorker.jsm',
'FrameWorkerContent.js',
'MessagePortBase.jsm',

View File

@ -19,7 +19,7 @@ if CONFIG['MOZ_ENABLE_PROFILER_SPS']:
'PseudoStack.h',
'shared-libraries.h',
]
EXTRA_JS_MODULES = [
EXTRA_JS_MODULES += [
'Profiler.jsm',
]
UNIFIED_SOURCES += [