Skip to content

Commit 8967377

Browse files
j2objc-copybaracopybara-github
authored andcommitted
Remove ContactsJava-j2objc reference due to j2objc legacy rule deprecation.
PiperOrigin-RevId: 730983993
1 parent 5815f6b commit 8967377

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

examples/Contacts/BUILD.bazel

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,10 @@ objc_library(
3131
hdrs = glob(["src/*.h"]),
3232
data = ["//resources"],
3333
sdk_frameworks = ["CoreGraphics"],
34-
deps = [":ContactsJava"],
34+
deps = [":ContactsJava-j2objc"],
3535
)
3636

37-
j2objc_library_legacy(
38-
name = "ContactsJava",
39-
jre_deps = ["@bazel_j2objc//:jre_net_lib"],
40-
deps = [":ContactsJavaLib"],
41-
)
37+
# TODO: Add back ContactsJava-j2objc target when the new rule is open-sourced.
4238

4339
java_library(
4440
name = "ContactsJavaLib",

0 commit comments

Comments
 (0)