Merge "Delete java/rules.bzl file" am: 9241da9662
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2578135 Change-Id: I29d7a640ef52aff04247d25206f94de2efd10d03 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user