summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2018-04-19 17:05:23 +0530
committerManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2018-04-19 17:05:23 +0530
commit9533ac51250ba25daf287d5f75440106227a35b8 (patch)
treef1977b5eb8b020694176c72614dff47e3c56ae2a
parentc473364751aa2f8bd44b01d64251a90e02301a5c (diff)
downloadthermal-9533ac51250ba25daf287d5f75440106227a35b8.tar.gz
thermal-hal: Use header libraries for AOSP project header reference
As per new NDK compliance, headers from AOSP/Google projects cannot be referenced with absolute paths or global paths in vendor code. Update thermal-engine code with AOSP header library where ever it references AOSP project headers. Change-Id: I2e35cd54711d6298248ba466206d6dcb73663401
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 5b2add9..a522d56 100644
--- a/Android.mk
+++ b/Android.mk
@@ -36,6 +36,7 @@ ifeq ($(SUPPORT_THERMAL_HAL),)
LOCAL_SRC_FILES := thermal-default.c
endif
+LOCAL_HEADER_LIBRARIES := libutils_headers
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := -Wno-unused-parameter