Skip to content

Commit

Permalink
Remove references to @rules_java//java/constraints.
Browse files Browse the repository at this point in the history
It was recently removed.

PiperOrigin-RevId: 427363408
  • Loading branch information
katre authored and copybara-github committed Feb 9, 2022
1 parent 4395132 commit 6244713
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,11 @@ java_test(
java_library(
name = "string_concat_cases",
srcs = [":string_concat_cases_srcs"],
javacopts = select({
"//src/tools/android/java/com/google/devtools/build/android/desugar/testing/junit:jdk11-config": [
"-source 11",
"-target 11",
"-XDstringConcat=indyWithConstants", # Enable OpenJDK version of String concat.
],
"//conditions:default": [],
}),
javacopts = [
"-source 11",
"-target 11",
"-XDstringConcat=indyWithConstants", # Enable OpenJDK version of String concat.
],
)

filegroup(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ genrule(
""",
)

config_setting(
name = "jdk11-config",
constraint_values = [
"@rules_java//java/constraints:jdk11",
],
)

filegroup(
name = "srcs",
srcs = glob(["**"]),
Expand Down

0 comments on commit 6244713

Please sign in to comment.