libwifi-hal-slsi: Migrate to Blueprint
Change-Id: Ie88642db42bde9eb3a298fc983826466d9de1131
diff --git a/Android.bp b/Android.bp
new file mode 100755
index 0000000..2e17f0a
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd
+
+cc_library_static {
+ name: "libwifi-hal-slsi",
+ vendor_available: true,
+ compile_multilib: "both",
+ 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",
+ ],
+
+ include_dirs: [
+ "system/core/include",
+ "external/libnl/include",
+ "hardware/libhardware_legacy/include/hardware_legacy",
+ "external/wpa_supplicant_8/src/drivers",
+ ],
+
+ cflags: ["-Wno-unused-parameter"],
+ header_libs: ["liblog_headers"],
+}
diff --git a/Android.mk b/Android.mk
deleted file mode 100755
index 38ce9dd..0000000
--- a/Android.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-#############################################################################
-#
-# Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd
-#
-#############################################################################
-
-ifeq ($(BOARD_WLAN_DEVICE),slsi)
-
-LOCAL_PATH := $(call my-dir)
-
-# Make the HAL library
-# ============================================================
-include $(CLEAR_VARS)
-
-LOCAL_CFLAGS := -Wno-unused-parameter
-
-LOCAL_HEADER_LIBRARIES := liblog_headers
-
-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