rename aidl/library.bzl to aidl/aidl_library.bzl

Test: b test --config=android //build/bazel/...
Change-Id: I7e22ee5ffa391ddaf43a3eec17812be78f2d86ab
This commit is contained in:
Sam Delmerico
2023-03-31 09:47:28 -04:00
parent 7c907b84e7
commit e55bf08de2
3 changed files with 4 additions and 4 deletions

View File

@@ -126,7 +126,7 @@ func (fg *fileGroup) ConvertWithBp2build(ctx TopDownMutatorContext) {
props := bazel.BazelTargetModuleProperties{ props := bazel.BazelTargetModuleProperties{
Rule_class: "aidl_library", Rule_class: "aidl_library",
Bzl_load_location: "//build/bazel/rules/aidl:library.bzl", Bzl_load_location: "//build/bazel/rules/aidl:aidl_library.bzl",
} }
ctx.CreateBazelTargetModule( ctx.CreateBazelTargetModule(

View File

@@ -915,7 +915,7 @@ func bp2buildCcAidlLibrary(
ctx.CreateBazelTargetModule( ctx.CreateBazelTargetModule(
bazel.BazelTargetModuleProperties{ bazel.BazelTargetModuleProperties{
Rule_class: "aidl_library", Rule_class: "aidl_library",
Bzl_load_location: "//build/bazel/rules/aidl:library.bzl", Bzl_load_location: "//build/bazel/rules/aidl:aidl_library.bzl",
}, },
android.CommonAttributes{Name: aidlLibName}, android.CommonAttributes{Name: aidlLibName},
&aidlLibraryAttributes{ &aidlLibraryAttributes{

View File

@@ -2772,7 +2772,7 @@ func (m *Library) convertLibraryAttrsBp2Build(ctx android.TopDownMutatorContext)
ctx.CreateBazelTargetModule( ctx.CreateBazelTargetModule(
bazel.BazelTargetModuleProperties{ bazel.BazelTargetModuleProperties{
Rule_class: "aidl_library", Rule_class: "aidl_library",
Bzl_load_location: "//build/bazel/rules/aidl:library.bzl", Bzl_load_location: "//build/bazel/rules/aidl:aidl_library.bzl",
}, },
android.CommonAttributes{Name: aidlLibName}, android.CommonAttributes{Name: aidlLibName},
&aidlLibraryAttributes{ &aidlLibraryAttributes{
@@ -2787,7 +2787,7 @@ func (m *Library) convertLibraryAttrsBp2Build(ctx android.TopDownMutatorContext)
ctx.CreateBazelTargetModule( ctx.CreateBazelTargetModule(
bazel.BazelTargetModuleProperties{ bazel.BazelTargetModuleProperties{
Rule_class: "java_aidl_library", Rule_class: "java_aidl_library",
Bzl_load_location: "//build/bazel/rules/java:aidl_library.bzl", Bzl_load_location: "//build/bazel/rules/java:java_aidl_library.bzl",
}, },
android.CommonAttributes{Name: javaAidlLibName}, android.CommonAttributes{Name: javaAidlLibName},
&javaAidlLibraryAttributes{ &javaAidlLibraryAttributes{