Use single module for clang runtime libraries
The clang prebuilts now provide a single module with per-architecture
variants instead of a module per architecture.
Bug: 220019988
Test: m checkbuild
Change-Id: I39e2cf8ae14edf8510276dab38011afaef85822c
(cherry picked from commit 386ee59a23
)
Merged-In:I39e2cf8ae14edf8510276dab38011afaef85822c
This commit is contained in:
committed by
Cherrypicker Worker
parent
1a62a36c8b
commit
fc0df95df5
@@ -1415,13 +1415,14 @@ func TestRuntimeApexShouldInstallHwasanIfLibcDependsOnIt(t *testing.T) {
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libclang_rt.hwasan-aarch64-android",
|
||||
name: "libclang_rt.hwasan",
|
||||
no_libcrt: true,
|
||||
nocrt: true,
|
||||
stl: "none",
|
||||
system_shared_libs: [],
|
||||
srcs: [""],
|
||||
stubs: { versions: ["1"] },
|
||||
stem: "libclang_rt.hwasan-aarch64-android",
|
||||
|
||||
sanitize: {
|
||||
never: true,
|
||||
@@ -1434,7 +1435,7 @@ func TestRuntimeApexShouldInstallHwasanIfLibcDependsOnIt(t *testing.T) {
|
||||
"lib64/bionic/libclang_rt.hwasan-aarch64-android.so",
|
||||
})
|
||||
|
||||
hwasan := ctx.ModuleForTests("libclang_rt.hwasan-aarch64-android", "android_arm64_armv8-a_shared")
|
||||
hwasan := ctx.ModuleForTests("libclang_rt.hwasan", "android_arm64_armv8-a_shared")
|
||||
|
||||
installed := hwasan.Description("install libclang_rt.hwasan")
|
||||
ensureContains(t, installed.Output.String(), "/system/lib64/bootstrap/libclang_rt.hwasan-aarch64-android.so")
|
||||
@@ -1462,13 +1463,14 @@ func TestRuntimeApexShouldInstallHwasanIfHwaddressSanitized(t *testing.T) {
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libclang_rt.hwasan-aarch64-android",
|
||||
name: "libclang_rt.hwasan",
|
||||
no_libcrt: true,
|
||||
nocrt: true,
|
||||
stl: "none",
|
||||
system_shared_libs: [],
|
||||
srcs: [""],
|
||||
stubs: { versions: ["1"] },
|
||||
stem: "libclang_rt.hwasan-aarch64-android",
|
||||
|
||||
sanitize: {
|
||||
never: true,
|
||||
@@ -1482,7 +1484,7 @@ func TestRuntimeApexShouldInstallHwasanIfHwaddressSanitized(t *testing.T) {
|
||||
"lib64/bionic/libclang_rt.hwasan-aarch64-android.so",
|
||||
})
|
||||
|
||||
hwasan := ctx.ModuleForTests("libclang_rt.hwasan-aarch64-android", "android_arm64_armv8-a_shared")
|
||||
hwasan := ctx.ModuleForTests("libclang_rt.hwasan", "android_arm64_armv8-a_shared")
|
||||
|
||||
installed := hwasan.Description("install libclang_rt.hwasan")
|
||||
ensureContains(t, installed.Output.String(), "/system/lib64/bootstrap/libclang_rt.hwasan-aarch64-android.so")
|
||||
|
Reference in New Issue
Block a user