Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart

We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nathan Froyd 2020-02-13 23:40:13 +00:00
Родитель ff331ccbb6
Коммит 017d4d5cdf
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -682,8 +682,8 @@ class SandboxedWasmLibrary(Library):
# TODO: WASM sandboxed libraries are in a weird place: they are
# built in a different way, but they should share some code with
# SharedLibrary. This is the minimal configuration needed to work
# with Linux, but it would need to be extended for other platforms.
assert context.config.substs['OS_TARGET'] == 'Linux'
# on the below platforms.
assert context.config.substs['OS_TARGET'] in ('Linux', 'Darwin')
self.lib_name = '%s%s%s' % (
context.config.dll_prefix,