Build lights.msm8998 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: BOARD_VNDK_VERSION=current m -j k lights.msm8998

Bug: 37342627

Change-Id: I300654fbe4774c43a61104b9be0833fd06fa1548
This commit is contained in:
Jayant Chowdhary 2017-07-10 15:53:10 -07:00
parent 3f9dd32785
commit e54e422cee
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ LOCAL_SHARED_LIBRARIES := liblog
LOCAL_CFLAGS := -DLOG_TAG=\"qdlights\"
LOCAL_CLANG := true
LOCAL_MODULE := lights.$(TARGET_BOARD_PLATFORM)
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_MODULE_TAGS := optional
LOCAL_VENDOR_MODULE := true