summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-04-27 17:55:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-27 17:55:53 +0000
commitc07c87380805ab26a2307ff694b2725eb81e4fe9 (patch)
treed089f70a085b385a7d03a2bc3aac66cba49e44f3
parentaf157ab1f11ffd49530b2af9bc4b9fe08fe46bdf (diff)
parent13e703a7db683143ddc0f1dab0f00e3d4256f970 (diff)
downloadplatform_system_apex-c07c87380805ab26a2307ff694b2725eb81e4fe9.tar.gz
platform_system_apex-c07c87380805ab26a2307ff694b2725eb81e4fe9.tar.bz2
platform_system_apex-c07c87380805ab26a2307ff694b2725eb81e4fe9.zip
Merge "Add build rule for a shim without APK signature." into rvc-dev
-rw-r--r--shim/build/Android.bp11
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"],
+ }
+}