Skip to content

Commit 8776149

Browse files
Update wasm_lib template to have accurate outputs. (flutter#679)
1 parent 0fbd748 commit 8776149

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

build/toolchain/wasm.gni

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,10 @@ template("wasm_lib") {
9292

9393
_lib_name = target_name
9494

95-
executable("${_lib_name}.js") {
95+
executable("$_lib_name") {
9696
forward_variables_from(invoker, _vars_to_forward)
9797
cflags = _target_cflags
9898
ldflags = _target_ldflags
99-
output_extension = ""
100-
}
101-
102-
group("$_lib_name") {
103-
public_deps = [
104-
":${_lib_name}.js",
105-
]
99+
output_extension = "js"
106100
}
107101
}

0 commit comments

Comments
 (0)