summaryrefslogtreecommitdiff
path: root/vndk
diff options
context:
space:
mode:
authorVinay Verma <vvinay@codeaurora.org>2018-04-30 00:24:13 +0530
committerTingyiChen <tingyi364@gmail.com>2019-08-13 11:54:48 +0200
commit616a9e6010ec8a7998c3efff52c94a08d68d0621 (patch)
tree6c2852021a8a8b257323d7a4520456278c0606e8 /vndk
parent2c5dc5311324bc66dfbf5db0619254158668e6b8 (diff)
wayne-common: Disable vndk-sp creation for VNDK enabled targets.
Change-Id: Idf17c7ddeab922c231fc3e9bb786c45dfa54684b
Diffstat (limited to 'vndk')
-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