Delete android/rules.bzl file
Bug: 277800767 Test: treehugger Change-Id: I578bf63e33d15219812c2c17117186c74323d8d3
This commit is contained in:
@@ -1056,7 +1056,7 @@ func (a *AARImport) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
|||||||
ctx.CreateBazelTargetModule(
|
ctx.CreateBazelTargetModule(
|
||||||
bazel.BazelTargetModuleProperties{
|
bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "aar_import",
|
Rule_class: "aar_import",
|
||||||
Bzl_load_location: "//build/bazel/rules/android:rules.bzl",
|
Bzl_load_location: "//build/bazel/rules/android:aar_import.bzl",
|
||||||
},
|
},
|
||||||
android.CommonAttributes{Name: name},
|
android.CommonAttributes{Name: name},
|
||||||
&bazelAndroidLibraryImport{
|
&bazelAndroidLibraryImport{
|
||||||
@@ -1086,7 +1086,7 @@ func (a *AARImport) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
|||||||
func AndroidLibraryBazelTargetModuleProperties() bazel.BazelTargetModuleProperties {
|
func AndroidLibraryBazelTargetModuleProperties() bazel.BazelTargetModuleProperties {
|
||||||
return bazel.BazelTargetModuleProperties{
|
return bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "android_library",
|
Rule_class: "android_library",
|
||||||
Bzl_load_location: "//build/bazel/rules/android:rules.bzl",
|
Bzl_load_location: "//build/bazel/rules/android:android_library.bzl",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1539,7 +1539,7 @@ func androidAppCertificateBp2Build(ctx android.TopDownMutatorContext, module *An
|
|||||||
|
|
||||||
props := bazel.BazelTargetModuleProperties{
|
props := bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "android_app_certificate",
|
Rule_class: "android_app_certificate",
|
||||||
Bzl_load_location: "//build/bazel/rules/android:rules.bzl",
|
Bzl_load_location: "//build/bazel/rules/android:android_app_certificate.bzl",
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.CreateBazelTargetModule(props, android.CommonAttributes{Name: module.Name()}, attrs)
|
ctx.CreateBazelTargetModule(props, android.CommonAttributes{Name: module.Name()}, attrs)
|
||||||
@@ -1592,7 +1592,7 @@ func (a *AndroidApp) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
|||||||
|
|
||||||
props := bazel.BazelTargetModuleProperties{
|
props := bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "android_binary",
|
Rule_class: "android_binary",
|
||||||
Bzl_load_location: "//build/bazel/rules/android:rules.bzl",
|
Bzl_load_location: "//build/bazel/rules/android:android_binary.bzl",
|
||||||
}
|
}
|
||||||
|
|
||||||
if !bp2BuildInfo.hasKotlin {
|
if !bp2BuildInfo.hasKotlin {
|
||||||
|
Reference in New Issue
Block a user