blob: ee912c5ec7c6ebec595734a25bfde6367f5664f5 [file] [log] [blame]
Roshan Pius3c4e8a32016-10-03 14:53:58 -07001# 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)
Roshan Pius23f9f302016-10-24 13:33:51 -070017LOCAL_MODULE := android.hardware.wifi@1.0-service
Roshan Pius3c4e8a32016-10-03 14:53:58 -070018LOCAL_MODULE_RELATIVE_PATH := hw
Steven Moreland46c0b942017-01-12 13:33:16 -080019LOCAL_PROPRIETARY_MODULE := true
Roshan Pius32fc12e2017-01-25 17:44:42 -080020LOCAL_CPPFLAGS := -Wall -Werror -Wextra
Etan Cohenc5700402017-03-08 16:43:38 -080021ifdef WIFI_HIDL_FEATURE_AWARE
22LOCAL_CPPFLAGS += -DWIFI_HIDL_FEATURE_AWARE
23endif
Roshan Pius3c4e8a32016-10-03 14:53:58 -070024LOCAL_SRC_FILES := \
Roshan Piuse65edb12016-11-22 13:02:01 -080025 hidl_struct_util.cpp \
Roshan Pius091e1c12017-01-30 16:40:50 -080026 hidl_sync_util.cpp \
Roshan Pius23f9f302016-10-24 13:33:51 -070027 service.cpp \
Roshan Pius3c4e8a32016-10-03 14:53:58 -070028 wifi.cpp \
Roshan Pius3e2d6712016-10-06 13:16:23 -070029 wifi_ap_iface.cpp \
30 wifi_chip.cpp \
31 wifi_legacy_hal.cpp \
Roshan Piuse73a5062016-12-12 08:53:34 -080032 wifi_legacy_hal_stubs.cpp \
Roshan Piusa26a6e02016-11-17 14:55:58 -080033 wifi_mode_controller.cpp \
Roshan Pius3e2d6712016-10-06 13:16:23 -070034 wifi_nan_iface.cpp \
35 wifi_p2p_iface.cpp \
Roshan Pius59268282016-10-06 20:23:47 -070036 wifi_rtt_controller.cpp \
Roshan Pius19224822016-10-11 08:21:46 -070037 wifi_sta_iface.cpp \
38 wifi_status_util.cpp
Roshan Pius3c4e8a32016-10-03 14:53:58 -070039LOCAL_SHARED_LIBRARIES := \
Roshan Pius3c4e8a32016-10-03 14:53:58 -070040 libbase \
41 libcutils \
Yifan Hong63544ea2016-11-16 14:17:58 -080042 libhidlbase \
43 libhidltransport \
Roshan Pius3c4e8a32016-10-03 14:53:58 -070044 liblog \
45 libnl \
Roshan Pius908a69a2016-10-03 13:33:23 -070046 libutils \
Roshan Piusa26a6e02016-11-17 14:55:58 -080047 libwifi-hal \
Martijn Coenencf426f02017-11-13 16:56:42 +010048 libwifi-system-iface \
49 android.hardware.wifi@1.0 \
50 android.hardware.wifi@1.1
Roshan Pius3c4e8a32016-10-03 14:53:58 -070051LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc
52include $(BUILD_EXECUTABLE)