summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alix Espino <agespino@google.com> 2023-05-09 20:18:36 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-05-09 20:18:36 +0000
commit9241da96626b6e224fbf255f1d03ea0bf4e8958b (patch)
treea12ce05b122eed22ec55dca851a95025ad0674b1
parent3e63067b11a0a65c1342dea131c6a5e9706101f4 (diff)
parent83a8bc47d2454052ed47577cf71ecfedeeb6f75f (diff)
Merge "Delete java/rules.bzl file"
-rw-r--r--java/java.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/java.go b/java/java.go
index b751b9a31..06130cd18 100644
--- a/java/java.go
+++ b/java/java.go
@@ -2980,7 +2980,7 @@ func ktJvmLibraryBazelTargetModuleProperties() bazel.BazelTargetModuleProperties
func javaLibraryBazelTargetModuleProperties() bazel.BazelTargetModuleProperties {
return bazel.BazelTargetModuleProperties{
Rule_class: "java_library",
- Bzl_load_location: "//build/bazel/rules/java:rules.bzl",
+ Bzl_load_location: "//build/bazel/rules/java:library.bzl",
}
}
@@ -3089,7 +3089,7 @@ func javaBinaryHostBp2Build(ctx android.TopDownMutatorContext, m *Binary) {
props := bazel.BazelTargetModuleProperties{
Rule_class: "java_binary",
- Bzl_load_location: "//build/bazel/rules/java:rules.bzl",
+ Bzl_load_location: "@rules_java//java:defs.bzl",
}
binAttrs := &javaBinaryHostAttributes{
Runtime_deps: runtimeDeps,
@@ -3145,7 +3145,7 @@ func (i *Import) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
}
props := bazel.BazelTargetModuleProperties{
Rule_class: "java_import",
- Bzl_load_location: "//build/bazel/rules/java:rules.bzl",
+ Bzl_load_location: "//build/bazel/rules/java:import.bzl",
}
name := android.RemoveOptionalPrebuiltPrefix(i.Name())