aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-10-12 21:49:38 +0900
committerJiyong Park <jiyong@google.com>2018-10-16 09:53:11 +0900
commitff1458f670e29ed172d7352e6e56ea3d62aae8ea (patch)
tree0ff82b7f894f960aeeb894a02b9dbd8d1f7fa050 /Android.bp
parent153c2f8ba339cce73881570a6c7c2a51b0013d50 (diff)
downloadbuild_soong-ff1458f670e29ed172d7352e6e56ea3d62aae8ea.tar.gz
build_soong-ff1458f670e29ed172d7352e6e56ea3d62aae8ea.tar.bz2
build_soong-ff1458f670e29ed172d7352e6e56ea3d62aae8ea.zip
APEX can be signed with different keys
A new module type 'apex_key' is defined to specify public and private key pair for APEXs. An APEX can refer to the module via the property 'key'. When building the APEX, the private key from the key module is used to sign it. In addition, the public key from the key module is automatically installed to /system/etc/security/apex. Bug: 115721587 Test: m apex.test; m /apex/com.android.example.apex@1 exists Change-Id: I82666db095bd7a09f6c1b9cbea2db57ebc076cbf
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 20378189..bdc34d04 100644
--- a/Android.bp
+++ b/Android.bp
@@ -348,6 +348,7 @@ bootstrap_go_package {
],
srcs: [
"apex/apex.go",
+ "apex/key.go",
],
pluginFor: ["soong_build"],
}