From: Youngsoo Date: Wed, 20 Nov 2019 09:10:39 +0000 (+0900) Subject: wlbt: android.mk change to bp X-Git-Tag: MMI-RSA31.Q1-48-36-11~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ea44a9c70d830c2d9e61a52cc55cb5ba260e7f4c;p=GitHub%2FMotorolaMobilityLLC%2Fhardware-samsung_slsi-scsc_wifibt-wifi_hal.git wlbt: android.mk change to bp Change-Id: I2e9417b66b3cb705ec3df200047f523107ffdf0a Signed-off-by: Youngsoo --- 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