summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Freni <dariofreni@google.com>2020-04-27 18:35:23 +0100
committerDario Freni <dariofreni@google.com>2020-04-27 21:03:37 +0100
commit1cb5d2a49737ce5ce97fce3699d2b705bd95da1d (patch)
treea6d432050812fa34f940c6014a889d4b711aae39
parentbb779fcab14965080cc06ccbac64e837203ae9e2 (diff)
downloadplatform_system_apex-1cb5d2a49737ce5ce97fce3699d2b705bd95da1d.tar.gz
platform_system_apex-1cb5d2a49737ce5ce97fce3699d2b705bd95da1d.tar.bz2
platform_system_apex-1cb5d2a49737ce5ce97fce3699d2b705bd95da1d.zip
Add a test apex with unsigned payload.
Bug: 148447155 Test: m Change-Id: If839cdb9ca23585ca9019268e122cf272fbd7af8
-rw-r--r--shim/build/Android.bp13
1 files changed, 13 insertions, 0 deletions
diff --git a/shim/build/Android.bp b/shim/build/Android.bp
index 8529598c..f1953454 100644
--- a/shim/build/Android.bp
+++ b/shim/build/Android.bp
@@ -85,6 +85,19 @@ apex {
test_only_no_hashtree: true,
}
+apex {
+ name: "com.android.apex.cts.shim.v2_unsigned_payload",
+ manifest: "manifest_v2.json",
+ androidManifest: "AndroidManifest.xml",
+ file_contexts: ":apex.test-file_contexts",
+ key: "com.android.apex.cts.shim.key",
+ prebuilts: ["hash_of_dev_null"],
+ apps: ["CtsShim", "CtsShimPriv"],
+ installable: false,
+ whitelisted_files: "default_shim_whitelist.txt",
+ test_only_unsigned_payload: true,
+}
+
override_apex {
name: "com.android.apex.cts.shim.v2_different_package_name",
package_name: "com.android.apex.cts.shim.different",