Merge "Use centralized rules.bzl file for android rules in bp2build."
This commit is contained in:
@@ -1478,7 +1478,7 @@ func androidAppCertificateBp2Build(ctx android.TopDownMutatorContext, module *An
|
||||
|
||||
props := bazel.BazelTargetModuleProperties{
|
||||
Rule_class: "android_app_certificate",
|
||||
Bzl_load_location: "//build/bazel/rules/android:android_app_certificate.bzl",
|
||||
Bzl_load_location: "//build/bazel/rules/android:rules.bzl",
|
||||
}
|
||||
|
||||
ctx.CreateBazelTargetModule(props, android.CommonAttributes{Name: module.Name()}, attrs)
|
||||
@@ -1517,7 +1517,7 @@ func (a *AndroidApp) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
||||
|
||||
props := bazel.BazelTargetModuleProperties{
|
||||
Rule_class: "android_binary",
|
||||
Bzl_load_location: "//build/bazel/rules/android:android_binary.bzl",
|
||||
Bzl_load_location: "//build/bazel/rules/android:rules.bzl",
|
||||
}
|
||||
ctx.CreateBazelTargetModule(props, android.CommonAttributes{Name: a.Name()}, attrs)
|
||||
|
||||
|
Reference in New Issue
Block a user