Split vndk_libraries_txt into multiple module types
Replace the vndk_libraries_txt module type with llndk_libraries_txt, etc. in preparation for making it a new SingletonModule, which will only work with a single instance of the module type. Bug: 176904285 Test: m checkbuild Change-Id: Ie010a9eeee8f5849201aa4ab4eb9b2e7a9cd7d5b
This commit is contained in:
@@ -418,23 +418,24 @@ func TestVndk(t *testing.T) {
|
||||
},
|
||||
}
|
||||
|
||||
vndk_libraries_txt {
|
||||
llndk_libraries_txt {
|
||||
name: "llndk.libraries.txt",
|
||||
}
|
||||
vndk_libraries_txt {
|
||||
vndkcore_libraries_txt {
|
||||
name: "vndkcore.libraries.txt",
|
||||
}
|
||||
vndk_libraries_txt {
|
||||
vndksp_libraries_txt {
|
||||
name: "vndksp.libraries.txt",
|
||||
}
|
||||
vndk_libraries_txt {
|
||||
vndkprivate_libraries_txt {
|
||||
name: "vndkprivate.libraries.txt",
|
||||
}
|
||||
vndk_libraries_txt {
|
||||
vndkproduct_libraries_txt {
|
||||
name: "vndkproduct.libraries.txt",
|
||||
}
|
||||
vndk_libraries_txt {
|
||||
vndkcorevariant_libraries_txt {
|
||||
name: "vndkcorevariant.libraries.txt",
|
||||
insert_vndk_version: false,
|
||||
}
|
||||
`
|
||||
|
||||
@@ -546,7 +547,7 @@ func TestVndkWithHostSupported(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
vndk_libraries_txt {
|
||||
vndkcore_libraries_txt {
|
||||
name: "vndkcore.libraries.txt",
|
||||
}
|
||||
`)
|
||||
@@ -556,8 +557,9 @@ func TestVndkWithHostSupported(t *testing.T) {
|
||||
|
||||
func TestVndkLibrariesTxtAndroidMk(t *testing.T) {
|
||||
bp := `
|
||||
vndk_libraries_txt {
|
||||
llndk_libraries_txt {
|
||||
name: "llndk.libraries.txt",
|
||||
insert_vndk_version: true,
|
||||
}`
|
||||
config := TestConfig(buildDir, android.Android, nil, bp, nil)
|
||||
config.TestProductVariables.DeviceVndkVersion = StringPtr("current")
|
||||
@@ -603,8 +605,9 @@ func TestVndkUsingCoreVariant(t *testing.T) {
|
||||
nocrt: true,
|
||||
}
|
||||
|
||||
vndk_libraries_txt {
|
||||
vndkcorevariant_libraries_txt {
|
||||
name: "vndkcorevariant.libraries.txt",
|
||||
insert_vndk_version: false,
|
||||
}
|
||||
`
|
||||
|
||||
|
Reference in New Issue
Block a user