Bug 1608326 - only check for wasm tools when compiling; r=firefox-build-system-reviewers,chmanchester

...so that we can correctly declare that we are using sandboxed
library(ies) from our "parent" build, but not check for all the tools to
compile code.

Depends on D59554

Differential Revision: https://phabricator.services.mozilla.com/D59555

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nathan Froyd 2020-01-10 19:56:17 +00:00
Родитель 2aa36b39fc
Коммит c27f84822c
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1782,7 +1782,7 @@ def requires_wasm_sandboxing(libraries):
set_config('MOZ_USING_WASM_SANDBOXING', requires_wasm_sandboxing)
set_define('MOZ_USING_WASM_SANDBOXING', requires_wasm_sandboxing)
with only_when(requires_wasm_sandboxing):
with only_when(requires_wasm_sandboxing & compile_environment):
lucetc = check_prog('LUCETC', ['lucetc'],
paths=toolchain_search_path)