display: VNDK header fixes

Change-Id: Id7604ac803e49940aa2b49e106b414b4be1a25ad
This commit is contained in:
Naseer Ahmed
2018-03-27 19:53:30 -04:00
parent ba0f83c385
commit e7650ea727
5 changed files with 6 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ cc_library_headers {
"sdm/include",
"gralloc",
],
header_libs: ["libhardware_headers"],
export_header_lib_headers: ["libhardware_headers"],
}
subdirs = [

View File

@@ -23,6 +23,7 @@ LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/qdcm/inc
LOCAL_SRC_FILES := lights.c lights_prv.cpp
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SHARED_LIBRARIES := liblog libcutils libsdm-disp-vndapis
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_CFLAGS := -DLOG_TAG=\"qdlights\"
ifeq ($(LLVM_SA), true)
LOCAL_CFLAGS += --compile-and-analyze --analyzer-perf --analyzer-Werror

View File

@@ -24,6 +24,7 @@ LOCAL_C_INCLUDES += hardware/libhardware/include
LOCAL_CFLAGS := -Wconversion -Wall -Werror -Wno-sign-conversion
LOCAL_CLANG := true
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_SRC_FILES := memtrack_msm.c kgsl.c
LOCAL_MODULE := memtrack.$(TARGET_BOARD_PLATFORM)
include $(BUILD_SHARED_LIBRARY)

View File

@@ -2,6 +2,7 @@ cc_library_shared {
name: "libqdutils",
vendor: true,
defaults: ["display_defaults"],
header_libs: ["libhardware_headers"],
shared_libs: [
"libbinder",
"libqservice",

View File

@@ -25,8 +25,8 @@
#include <binder/IBinder.h>
#include <binder/IInterface.h>
#include <binder/IPCThreadState.h>
#include <cutils/android_filesystem_config.h>
#include <utils/Errors.h>
#include <private/android_filesystem_config.h>
#include <IQService.h>
#define QSERVICE_DEBUG 0