зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1514089 - Move fxc and wine detection to toolkit/moz.configure. r=froydnj
They are not necessary to build e.g. standalone spidermonkey. Differential Revision: https://phabricator.services.mozilla.com/D14513 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3cdfb81c07
Коммит
c2b01ab3f1
|
@ -1451,14 +1451,6 @@ def is_windows(target, host):
|
|||
|
||||
include('windows.configure', when=is_windows)
|
||||
|
||||
# Shader Compiler for Windows (and MinGW Cross Compile)
|
||||
# ==============================================================
|
||||
|
||||
fxc = check_prog('FXC', ('fxc.exe', 'fxc2.exe'), when=depends(target)
|
||||
(lambda t: t.kernel == 'WINNT'))
|
||||
wine = check_prog('WINE', ['wine'], when=depends(target, host)
|
||||
(lambda t, h: t.kernel == 'WINNT' and h.kernel == 'Linux'))
|
||||
|
||||
# LTO
|
||||
# ==============================================================
|
||||
|
||||
|
|
|
@ -1268,3 +1268,12 @@ option('--enable-layout-debugger',
|
|||
help='{Enable|Disable} layout debugger')
|
||||
|
||||
set_config('MOZ_LAYOUT_DEBUGGER', depends_if('--enable-layout-debugger')(lambda _: True))
|
||||
|
||||
|
||||
# Shader Compiler for Windows (and MinGW Cross Compile)
|
||||
# ==============================================================
|
||||
|
||||
fxc = check_prog('FXC', ('fxc.exe', 'fxc2.exe'), when=depends(target)
|
||||
(lambda t: t.kernel == 'WINNT'))
|
||||
wine = check_prog('WINE', ['wine'], when=depends(target, host)
|
||||
(lambda t, h: t.kernel == 'WINNT' and h.kernel == 'Linux'))
|
||||
|
|
Загрузка…
Ссылка в новой задаче