1# Copyright (C) 2016 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14LOCAL_PATH := $(call my-dir) 15 16include $(CLEAR_VARS) 17LOCAL_MODULE := android.hardware.wifi@1.0-service 18LOCAL_MODULE_RELATIVE_PATH := hw 19LOCAL_PROPRIETARY_MODULE := true 20LOCAL_CPPFLAGS := -Wall -Werror -Wextra 21ifdef WIFI_HIDL_FEATURE_AWARE 22LOCAL_CPPFLAGS += -DWIFI_HIDL_FEATURE_AWARE 23endif 24LOCAL_SRC_FILES := \ 25 hidl_struct_util.cpp \ 26 hidl_sync_util.cpp \ 27 service.cpp \ 28 wifi.cpp \ 29 wifi_ap_iface.cpp \ 30 wifi_chip.cpp \ 31 wifi_legacy_hal.cpp \ 32 wifi_legacy_hal_stubs.cpp \ 33 wifi_mode_controller.cpp \ 34 wifi_nan_iface.cpp \ 35 wifi_p2p_iface.cpp \ 36 wifi_rtt_controller.cpp \ 37 wifi_sta_iface.cpp \ 38 wifi_status_util.cpp 39LOCAL_SHARED_LIBRARIES := \ 40 android.hardware.wifi@1.0 \ 41 libbase \ 42 libcutils \ 43 libhidlbase \ 44 libhidltransport \ 45 liblog \ 46 libnl \ 47 libutils \ 48 libwifi-hal \ 49 libwifi-system 50LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc 51include $(BUILD_EXECUTABLE) 52