Make light 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 light with BOARD_VNDK_VERSION=current Bug: 69526027 Change-Id: I8ad1da8aa2802a93493c877644266995c59f18ab
This commit is contained in:
parent
0a489f6722
commit
c0f68916f8
|
@ -20,6 +20,7 @@ include $(CLEAR_VARS)
|
|||
LOCAL_SRC_FILES := lights.c
|
||||
LOCAL_MODULE_RELATIVE_PATH := hw
|
||||
LOCAL_PROPRIETARY_MODULE := true
|
||||
LOCAL_HEADER_LIBRARIES := libhardware_headers
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"qdlights\"
|
||||
LOCAL_CLANG := true
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
// #define LOG_NDEBUG 0
|
||||
|
||||
#include <cutils/log.h>
|
||||
#include <log/log.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue