summaryrefslogtreecommitdiffstats
path: root/build/mozconfig.wasm-sandboxing
diff options
context:
space:
mode:
Diffstat (limited to 'build/mozconfig.wasm-sandboxing')
-rw-r--r--build/mozconfig.wasm-sandboxing9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/mozconfig.wasm-sandboxing b/build/mozconfig.wasm-sandboxing
new file mode 100644
index 0000000000..4cd4cc48a7
--- /dev/null
+++ b/build/mozconfig.wasm-sandboxing
@@ -0,0 +1,9 @@
+# Tell the build system about bits to build sandboxed wasm libraries.
+case "$PERFHERDER_EXTRA_OPTIONS" in
+base-toolchains*)
+ # Clang versions < 8.0 don't support wasm.
+ ;;
+*)
+ export WASM_SANDBOXED_LIBRARIES=graphite,ogg
+ ;;
+esac