зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1160267 - JS build files should not declare IMPL_MFBT. r=glandium
This commit is contained in:
Родитель
7f54aa583d
Коммит
c8bf1cc5bb
|
@ -20,10 +20,7 @@ UNIFIED_SOURCES += [
|
|||
'tests/typedef-printers.cpp',
|
||||
]
|
||||
|
||||
# Building against js_static requires that we declare mfbt sybols "exported"
|
||||
# on its behalf.
|
||||
for var in ('EXPORT_JS_API', 'IMPL_MFBT'):
|
||||
DEFINES[var] = True
|
||||
DEFINES['EXPORT_JS_API'] = True
|
||||
|
||||
LOCAL_INCLUDES += ['..']
|
||||
GENERATED_INCLUDES += ['..']
|
||||
|
|
|
@ -100,9 +100,6 @@ if CONFIG['ENABLE_ION']:
|
|||
]
|
||||
|
||||
DEFINES['EXPORT_JS_API'] = True
|
||||
# Building against js_static requires that we declare mfbt sybols "exported"
|
||||
# on its behalf.
|
||||
DEFINES['IMPL_MFBT'] = True
|
||||
|
||||
LOCAL_INCLUDES += ['..']
|
||||
GENERATED_INCLUDES += ['..']
|
||||
|
|
|
@ -16,10 +16,7 @@ UNIFIED_SOURCES += [
|
|||
'OSObject.cpp'
|
||||
]
|
||||
|
||||
# Building against js_static requires that we declare mfbt sybols "exported"
|
||||
# on its behalf.
|
||||
for var in ('EXPORT_JS_API', 'IMPL_MFBT'):
|
||||
DEFINES[var] = True
|
||||
DEFINES['EXPORT_JS_API'] = True
|
||||
|
||||
if CONFIG['_MSC_VER']:
|
||||
# unnecessary PGO for js shell. But gcc cannot turn off pgo because it is
|
||||
|
|
Загрузка…
Ссылка в новой задаче