mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1229241 - Differentiate preprocessed and non-preprocessed JS pref files. r=gps
This commit is contained in:
parent
4674cd8a4e
commit
488bd1361b
@ -74,7 +74,7 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
if CONFIG['GNU_CXX']:
|
||||
CXXFLAGS += ['-Wshadow']
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'b2g.js',
|
||||
]
|
||||
|
||||
|
@ -5,8 +5,11 @@
|
||||
DIST_SUBDIR = 'browser'
|
||||
export('DIST_SUBDIR')
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'/b2g/app/b2g.js',
|
||||
]
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
'/b2g/dev/app/mulet.js',
|
||||
]
|
||||
|
||||
|
@ -11,7 +11,7 @@ if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_ASAN']:
|
||||
else:
|
||||
GeckoProgram(CONFIG['MOZ_APP_NAME'], msvcrt='static')
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'profile/firefox.js',
|
||||
]
|
||||
|
||||
|
@ -4,6 +4,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'devtools.js',
|
||||
]
|
||||
|
@ -18,6 +18,6 @@ MOCHITEST_CHROME_MANIFESTS += [
|
||||
'test/chrome.ini'
|
||||
]
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'webide-prefs.js',
|
||||
]
|
||||
|
@ -13,7 +13,7 @@ for var in ('MOZ_UPDATER', 'MOZ_APP_UA_NAME', 'ANDROID_PACKAGE_NAME'):
|
||||
if CONFIG['MOZ_PKG_SPECIAL']:
|
||||
DEFINES['MOZ_PKG_SPECIAL'] = CONFIG['MOZ_PKG_SPECIAL']
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'mobile.js',
|
||||
]
|
||||
|
||||
|
@ -33,6 +33,6 @@ if CONFIG['ANDROID_APPCOMPAT_V7_AAR']:
|
||||
ANDROID_EXTRA_PACKAGES += ['android.support.v7.appcompat']
|
||||
ANDROID_EXTRA_RES_DIRS += ['%' + CONFIG['ANDROID_APPCOMPAT_V7_AAR_RES']]
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'b2gdroid.js',
|
||||
]
|
||||
|
@ -1096,6 +1096,10 @@ VARIABLES = {
|
||||
Path will be defined for gre or application prefs dir based on what is building.
|
||||
""", 'libs'),
|
||||
|
||||
'JS_PREFERENCE_PP_FILES': (StrictOrderingOnAppendList, list,
|
||||
"""Like JS_PREFERENCE_FILES, preprocessed..
|
||||
""", 'libs'),
|
||||
|
||||
'LIBRARY_DEFINES': (OrderedDict, dict,
|
||||
"""Dictionary of compiler defines to declare for the entire library.
|
||||
|
||||
|
@ -637,7 +637,8 @@ class TreeMetadataEmitter(LoggingMixin):
|
||||
'XPI_NAME.', context)
|
||||
yield Resources(context, resources)
|
||||
|
||||
for pref in sorted(context['JS_PREFERENCE_FILES']):
|
||||
for pref in sorted(context['JS_PREFERENCE_FILES'] +
|
||||
context['JS_PREFERENCE_PP_FILES']):
|
||||
yield JsPreferenceFile(context, pref)
|
||||
|
||||
self._handle_programs(context)
|
||||
|
@ -50,7 +50,7 @@ DEFINES['MOZ_APP_BASENAME'] = CONFIG['MOZ_APP_BASENAME']
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'prefs.js',
|
||||
]
|
||||
|
||||
|
@ -54,7 +54,7 @@ if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
|
||||
DISABLE_STL_WRAPPING = True
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
JS_PREFERENCE_PP_FILES += [
|
||||
'xulrunner.js',
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user