зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1443471 - Support mingw clang in skia moz.build r=glandium
MozReview-Commit-ID: 4H8bkHyczGM --HG-- extra : rebase_source : e7764c43ee18230ef7603ac9c8e638d5bb18408f
This commit is contained in:
Родитель
52efb2adb3
Коммит
5c830a87fd
|
@ -68,7 +68,7 @@ LOCAL_INCLUDES += [
|
|||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
if CONFIG['CC_TYPE'] == 'gcc':
|
||||
if CONFIG['CC_TYPE'] in ('gcc', 'clang'):
|
||||
DEFINES['SK_JUMPER_USE_ASSEMBLY'] = 0
|
||||
elif CONFIG['CPU_ARCH'] == 'x86':
|
||||
SOURCES['skia/src/jumper/SkJumper_generated_win.S'].flags += ['-safeseh']
|
||||
|
@ -456,7 +456,7 @@ def write_mozbuild(sources):
|
|||
write_sources(f, sources['linux'], 4)
|
||||
|
||||
f.write("if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':\n")
|
||||
f.write(" if CONFIG['CC_TYPE'] != 'gcc':\n")
|
||||
f.write(" if CONFIG['CC_TYPE'] not in ('gcc', 'clang'):\n")
|
||||
write_list(f, "SOURCES", sources['no-mingw'], 8)
|
||||
# Windows-specific files don't get unification because of nasty headers.
|
||||
# Luckily there are not many files in this.
|
||||
|
|
|
@ -626,7 +626,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk3':
|
|||
'skia/src/ports/SkFontHost_FreeType_common.cpp',
|
||||
]
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
if CONFIG['CC_TYPE'] != 'gcc':
|
||||
if CONFIG['CC_TYPE'] not in ('gcc', 'clang'):
|
||||
SOURCES += [
|
||||
'skia/src/jumper/SkJumper_generated_win.S',
|
||||
]
|
||||
|
@ -742,7 +742,7 @@ LOCAL_INCLUDES += [
|
|||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
||||
if CONFIG['CC_TYPE'] == 'gcc':
|
||||
if CONFIG['CC_TYPE'] in ('gcc', 'clang'):
|
||||
DEFINES['SK_JUMPER_USE_ASSEMBLY'] = 0
|
||||
elif CONFIG['CPU_ARCH'] == 'x86':
|
||||
SOURCES['skia/src/jumper/SkJumper_generated_win.S'].flags += ['-safeseh']
|
||||
|
|
Загрузка…
Ссылка в новой задаче