wlbt: android.mk change to bp
authorYoungsoo <youngss.kim@samsung.com>
Wed, 20 Nov 2019 09:10:39 +0000 (18:10 +0900)
committerYoungsoo Kim <youngss.kim@samsung.com>
Wed, 27 May 2020 06:15:26 +0000 (15:15 +0900)
Change-Id: I2e9417b66b3cb705ec3df200047f523107ffdf0a
Signed-off-by: Youngsoo <youngss.kim@samsung.com>
Android.bp [new file with mode: 0644]
Android.mk [deleted file]

diff --git a/Android.bp b/Android.bp
new file mode 100644 (file)
index 0000000..0ba125c
--- /dev/null
@@ -0,0 +1,43 @@
+//############################################################################
+//
+// Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd
+//
+//############################################################################
+
+// ANDROIDMK TRANSLATION ERROR: unsupported conditional
+// ifeq ($(CONFIG_SAMSUNG_SCSC_WIFIBT),true)
+
+// Make the HAL library
+// ============================================================
+cc_library_static {
+    name: "libwifi-hal-slsi",
+
+    cflags: ["-Wno-unused-parameter"],
+
+    include_dirs: [
+        "system/core/include/",
+        "external/libnl/include",
+        "hardware/libhardware_legacy/include/hardware_legacy",
+        "external/wpa_supplicant_8/src/drivers",
+    ],
+
+    srcs: [
+        "wifi_hal.cpp",
+        "rtt.cpp",
+        "common.cpp",
+        "cpp_bindings.cpp",
+        "gscan.cpp",
+        "link_layer_stats.cpp",
+        "wifi_offload.cpp",
+        "roam.cpp",
+        "wifi_logger.cpp",
+        "wifi_nan.cpp",
+        "wifi_nan_data_path.cpp",
+    ],
+
+    vendor: true,
+
+}
+
+// ANDROIDMK TRANSLATION ERROR: endif from unsupported conditional
+// endif
diff --git a/Android.mk b/Android.mk
deleted file mode 100755 (executable)
index d02568e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#############################################################################
-#
-# Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd
-#
-#############################################################################
-
-ifeq ($(CONFIG_SAMSUNG_SCSC_WIFIBT),true)
-
-LOCAL_PATH := $(call my-dir)
-
-# Make the HAL library
-# ============================================================
-include $(CLEAR_VARS)
-
-LOCAL_CFLAGS := -Wno-unused-parameter
-
-LOCAL_C_INCLUDES += \
-        system/core/include/ \
-       external/libnl/include \
-        $(call include-path-for, libhardware_legacy)/hardware_legacy \
-        external/wpa_supplicant_8/src/drivers
-
-LOCAL_SRC_FILES := \
-       wifi_hal.cpp \
-       rtt.cpp \
-       common.cpp \
-       cpp_bindings.cpp \
-       gscan.cpp \
-       link_layer_stats.cpp \
-       wifi_offload.cpp \
-       roam.cpp \
-       wifi_logger.cpp \
-       wifi_nan.cpp \
-       wifi_nan_data_path.cpp
-
-LOCAL_MODULE := libwifi-hal-slsi
-LOCAL_VENDOR_MODULE := true
-
-include $(BUILD_STATIC_LIBRARY)
-
-endif