Bug 1851712 - Stop building plain hunspell and woff2 when they are wasm sandboxed. r=tjr

Differential Revision: https://phabricator.services.mozilla.com/D187516
This commit is contained in:
Mike Hommey 2023-09-07 02:15:57 +00:00
parent 40d80523a1
commit 83f8a62943
2 changed files with 6 additions and 2 deletions

View file

@ -4,7 +4,10 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIRS += ["glue", "src"]
DIRS += ["glue"]
if not CONFIG["MOZ_WASM_SANDBOXING_HUNSPELL"]:
DIRS += ["src"]
if CONFIG["ENABLE_TESTS"]:
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]

View file

@ -9,7 +9,8 @@ include("sources.mozbuild")
with Files('**'):
BUG_COMPONENT = ('Core', 'Graphics: Text')
UNIFIED_SOURCES += woff2_sources
if not CONFIG["MOZ_WASM_SANDBOXING_WOFF2"]:
UNIFIED_SOURCES += woff2_sources
EXPORTS.woff2 += [
'include/woff2/decode.h',