Skip to content

Commit

Permalink
Simplify readability target after fix in <unknown commit>
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 712967401
  • Loading branch information
gkdn authored and copybara-github committed Jan 7, 2025
1 parent a8dfde4 commit 403e99f
Showing 1 changed file with 1 addition and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
load("//build_defs:rules.bzl", "j2kt_jvm_library", "j2kt_native_library")
load(
"//transpiler/javatests/com/google/j2cl/readable:readable_example.bzl",
"readable_example",
Expand All @@ -9,34 +8,11 @@ package(
licenses = ["notice"],
)

j2kt_jvm_library(
name = "readable-j2kt-jvm",
srcs = glob([
"**/*.java",
"**/*.kt",
]),
deps = [
"//jre/java:javaemul_internal_annotations-j2kt-jvm",
"//third_party:jsinterop-annotations-j2kt-jvm",
"//third_party:jspecify_annotations-j2kt-jvm",
],
)

j2kt_native_library(
name = "readable-j2kt-native",
readable_example(
srcs = glob([
"**/*.java",
"**/*.kt",
]),
deps = [
"//jre/java:javaemul_internal_annotations-j2kt-native",
"//third_party:jsinterop-annotations-j2kt-native",
"//third_party:jspecify_annotations-j2kt-native",
],
)

readable_example(
srcs = glob(["**/*.java"]),
experimental_enable_jspecify_support_do_not_enable_without_jspecify_static_checking_or_you_might_cause_an_outage = True,
generate_js_readables = False,
generate_wasm_readables = False,
Expand Down

0 comments on commit 403e99f

Please sign in to comment.