Use centralized rules.bzl file for android rules in bp2build.
Change-Id: I6e4837d8b6715960337d0db9b36f8137efb5673e
This commit is contained in:
@@ -1031,7 +1031,7 @@ func (a *AARImport) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
||||
ctx.CreateBazelTargetModule(
|
||||
bazel.BazelTargetModuleProperties{
|
||||
Rule_class: "aar_import",
|
||||
Bzl_load_location: "@rules_android//rules:rules.bzl",
|
||||
Bzl_load_location: "//build/bazel/rules/android:rules.bzl",
|
||||
},
|
||||
android.CommonAttributes{Name: name},
|
||||
&bazelAndroidLibraryImport{
|
||||
@@ -1057,7 +1057,7 @@ func (a *AndroidLibrary) ConvertWithBp2build(ctx android.TopDownMutatorContext)
|
||||
name := a.Name()
|
||||
props := bazel.BazelTargetModuleProperties{
|
||||
Rule_class: "android_library",
|
||||
Bzl_load_location: "@rules_android//rules:rules.bzl",
|
||||
Bzl_load_location: "//build/bazel/rules/android:rules.bzl",
|
||||
}
|
||||
|
||||
ctx.CreateBazelTargetModule(
|
||||
|
Reference in New Issue
Block a user