summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-03-27 09:59:37 -0700
committerSteven Moreland <smoreland@google.com>2018-03-27 10:00:08 -0700
commit7940454756f4966083d8be75e3b048e955b960e6 (patch)
tree777592bb906a02b20257fb03eaab0084091d962a
parentb3eef60c364f76afabedcff10b4a7b6c6e8ab39d (diff)
downloadvr-7940454756f4966083d8be75e3b048e955b960e6.tar.gz
Make vr.$TARGET_BOARD_PLATFORM build with the VNDK.
When the vndk is enabled (BOARD_VNDK_VERSION=current), vendor libraries must only link against vendor variants in the build system. This also means that they receive restricted sets of headers and that automatic global headers are restricted. Test: build vr.$TARGET_BOARD_PLATFORM with BOARD_VNDK_VERSION=current Bug: 69574580 Change-Id: I078ba3bebd8bd8030bf9b5741c6ac0ba9ebf4c80
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 99df099..6e43edd 100644
--- a/Android.mk
+++ b/Android.mk
@@ -30,6 +30,7 @@ ifeq ($(call is-board-platform-in-list,sdm845), true)
LOCAL_SRC_FILES += vr-845.c
endif
+LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -Wno-unused-parameter