Bug 1160267 - JS build files should not declare IMPL_MFBT. r=glandium

This commit is contained in:
Eric Rahm 2015-04-30 15:10:03 -07:00
Родитель 7f54aa583d
Коммит c8bf1cc5bb
3 изменённых файлов: 2 добавлений и 11 удалений

Просмотреть файл

@ -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