Skip to content

Commit

Permalink
Make j2cl_multi_test.bzl open-source compatible.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 697863883
  • Loading branch information
gkdn authored and copybara-github committed Nov 19, 2024
1 parent e33f902 commit 6e38366
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions jre/javatests/j2cl_multi_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,11 @@ def j2cl_multi_test(name, test_class, deps, enable_j2kt_native = True, enable_wa
generate_build_test = False,
runtime_deps = deps,
browsers = [
"//testing/web/browsers:chrome-linux",
"//testing/web/browsers:safari-macos",
"//build_defs/internal_do_not_use/browser:firefox-linux",
"//build_defs/internal_do_not_use/browser:chrome-wasm-linux",
],
**kwargs
)

if enable_j2kt_native:
j2kt_native_deps = [dep + "-j2kt-native" for dep in deps]
j2kt_native_test(
name = name + "-j2kt-native",
test_class = test_class,
runtime_deps = j2kt_native_deps,
**kwargs
)

if enable_wasm:
j2wasm_deps = [dep + "-j2wasm" for dep in deps]
j2wasm_defines = {"jre.checks.checkLevel": "NORMAL"}
Expand Down

0 comments on commit 6e38366

Please sign in to comment.