[9610] wlbt: Fix more compilation errors
authorTarun Karela <t.karela@samsung.com>
Thu, 31 May 2018 20:11:12 +0000 (21:11 +0100)
committerTarun Karela <t.karela@samsung.com>
Mon, 4 Jun 2018 09:40:47 +0000 (10:40 +0100)
Issues when integrating patch to Android P
SCSC-Bug-Id: SSB-40175
Signed-off-by: Tarun Karela <t.karela@samsung.com>
Change-Id: I519f29a16dccb63454312b03497c89f5f28c05d9

Android.mk
wifi_logger.cpp

index bcc5a36fb4bc5cb4b81b8269b571df03c13a8a60..087689a475ad722fe52fe942d6bf3cd18ee6ee75 100755 (executable)
@@ -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)
 
index a09d86489a64449360a6540da26c3249fb24d007..03ed87fd370e3c6c6228a5f7d5388baa0c44089f 100755 (executable)
@@ -27,7 +27,7 @@
 #include "common.h"\r
 #include "cpp_bindings.h"\r
 \r
-using namespace android;\r
+/* using namespace android; */\r
 \r
 typedef enum {\r
     ENHANCE_LOGGER_START_LOGGING = ANDROID_NL80211_SUBCMD_DEBUG_RANGE_START,\r