Copy apex_available properties to snapshot modules

Bug: 142935992
Bug: 153306490
Test: m nothing
Merged-In: I1cdaae5b4e13a89dc46541dacd34ef5a44735b6a
Change-Id: I1cdaae5b4e13a89dc46541dacd34ef5a44735b6a
This commit is contained in:
Paul Duffin
2020-03-04 14:22:45 +00:00
parent 28d70c74db
commit 3a6c095145
3 changed files with 24 additions and 1 deletions

View File

@@ -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: {