Add shared_libs to vendor and recovery targets.
Prerequisite for https://android-review.googlesource.com/815573. Test: Built system/core/libunwindstack with https://android-review.googlesource.com/815573 Bug: 118374951 Change-Id: I6dd7ba1416f34291792c8ac5cf74048753f3e2f6
This commit is contained in:
@@ -894,9 +894,7 @@ func TestVndkUseVndkExtError(t *testing.T) {
|
||||
}
|
||||
`)
|
||||
|
||||
// The pattern should be "module \".*\" variant \".*\": \\(.*\\) should not link to \".*\""
|
||||
// but target.vendor.shared_libs has not been supported yet.
|
||||
testCcError(t, "unrecognized property \"target.vendor.shared_libs\"", `
|
||||
testCcError(t, "module \".*\" variant \".*\": \\(.*\\) should not link to \".*\"", `
|
||||
cc_library {
|
||||
name: "libvndk",
|
||||
vendor_available: true,
|
||||
@@ -965,9 +963,7 @@ func TestVndkUseVndkExtError(t *testing.T) {
|
||||
}
|
||||
`)
|
||||
|
||||
// The pattern should be "module \".*\" variant \".*\": \\(.*\\) should not link to \".*\""
|
||||
// but target.vendor.shared_libs has not been supported yet.
|
||||
testCcError(t, "unrecognized property \"target.vendor.shared_libs\"", `
|
||||
testCcError(t, "module \".*\" variant \".*\": \\(.*\\) should not link to \".*\"", `
|
||||
cc_library {
|
||||
name: "libvndk_sp",
|
||||
vendor_available: true,
|
||||
|
Reference in New Issue
Block a user