diff options
author | Dario Freni <dariofreni@google.com> | 2020-04-27 11:08:21 +0100 |
---|---|---|
committer | Dario Freni <dariofreni@google.com> | 2020-04-27 13:34:57 +0100 |
commit | 13e703a7db683143ddc0f1dab0f00e3d4256f970 (patch) | |
tree | c4a6e60bb2c044dea87f0e5c4094621eadbceafd | |
parent | f39b81b6d1716f3afde1c9f09e2a794b1de9ab08 (diff) | |
download | platform_system_apex-13e703a7db683143ddc0f1dab0f00e3d4256f970.tar.gz platform_system_apex-13e703a7db683143ddc0f1dab0f00e3d4256f970.tar.bz2 platform_system_apex-13e703a7db683143ddc0f1dab0f00e3d4256f970.zip |
Add build rule for a shim without APK signature.
Bug: 148447155
Test: mm
Change-Id: I070c9aff9bc7b8e4b2931e2fe1f017c3b5479689
-rw-r--r-- | shim/build/Android.bp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shim/build/Android.bp b/shim/build/Android.bp index 7ed7b71c..8529598c 100644 --- a/shim/build/Android.bp +++ b/shim/build/Android.bp @@ -449,3 +449,14 @@ apex { apps: ["CtsShimTargetPSdk"], installable: false, } + +// Apex shim with unsigned apk +genrule { + name: "com.android.apex.cts.shim.v2_unsigned_apk_container", + srcs: [":com.android.apex.cts.shim.v2"], + out: ["com.android.apex.cts.shim.v2_unsigned_apk_container.apex"], + cmd: "cp -v $(in) $(out) && zip -d $(out) META-INF*", + dist: { + targets: ["apps_only"], + } +} |