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
diff --git a/cc/cc_test.go b/cc/cc_test.go
index e4904f2..d6ffe51 100644
--- a/cc/cc_test.go
+++ b/cc/cc_test.go
@@ -894,9 +894,7 @@
}
`)
- // 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 @@
}
`)
- // 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,