diff options
author | Steven Moreland <smoreland@google.com> | 2018-03-27 09:59:37 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2018-03-27 10:00:08 -0700 |
commit | 7940454756f4966083d8be75e3b048e955b960e6 (patch) | |
tree | 777592bb906a02b20257fb03eaab0084091d962a | |
parent | b3eef60c364f76afabedcff10b4a7b6c6e8ab39d (diff) | |
download | vr-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.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |