Skip to content

Commit

Permalink
[WASM] Rename enable_legacy_wasm_spec to use_legacy_wasm_spec
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 565513716
  • Loading branch information
gkdn authored and copybara-github committed Sep 14, 2023
1 parent 0fbf742 commit 93680a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_defs/internal_do_not_use/j2wasm_application.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _impl_j2wasm_application(ctx):
args.add(input)
inputs.append(input)

binaryen = "_binaryen_legacy" if ctx.attr.enable_legacy_wasm_spec else "_binaryen"
binaryen = "_binaryen_legacy" if ctx.attr.use_legacy_wasm_spec else "_binaryen"
ctx.actions.run(
executable = getattr(ctx.executable, binaryen),
arguments = [args],
Expand Down Expand Up @@ -294,7 +294,7 @@ _J2WASM_APP_ATTRS = {
"source_map_base_url": attr.string(),
# TODO(b/296477606): Remove when symbol map file can be linked from the binary for debugging.
"enable_debug_info": attr.bool(default = False),
"enable_legacy_wasm_spec": attr.bool(default = True),
"use_legacy_wasm_spec": attr.bool(default = True),
"_jre": attr.label(default = Label("//build_defs/internal_do_not_use:j2wasm_jre")),
"_j2cl_transpiler": attr.label(
cfg = "exec",
Expand Down

0 comments on commit 93680a0

Please sign in to comment.