summaryrefslogtreecommitdiff
path: root/sdk/cc_sdk_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2020-03-04 14:22:45 +0000
committer Paul Duffin <paulduffin@google.com> 2020-03-05 08:29:02 +0000
commitbefa4b91d707dedb80c7b234ac2f06d5f42ec553 (patch)
tree30b54c06b0fda8b5a90da0fd71b93e7b0dd6c0c9 /sdk/cc_sdk_test.go
parentc6d627b26844a60382894baace0b218143e72b04 (diff)
Copy apex_available properties to snapshot modules
Bug: 142935992 Test: m nothing Change-Id: I1cdaae5b4e13a89dc46541dacd34ef5a44735b6a
Diffstat (limited to 'sdk/cc_sdk_test.go')
-rw-r--r--sdk/cc_sdk_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/sdk/cc_sdk_test.go b/sdk/cc_sdk_test.go
index 45b548ccb..a14890ef2 100644
--- a/sdk/cc_sdk_test.go
+++ b/sdk/cc_sdk_test.go
@@ -414,6 +414,7 @@ func TestSnapshotWithCcSharedLibrary(t *testing.T) {
"Test.cpp",
"aidl/foo/bar/Test.aidl",
],
+ apex_available: ["apex1", "apex2"],
export_include_dirs: ["include"],
aidl: {
export_aidl_headers: true,
@@ -430,6 +431,10 @@ func TestSnapshotWithCcSharedLibrary(t *testing.T) {
cc_prebuilt_library_shared {
name: "mysdk_mynativelib@current",
sdk_member_name: "mynativelib",
+ apex_available: [
+ "apex1",
+ "apex2",
+ ],
export_include_dirs: ["include/include"],
arch: {
arm64: {
@@ -448,6 +453,10 @@ cc_prebuilt_library_shared {
cc_prebuilt_library_shared {
name: "mynativelib",
prefer: false,
+ apex_available: [
+ "apex1",
+ "apex2",
+ ],
export_include_dirs: ["include/include"],
arch: {
arm64: {