From ea44a9c70d830c2d9e61a52cc55cb5ba260e7f4c Mon Sep 17 00:00:00 2001 From: Youngsoo Date: Wed, 20 Nov 2019 18:10:39 +0900 Subject: [PATCH] wlbt: android.mk change to bp Change-Id: I2e9417b66b3cb705ec3df200047f523107ffdf0a Signed-off-by: Youngsoo --- Android.bp | 43 +++++++++++++++++++++++++++++++++++++++++++ Android.mk | 41 ----------------------------------------- 2 files changed, 43 insertions(+), 41 deletions(-) create mode 100644 Android.bp delete mode 100755 Android.mk diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..0ba125c --- /dev/null +++ b/Android.bp @@ -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 index d02568e..0000000 --- a/Android.mk +++ /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 -- 2.20.1