From 9734252ccf26fd3067d68719d8476b48acc07a2f Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 21 May 2014 17:45:52 -0700 Subject: [PATCH] Don't build tests in PDK build. Change-Id: I8994be0938a3ce87a097669c28b232fd04b77a36 --- core/main.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/main.mk b/core/main.mk index 3b5a0230c..dd5cfa3fe 100644 --- a/core/main.mk +++ b/core/main.mk @@ -993,9 +993,11 @@ target-native-tests : native-target-tests tests : host-tests target-tests # To catch more build breakage, check build tests modules in eng and userdebug builds. +ifneq ($(TARGET_BUILD_PDK),true) ifneq ($(filter eng userdebug,$(TARGET_BUILD_VARIANT)),) droidcore : target-tests host-tests endif +endif .PHONY: lintall -- 2.11.0