summaryrefslogtreecommitdiffstats
path: root/core/config.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-10-04 10:50:08 -0700
committerYing Wang <wangying@google.com>2011-10-04 10:50:08 -0700
commit3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1 (patch)
tree62df898db6926f6897181aad2b716be94f7fa96d /core/config.mk
parent6e69feed1a3d57d3206f7dabe32e06e8b07189e2 (diff)
downloadbuild-3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1.zip
build-3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1.tar.gz
build-3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1.tar.bz2
Support for product-specific dev keys.
Change-Id: Id577a72ee9f7cd70e8ca77efcbf10a37885c7d6f
Diffstat (limited to 'core/config.mk')
-rw-r--r--core/config.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk
index c4f08fd..41e60ea 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -288,6 +288,13 @@ APICHECK_CLASSPATH := $(APICHECK_CLASSPATH):$(HOST_OUT_JAVA_LIBRARIES)/doclava$(
APICHECK_CLASSPATH := $(APICHECK_CLASSPATH):$(HOST_OUT_JAVA_LIBRARIES)/jsilver$(COMMON_JAVA_PACKAGE_SUFFIX)
APICHECK_COMMAND := $(APICHECK) -JXmx1024m -J"classpath $(APICHECK_CLASSPATH)"
+# The default key if not set as LOCAL_CERTIFICATE
+ifdef PRODUCT_DEFAULT_DEV_CERTIFICATE
+ DEFAULT_SYSTEM_DEV_CERTIFICATE := $(PRODUCT_DEFAULT_DEV_CERTIFICATE)
+else
+ DEFAULT_SYSTEM_DEV_CERTIFICATE := build/target/product/security/testkey
+endif
+
# ###############################################################
# Set up final options.
# ###############################################################