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:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user