From 5c9e10c027c583aa2fa27746c89223d5114387a1 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Mon, 27 Nov 2023 16:09:00 -0500 Subject: [PATCH] libwifi-hal-slsi: Migrate to Blueprint Change-Id: Ie88642db42bde9eb3a298fc983826466d9de1131 --- Android.bp | 30 ++++++++++++++++++++++++++++++ Android.mk | 43 ------------------------------------------- 2 files changed, 30 insertions(+), 43 deletions(-) create mode 100755 Android.bp delete mode 100755 Android.mk 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 -- 2.20.1