From f001e37b316a0d5b9c9eda08bbe53ea4b06562a3 Mon Sep 17 00:00:00 2001 From: Adam Lesinski Date: Mon, 20 Oct 2014 16:15:33 -0700 Subject: libandroidfw: Do not build device library when building SDK Building the windows SDK causes a build failure if the device libandroidfw target is not omitted. Change-Id: I587b166342d0d047820911d279f192d2b39b6263 --- libs/androidfw/tests/Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/androidfw') diff --git a/libs/androidfw/tests/Android.mk b/libs/androidfw/tests/Android.mk index 1344dd9..b2e465c 100644 --- a/libs/androidfw/tests/Android.mk +++ b/libs/androidfw/tests/Android.mk @@ -51,6 +51,7 @@ include $(BUILD_HOST_NATIVE_TEST) # ========================================================== # Build the device tests: libandroidfw_tests # ========================================================== +ifneq ($(SDK_ONLY),true) include $(CLEAR_VARS) LOCAL_MODULE := libandroidfw_tests @@ -67,3 +68,5 @@ LOCAL_SHARED_LIBRARIES := \ libstlport include $(BUILD_NATIVE_TEST) +endif # Not SDK_ONLY + -- cgit v1.1