summaryrefslogtreecommitdiffstats
path: root/core/prebuilt.mk
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-12-14 09:56:19 -0800
committerDoug Zongker <dougz@android.com>2009-12-14 10:14:46 -0800
commit714111cbdde0fd5c4f276d4666ddb99cbf0c5008 (patch)
tree14c9b98fc7aab4dab9891251c642e23726bc13c2 /core/prebuilt.mk
parent9bc88726cb24e92007d42c126ec094e687b3905f (diff)
downloadbuild-714111cbdde0fd5c4f276d4666ddb99cbf0c5008.zip
build-714111cbdde0fd5c4f276d4666ddb99cbf0c5008.tar.gz
build-714111cbdde0fd5c4f276d4666ddb99cbf0c5008.tar.bz2
include pre-signed prebuilt .apks in apkcerts.txt
Diffstat (limited to 'core/prebuilt.mk')
-rw-r--r--core/prebuilt.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/prebuilt.mk b/core/prebuilt.mk
index 706dfc6..2693f5d 100644
--- a/core/prebuilt.mk
+++ b/core/prebuilt.mk
@@ -51,7 +51,12 @@ ifeq ($(LOCAL_CERTIFICATE),)
else ifeq ($(LOCAL_CERTIFICATE),PRESIGNED)
# The magic string "PRESIGNED" means this package is already checked
# signed with its release key.
- # Can't re-sign this package, so predexopt is not available.
+ #
+ # By setting .CERTIFICATE but not .PRIVATE_KEY, this package will be
+ # mentioned in apkcerts.txt (with certificate set to "PRESIGNED")
+ # but the dexpreopt process will not try to re-sign the app.
+ PACKAGES.$(LOCAL_MODULE).CERTIFICATE := PRESIGNED
+ PACKAGES := $(PACKAGES) $(LOCAL_MODULE)
else
# If this is not an absolute certificate, assign it to a generic one.
ifeq ($(dir $(strip $(LOCAL_CERTIFICATE))),./)