From 73e453d8b79be3213f5428accf5836ef346e88fa Mon Sep 17 00:00:00 2001 From: Tarun Karela Date: Thu, 31 May 2018 21:11:12 +0100 Subject: [PATCH] [9610] wlbt: Fix more compilation errors Issues when integrating patch to Android P SCSC-Bug-Id: SSB-40175 Signed-off-by: Tarun Karela Change-Id: I519f29a16dccb63454312b03497c89f5f28c05d9 --- Android.mk | 3 ++- wifi_logger.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index bcc5a36..087689a 100755 --- a/Android.mk +++ b/Android.mk @@ -15,7 +15,7 @@ include $(CLEAR_VARS) LOCAL_CFLAGS := -Wno-unused-parameter LOCAL_C_INCLUDES += \ - system/core/include/utils \ + system/core/include/ \ external/libnl/include \ $(call include-path-for, libhardware_legacy)/hardware_legacy \ external/wpa_supplicant_8/src/drivers @@ -32,6 +32,7 @@ LOCAL_SRC_FILES := \ wifi_logger.cpp LOCAL_MODULE := libwifi-hal-slsi +LOCAL_VENDOR_MODULE := true include $(BUILD_STATIC_LIBRARY) diff --git a/wifi_logger.cpp b/wifi_logger.cpp index a09d864..03ed87f 100755 --- a/wifi_logger.cpp +++ b/wifi_logger.cpp @@ -27,7 +27,7 @@ #include "common.h" #include "cpp_bindings.h" -using namespace android; +/* using namespace android; */ typedef enum { ENHANCE_LOGGER_START_LOGGING = ANDROID_NL80211_SUBCMD_DEBUG_RANGE_START, -- 2.20.1