From b50e662b3e55014c73a9eccdc5bbbc22311cce1a Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Tue, 21 Apr 2020 22:36:31 +0900 Subject: [PATCH] Make CtsShim*Prebuilt be available to the test APEXes android_app_import now supports apex_available property. Fill the property for the CtsShim*Prebuilt apks so that they can be correctly included in the test APEXes. Bug: 154488897 Test: m Change-Id: I9cf2e30bb38abbb33bf76a0eab0dc2a10a5647c9 --- packages/CtsShim/Android.bp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/packages/CtsShim/Android.bp b/packages/CtsShim/Android.bp index 7728464f86529..34878035051d2 100644 --- a/packages/CtsShim/Android.bp +++ b/packages/CtsShim/Android.bp @@ -43,6 +43,15 @@ android_app_import { }, }, presigned: true, + + apex_available: [ + "com.android.apex.cts.shim.v1", + "com.android.apex.cts.shim.v2", + "com.android.apex.cts.shim.v2_legacy", + "com.android.apex.cts.shim.v2_no_hashtree", + "com.android.apex.cts.shim.v2_sdk_target_p", + "com.android.apex.cts.shim.v3", + ], } //########################################################## @@ -71,4 +80,13 @@ android_app_import { }, }, presigned: true, + + apex_available: [ + "com.android.apex.cts.shim.v1", + "com.android.apex.cts.shim.v2", + "com.android.apex.cts.shim.v2_legacy", + "com.android.apex.cts.shim.v2_no_hashtree", + "com.android.apex.cts.shim.v2_sdk_target_p", + "com.android.apex.cts.shim.v3", + ], }