Merge changes from topic "vendor_snapshot_remove_suffix" am: 37ab310920
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1666002 Change-Id: I5218a9d55a0bab485a408f9665327715059899cc
This commit is contained in:
committed by
Automerger Merge Worker
commit
a490d18c10
@@ -337,7 +337,8 @@ func (s *snapshot) DepsMutator(ctx android.BottomUpMutatorContext) {
|
|||||||
for _, name := range names {
|
for _, name := range names {
|
||||||
snapshotMap[name] = name +
|
snapshotMap[name] = name +
|
||||||
getSnapshotNameSuffix(snapshotSuffix+moduleSuffix,
|
getSnapshotNameSuffix(snapshotSuffix+moduleSuffix,
|
||||||
s.baseSnapshot.version(), ctx.Arch().ArchType.Name)
|
s.baseSnapshot.version(),
|
||||||
|
ctx.DeviceConfig().Arches()[0].ArchType.String())
|
||||||
}
|
}
|
||||||
return snapshotMap
|
return snapshotMap
|
||||||
}
|
}
|
||||||
|
@@ -271,7 +271,6 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
nocrt: true,
|
nocrt: true,
|
||||||
compile_multilib: "64",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
@@ -281,7 +280,6 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
no_libcrt: true,
|
no_libcrt: true,
|
||||||
stl: "none",
|
stl: "none",
|
||||||
system_shared_libs: [],
|
system_shared_libs: [],
|
||||||
compile_multilib: "64",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library {
|
cc_library {
|
||||||
@@ -291,6 +289,25 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
no_libcrt: true,
|
no_libcrt: true,
|
||||||
stl: "none",
|
stl: "none",
|
||||||
system_shared_libs: [],
|
system_shared_libs: [],
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_library {
|
||||||
|
name: "lib32",
|
||||||
|
vendor: true,
|
||||||
|
nocrt: true,
|
||||||
|
no_libcrt: true,
|
||||||
|
stl: "none",
|
||||||
|
system_shared_libs: [],
|
||||||
|
compile_multilib: "32",
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_library {
|
||||||
|
name: "lib64",
|
||||||
|
vendor: true,
|
||||||
|
nocrt: true,
|
||||||
|
no_libcrt: true,
|
||||||
|
stl: "none",
|
||||||
|
system_shared_libs: [],
|
||||||
compile_multilib: "64",
|
compile_multilib: "64",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -301,7 +318,16 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
no_libcrt: true,
|
no_libcrt: true,
|
||||||
stl: "none",
|
stl: "none",
|
||||||
system_shared_libs: [],
|
system_shared_libs: [],
|
||||||
compile_multilib: "64",
|
}
|
||||||
|
|
||||||
|
cc_binary {
|
||||||
|
name: "bin32",
|
||||||
|
vendor: true,
|
||||||
|
nocrt: true,
|
||||||
|
no_libcrt: true,
|
||||||
|
stl: "none",
|
||||||
|
system_shared_libs: [],
|
||||||
|
compile_multilib: "32",
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
@@ -320,6 +346,10 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
srcs: ["libvndk.so"],
|
srcs: ["libvndk.so"],
|
||||||
export_include_dirs: ["include/libvndk"],
|
export_include_dirs: ["include/libvndk"],
|
||||||
},
|
},
|
||||||
|
arm: {
|
||||||
|
srcs: ["libvndk.so"],
|
||||||
|
export_include_dirs: ["include/libvndk"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,6 +368,28 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
srcs: ["libvndk.so"],
|
srcs: ["libvndk.so"],
|
||||||
export_include_dirs: ["include/libvndk"],
|
export_include_dirs: ["include/libvndk"],
|
||||||
},
|
},
|
||||||
|
arm: {
|
||||||
|
srcs: ["libvndk.so"],
|
||||||
|
export_include_dirs: ["include/libvndk"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
// different arch snapshot which has to be ignored
|
||||||
|
vndk_prebuilt_shared {
|
||||||
|
name: "libvndk",
|
||||||
|
version: "28",
|
||||||
|
target_arch: "arm",
|
||||||
|
vendor_available: true,
|
||||||
|
product_available: true,
|
||||||
|
vndk: {
|
||||||
|
enabled: true,
|
||||||
|
},
|
||||||
|
arch: {
|
||||||
|
arm: {
|
||||||
|
srcs: ["libvndk.so"],
|
||||||
|
export_include_dirs: ["include/libvndk"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
@@ -350,7 +402,6 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
no_libcrt: true,
|
no_libcrt: true,
|
||||||
stl: "none",
|
stl: "none",
|
||||||
system_shared_libs: [],
|
system_shared_libs: [],
|
||||||
compile_multilib: "64",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_library_shared {
|
cc_library_shared {
|
||||||
@@ -362,7 +413,14 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
system_shared_libs: [],
|
system_shared_libs: [],
|
||||||
shared_libs: ["libvndk", "libvendor_available"],
|
shared_libs: ["libvndk", "libvendor_available"],
|
||||||
static_libs: ["libvendor", "libvendor_without_snapshot"],
|
static_libs: ["libvendor", "libvendor_without_snapshot"],
|
||||||
compile_multilib: "64",
|
arch: {
|
||||||
|
arm64: {
|
||||||
|
shared_libs: ["lib64"],
|
||||||
|
},
|
||||||
|
arm: {
|
||||||
|
shared_libs: ["lib32"],
|
||||||
|
},
|
||||||
|
},
|
||||||
srcs: ["client.cpp"],
|
srcs: ["client.cpp"],
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -374,41 +432,69 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
stl: "none",
|
stl: "none",
|
||||||
system_shared_libs: [],
|
system_shared_libs: [],
|
||||||
static_libs: ["libvndk"],
|
static_libs: ["libvndk"],
|
||||||
compile_multilib: "64",
|
|
||||||
srcs: ["bin.cpp"],
|
srcs: ["bin.cpp"],
|
||||||
}
|
}
|
||||||
|
|
||||||
vendor_snapshot {
|
vendor_snapshot {
|
||||||
name: "vendor_snapshot",
|
name: "vendor_snapshot",
|
||||||
compile_multilib: "first",
|
|
||||||
version: "28",
|
version: "28",
|
||||||
vndk_libs: [
|
arch: {
|
||||||
"libvndk",
|
arm64: {
|
||||||
],
|
vndk_libs: [
|
||||||
static_libs: [
|
"libvndk",
|
||||||
"libvendor",
|
],
|
||||||
"libvendor_available",
|
static_libs: [
|
||||||
"libvndk",
|
"libvendor",
|
||||||
],
|
"libvendor_available",
|
||||||
shared_libs: [
|
"libvndk",
|
||||||
"libvendor",
|
"lib64",
|
||||||
"libvendor_available",
|
],
|
||||||
],
|
shared_libs: [
|
||||||
binaries: [
|
"libvendor",
|
||||||
"bin",
|
"libvendor_available",
|
||||||
],
|
"lib64",
|
||||||
|
],
|
||||||
|
binaries: [
|
||||||
|
"bin",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
arm: {
|
||||||
|
vndk_libs: [
|
||||||
|
"libvndk",
|
||||||
|
],
|
||||||
|
static_libs: [
|
||||||
|
"libvendor",
|
||||||
|
"libvendor_available",
|
||||||
|
"libvndk",
|
||||||
|
"lib32",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libvendor",
|
||||||
|
"libvendor_available",
|
||||||
|
"lib32",
|
||||||
|
],
|
||||||
|
binaries: [
|
||||||
|
"bin32",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vendor_snapshot_static {
|
vendor_snapshot_static {
|
||||||
name: "libvndk",
|
name: "libvndk",
|
||||||
version: "28",
|
version: "28",
|
||||||
target_arch: "arm64",
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "both",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
arch: {
|
arch: {
|
||||||
arm64: {
|
arm64: {
|
||||||
src: "libvndk.a",
|
src: "libvndk.a",
|
||||||
export_include_dirs: ["include/libvndk"],
|
export_include_dirs: ["include/libvndk"],
|
||||||
},
|
},
|
||||||
|
arm: {
|
||||||
|
src: "libvndk.a",
|
||||||
|
export_include_dirs: ["include/libvndk"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -416,7 +502,7 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
name: "libvendor",
|
name: "libvendor",
|
||||||
version: "28",
|
version: "28",
|
||||||
target_arch: "arm64",
|
target_arch: "arm64",
|
||||||
compile_multilib: "64",
|
compile_multilib: "both",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libvendor_without_snapshot",
|
"libvendor_without_snapshot",
|
||||||
@@ -428,6 +514,62 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
src: "libvendor.so",
|
src: "libvendor.so",
|
||||||
export_include_dirs: ["include/libvendor"],
|
export_include_dirs: ["include/libvendor"],
|
||||||
},
|
},
|
||||||
|
arm: {
|
||||||
|
src: "libvendor.so",
|
||||||
|
export_include_dirs: ["include/libvendor"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
vendor_snapshot_static {
|
||||||
|
name: "lib32",
|
||||||
|
version: "28",
|
||||||
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "32",
|
||||||
|
vendor: true,
|
||||||
|
arch: {
|
||||||
|
arm: {
|
||||||
|
src: "lib32.a",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
vendor_snapshot_shared {
|
||||||
|
name: "lib32",
|
||||||
|
version: "28",
|
||||||
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "32",
|
||||||
|
vendor: true,
|
||||||
|
arch: {
|
||||||
|
arm: {
|
||||||
|
src: "lib32.so",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
vendor_snapshot_static {
|
||||||
|
name: "lib64",
|
||||||
|
version: "28",
|
||||||
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "64",
|
||||||
|
vendor: true,
|
||||||
|
arch: {
|
||||||
|
arm64: {
|
||||||
|
src: "lib64.a",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
vendor_snapshot_shared {
|
||||||
|
name: "lib64",
|
||||||
|
version: "28",
|
||||||
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "64",
|
||||||
|
vendor: true,
|
||||||
|
arch: {
|
||||||
|
arm64: {
|
||||||
|
src: "lib64.so",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -435,12 +577,17 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
name: "libvendor",
|
name: "libvendor",
|
||||||
version: "28",
|
version: "28",
|
||||||
target_arch: "arm64",
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "both",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
arch: {
|
arch: {
|
||||||
arm64: {
|
arm64: {
|
||||||
src: "libvendor.a",
|
src: "libvendor.a",
|
||||||
export_include_dirs: ["include/libvendor"],
|
export_include_dirs: ["include/libvendor"],
|
||||||
},
|
},
|
||||||
|
arm: {
|
||||||
|
src: "libvendor.a",
|
||||||
|
export_include_dirs: ["include/libvendor"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -448,12 +595,17 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
name: "libvendor_available",
|
name: "libvendor_available",
|
||||||
version: "28",
|
version: "28",
|
||||||
target_arch: "arm64",
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "both",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
arch: {
|
arch: {
|
||||||
arm64: {
|
arm64: {
|
||||||
src: "libvendor_available.so",
|
src: "libvendor_available.so",
|
||||||
export_include_dirs: ["include/libvendor"],
|
export_include_dirs: ["include/libvendor"],
|
||||||
},
|
},
|
||||||
|
arm: {
|
||||||
|
src: "libvendor_available.so",
|
||||||
|
export_include_dirs: ["include/libvendor"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -461,12 +613,17 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
name: "libvendor_available",
|
name: "libvendor_available",
|
||||||
version: "28",
|
version: "28",
|
||||||
target_arch: "arm64",
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "both",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
arch: {
|
arch: {
|
||||||
arm64: {
|
arm64: {
|
||||||
src: "libvendor_available.a",
|
src: "libvendor_available.a",
|
||||||
export_include_dirs: ["include/libvendor"],
|
export_include_dirs: ["include/libvendor"],
|
||||||
},
|
},
|
||||||
|
arm: {
|
||||||
|
src: "libvendor_available.so",
|
||||||
|
export_include_dirs: ["include/libvendor"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -474,6 +631,7 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
name: "bin",
|
name: "bin",
|
||||||
version: "28",
|
version: "28",
|
||||||
target_arch: "arm64",
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "64",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
arch: {
|
arch: {
|
||||||
arm64: {
|
arm64: {
|
||||||
@@ -482,11 +640,39 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vendor_snapshot_binary {
|
||||||
|
name: "bin32",
|
||||||
|
version: "28",
|
||||||
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "32",
|
||||||
|
vendor: true,
|
||||||
|
arch: {
|
||||||
|
arm: {
|
||||||
|
src: "bin32",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
// old snapshot module which has to be ignored
|
// old snapshot module which has to be ignored
|
||||||
vendor_snapshot_binary {
|
vendor_snapshot_binary {
|
||||||
name: "bin",
|
name: "bin",
|
||||||
version: "26",
|
version: "26",
|
||||||
target_arch: "arm64",
|
target_arch: "arm64",
|
||||||
|
compile_multilib: "first",
|
||||||
|
vendor: true,
|
||||||
|
arch: {
|
||||||
|
arm64: {
|
||||||
|
src: "bin",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
// different arch snapshot which has to be ignored
|
||||||
|
vendor_snapshot_binary {
|
||||||
|
name: "bin",
|
||||||
|
version: "28",
|
||||||
|
target_arch: "arm",
|
||||||
|
compile_multilib: "first",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
arch: {
|
arch: {
|
||||||
arm64: {
|
arm64: {
|
||||||
@@ -502,6 +688,7 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
"framework/Android.bp": []byte(frameworkBp),
|
"framework/Android.bp": []byte(frameworkBp),
|
||||||
"vendor/Android.bp": []byte(vendorProprietaryBp),
|
"vendor/Android.bp": []byte(vendorProprietaryBp),
|
||||||
"vendor/bin": nil,
|
"vendor/bin": nil,
|
||||||
|
"vendor/bin32": nil,
|
||||||
"vendor/bin.cpp": nil,
|
"vendor/bin.cpp": nil,
|
||||||
"vendor/client.cpp": nil,
|
"vendor/client.cpp": nil,
|
||||||
"vendor/include/libvndk/a.h": nil,
|
"vendor/include/libvndk/a.h": nil,
|
||||||
@@ -509,6 +696,10 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
"vendor/libvndk.a": nil,
|
"vendor/libvndk.a": nil,
|
||||||
"vendor/libvendor.a": nil,
|
"vendor/libvendor.a": nil,
|
||||||
"vendor/libvendor.so": nil,
|
"vendor/libvendor.so": nil,
|
||||||
|
"vendor/lib32.a": nil,
|
||||||
|
"vendor/lib32.so": nil,
|
||||||
|
"vendor/lib64.a": nil,
|
||||||
|
"vendor/lib64.so": nil,
|
||||||
"vndk/Android.bp": []byte(vndkBp),
|
"vndk/Android.bp": []byte(vndkBp),
|
||||||
"vndk/include/libvndk/a.h": nil,
|
"vndk/include/libvndk/a.h": nil,
|
||||||
"vndk/libvndk.so": nil,
|
"vndk/libvndk.so": nil,
|
||||||
@@ -529,6 +720,9 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
staticVariant := "android_vendor.28_arm64_armv8-a_static"
|
staticVariant := "android_vendor.28_arm64_armv8-a_static"
|
||||||
binaryVariant := "android_vendor.28_arm64_armv8-a"
|
binaryVariant := "android_vendor.28_arm64_armv8-a"
|
||||||
|
|
||||||
|
shared32Variant := "android_vendor.28_arm_armv7-a-neon_shared"
|
||||||
|
binary32Variant := "android_vendor.28_arm_armv7-a-neon"
|
||||||
|
|
||||||
// libclient uses libvndk.vndk.28.arm64, libvendor.vendor_static.28.arm64, libvendor_without_snapshot
|
// libclient uses libvndk.vndk.28.arm64, libvendor.vendor_static.28.arm64, libvendor_without_snapshot
|
||||||
libclientCcFlags := ctx.ModuleForTests("libclient", sharedVariant).Rule("cc").Args["cFlags"]
|
libclientCcFlags := ctx.ModuleForTests("libclient", sharedVariant).Rule("cc").Args["cFlags"]
|
||||||
for _, includeFlags := range []string{
|
for _, includeFlags := range []string{
|
||||||
@@ -554,7 +748,7 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
libclientAndroidMkSharedLibs := ctx.ModuleForTests("libclient", sharedVariant).Module().(*Module).Properties.AndroidMkSharedLibs
|
libclientAndroidMkSharedLibs := ctx.ModuleForTests("libclient", sharedVariant).Module().(*Module).Properties.AndroidMkSharedLibs
|
||||||
if g, w := libclientAndroidMkSharedLibs, []string{"libvndk.vendor", "libvendor_available.vendor"}; !reflect.DeepEqual(g, w) {
|
if g, w := libclientAndroidMkSharedLibs, []string{"libvndk.vendor", "libvendor_available.vendor", "lib64"}; !reflect.DeepEqual(g, w) {
|
||||||
t.Errorf("wanted libclient AndroidMkSharedLibs %q, got %q", w, g)
|
t.Errorf("wanted libclient AndroidMkSharedLibs %q, got %q", w, g)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -563,6 +757,11 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
t.Errorf("wanted libclient AndroidMkStaticLibs %q, got %q", w, g)
|
t.Errorf("wanted libclient AndroidMkStaticLibs %q, got %q", w, g)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libclient32AndroidMkSharedLibs := ctx.ModuleForTests("libclient", shared32Variant).Module().(*Module).Properties.AndroidMkSharedLibs
|
||||||
|
if g, w := libclient32AndroidMkSharedLibs, []string{"libvndk.vendor", "libvendor_available.vendor", "lib32"}; !reflect.DeepEqual(g, w) {
|
||||||
|
t.Errorf("wanted libclient32 AndroidMkSharedLibs %q, got %q", w, g)
|
||||||
|
}
|
||||||
|
|
||||||
// bin_without_snapshot uses libvndk.vendor_static.28.arm64
|
// bin_without_snapshot uses libvndk.vendor_static.28.arm64
|
||||||
binWithoutSnapshotCcFlags := ctx.ModuleForTests("bin_without_snapshot", binaryVariant).Rule("cc").Args["cFlags"]
|
binWithoutSnapshotCcFlags := ctx.ModuleForTests("bin_without_snapshot", binaryVariant).Rule("cc").Args["cFlags"]
|
||||||
if !strings.Contains(binWithoutSnapshotCcFlags, "-Ivendor/include/libvndk") {
|
if !strings.Contains(binWithoutSnapshotCcFlags, "-Ivendor/include/libvndk") {
|
||||||
@@ -580,6 +779,12 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
// libvendor.so is installed by libvendor.vendor_shared.28.arm64
|
// libvendor.so is installed by libvendor.vendor_shared.28.arm64
|
||||||
ctx.ModuleForTests("libvendor.vendor_shared.28.arm64", sharedVariant).Output("libvendor.so")
|
ctx.ModuleForTests("libvendor.vendor_shared.28.arm64", sharedVariant).Output("libvendor.so")
|
||||||
|
|
||||||
|
// lib64.so is installed by lib64.vendor_shared.28.arm64
|
||||||
|
ctx.ModuleForTests("lib64.vendor_shared.28.arm64", sharedVariant).Output("lib64.so")
|
||||||
|
|
||||||
|
// lib32.so is installed by lib32.vendor_shared.28.arm64
|
||||||
|
ctx.ModuleForTests("lib32.vendor_shared.28.arm64", shared32Variant).Output("lib32.so")
|
||||||
|
|
||||||
// libvendor_available.so is installed by libvendor_available.vendor_shared.28.arm64
|
// libvendor_available.so is installed by libvendor_available.vendor_shared.28.arm64
|
||||||
ctx.ModuleForTests("libvendor_available.vendor_shared.28.arm64", sharedVariant).Output("libvendor_available.so")
|
ctx.ModuleForTests("libvendor_available.vendor_shared.28.arm64", sharedVariant).Output("libvendor_available.so")
|
||||||
|
|
||||||
@@ -589,6 +794,9 @@ func TestVendorSnapshotUse(t *testing.T) {
|
|||||||
// bin is installed by bin.vendor_binary.28.arm64
|
// bin is installed by bin.vendor_binary.28.arm64
|
||||||
ctx.ModuleForTests("bin.vendor_binary.28.arm64", binaryVariant).Output("bin")
|
ctx.ModuleForTests("bin.vendor_binary.28.arm64", binaryVariant).Output("bin")
|
||||||
|
|
||||||
|
// bin32 is installed by bin32.vendor_binary.28.arm64
|
||||||
|
ctx.ModuleForTests("bin32.vendor_binary.28.arm64", binary32Variant).Output("bin32")
|
||||||
|
|
||||||
// bin_without_snapshot is installed by bin_without_snapshot
|
// bin_without_snapshot is installed by bin_without_snapshot
|
||||||
ctx.ModuleForTests("bin_without_snapshot", binaryVariant).Output("bin_without_snapshot")
|
ctx.ModuleForTests("bin_without_snapshot", binaryVariant).Output("bin_without_snapshot")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user