Bug 1840065 [wpt PR 40721] - Switch from using AV1 to VP9 for the test trying to...
[gecko.git] / config / wasm2c.py
blob5b10ba9892612f9fe92670f9c85ae10a486cd911
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 import subprocess
8 def wasm2c(output, wasm2c_bin, wasm_lib):
9 output.close()
10 return subprocess.run(
11 [wasm2c_bin, "-o", output.name, "--disable-simd", wasm_lib]
12 ).returncode