Bug 1520310 - Disable SANDBOX_EXPORTS for the mingw-clang build as well r=bobowen

--HG--
extra : amend_source : 3fd0fda02e8d7fabef0657fb3be520e37d59e97d
This commit is contained in:
Tom Ritter 2019-01-21 11:42:03 -06:00
Родитель c941c393cb
Коммит aaa41182a0
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -159,7 +159,7 @@ elif CONFIG['OS_ARCH'] == 'WINNT':
for var in ('UNICODE', '_UNICODE', 'NS_NO_XPCOM',
'_CRT_RAND_S', 'CHROMIUM_SANDBOX_BUILD'):
DEFINES[var] = True
if CONFIG['CC_TYPE'] != 'gcc':
if CONFIG['CC_TYPE'] not in ('gcc', 'clang'):
DEFINES['SANDBOX_EXPORTS'] = True
LOCAL_INCLUDES += ['/security/sandbox/chromium-shim']