diff options
| author | Steven Moreland <smoreland@google.com> | 2018-01-25 13:48:42 -0800 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2018-01-25 13:54:53 -0800 |
| commit | 7f389219562f3cbc4800e7ee7d25628f355fefb3 (patch) | |
| tree | 6881aa36eddb7ce09bc1d7738829b72746292bd5 /liblight | |
| parent | 153534105d045819beb68a0e795300da85f65d64 (diff) | |
Make liblight 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 liblight with BOARD_VNDK_VERSION=current
Bug: 69526027
Change-Id: If017a82757810f64ee66094b1f63df5b4409fcad
Diffstat (limited to 'liblight')
| -rw-r--r-- | liblight/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/liblight/Android.mk b/liblight/Android.mk index 8054149d..192a9b6b 100644 --- a/liblight/Android.mk +++ b/liblight/Android.mk @@ -20,6 +20,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := lights.c LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_SHARED_LIBRARIES := libc libcutils liblog +LOCAL_HEADER_LIBRARIES := libhardware_headers LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdlights\" -DDEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS=$(DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS) LOCAL_MODULE := lights.$(TARGET_DEVICE) LOCAL_MODULE_TAGS := optional |
