summaryrefslogtreecommitdiffstats
path: root/libs/androidfw
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-10-20 16:15:33 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-10-24 18:39:56 +0000
commitf001e37b316a0d5b9c9eda08bbe53ea4b06562a3 (patch)
tree085f4aeed2b7271b3d573b143ad5e4be6657585e /libs/androidfw
parent272b0a1d6acdb7c4d244a498f3769e20c35f43d1 (diff)
downloadframeworks_base-f001e37b316a0d5b9c9eda08bbe53ea4b06562a3.zip
frameworks_base-f001e37b316a0d5b9c9eda08bbe53ea4b06562a3.tar.gz
frameworks_base-f001e37b316a0d5b9c9eda08bbe53ea4b06562a3.tar.bz2
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
Diffstat (limited to 'libs/androidfw')
-rw-r--r--libs/androidfw/tests/Android.mk3
1 files changed, 3 insertions, 0 deletions
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
+