From 3c21fe5b12d95fe374b9b8c874dc4c48b7f9fce1 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Tue, 4 Oct 2011 10:50:08 -0700 Subject: Support for product-specific dev keys. Change-Id: Id577a72ee9f7cd70e8ca77efcbf10a37885c7d6f --- core/config.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/config.mk') 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. # ############################################################### -- cgit v1.1