Delete java/rules.bzl file
Bug: 277800767 Test: treehugger Change-Id: Idc80cd51317d167fca8d5543bb53c585adeaddad
This commit is contained in:
@@ -2975,7 +2975,7 @@ func ktJvmLibraryBazelTargetModuleProperties() bazel.BazelTargetModuleProperties
|
|||||||
func javaLibraryBazelTargetModuleProperties() bazel.BazelTargetModuleProperties {
|
func javaLibraryBazelTargetModuleProperties() bazel.BazelTargetModuleProperties {
|
||||||
return bazel.BazelTargetModuleProperties{
|
return bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "java_library",
|
Rule_class: "java_library",
|
||||||
Bzl_load_location: "//build/bazel/rules/java:rules.bzl",
|
Bzl_load_location: "//build/bazel/rules/java:library.bzl",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3084,7 +3084,7 @@ func javaBinaryHostBp2Build(ctx android.TopDownMutatorContext, m *Binary) {
|
|||||||
|
|
||||||
props := bazel.BazelTargetModuleProperties{
|
props := bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "java_binary",
|
Rule_class: "java_binary",
|
||||||
Bzl_load_location: "//build/bazel/rules/java:rules.bzl",
|
Bzl_load_location: "@rules_java//java:defs.bzl",
|
||||||
}
|
}
|
||||||
binAttrs := &javaBinaryHostAttributes{
|
binAttrs := &javaBinaryHostAttributes{
|
||||||
Runtime_deps: runtimeDeps,
|
Runtime_deps: runtimeDeps,
|
||||||
@@ -3140,7 +3140,7 @@ func (i *Import) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
|||||||
}
|
}
|
||||||
props := bazel.BazelTargetModuleProperties{
|
props := bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "java_import",
|
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())
|
name := android.RemoveOptionalPrebuiltPrefix(i.Name())
|
||||||
|
Reference in New Issue
Block a user