aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-04-23 18:00:10 +0900
committerJiyong Park <jiyong@google.com>2019-04-29 09:21:23 +0900
commit4d27704da0ab00f27b4332652a4edf3db7ae2272 (patch)
treef8808ef442b36fd604a3e9bac99cc68012ed1c88 /android
parentf3c5e4816c0d1cd16d06c4248cc3a88eeda052d7 (diff)
downloadsoong-4d27704da0ab00f27b4332652a4edf3db7ae2272.tar.gz
Prebuilt APEXes are recoreded in apexkeys.txt
apexkeys.txt now correctly lists prebuilt APEXes with keys specified as PRESIGNED. This change also fixes a bug that non-installable APEXes are listed in the file. Bug: 131130235 Test: m out/soong/apexkeys.txt and check that com.android.apex.cts.shim.apex is listed there with PRESIGNED keys. Merged-In: Ib6d391a82864714743a1cc59cd655bea917b5073 Change-Id: Ib6d391a82864714743a1cc59cd655bea917b5073 (cherry picked from commit a41f12a6fa05a030b426fe68dc0f5d6203a73c79)
Diffstat (limited to 'android')
-rw-r--r--android/prebuilt.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/prebuilt.go b/android/prebuilt.go
index df25a89fa..2556770de 100644
--- a/android/prebuilt.go
+++ b/android/prebuilt.go
@@ -74,6 +74,10 @@ func (p *Prebuilt) SingleSourcePath(ctx ModuleContext) Path {
}
}
+func (p *Prebuilt) UsePrebuilt() bool {
+ return p.properties.UsePrebuilt
+}
+
func InitPrebuiltModule(module PrebuiltInterface, srcs *[]string) {
p := module.Prebuilt()
module.AddProperties(&p.properties)