summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vndk/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/vndk/Android.mk b/vndk/Android.mk
index 1386fa5..8a1f24b 100644
--- a/vndk/Android.mk
+++ b/vndk/Android.mk
@@ -1,3 +1,5 @@
+ifeq ($(BOARD_VNDK_VERSION),)
+$(warning ************* BOARD VNDK is not enabled - compiling vndk-sp ***************************)
LOCAL_PATH := $(call my-dir)
include $(LOCAL_PATH)/vndk-sp-libs.mk
@@ -40,3 +42,4 @@ LOCAL_MODULE := vndk-sp
LOCAL_MODULE_TAGS := optional
LOCAL_REQUIRED_MODULES := $(addsuffix .vndk-sp-gen,$(VNDK_SP_LIBRARIES))
include $(BUILD_PHONY_PACKAGE)
+endif