Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 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. |
| 14 | LOCAL_PATH := $(call my-dir) |
| 15 | |
| 16 | include $(CLEAR_VARS) |
Roshan Pius | 23f9f30 | 2016-10-24 13:33:51 -0700 | [diff] [blame] | 17 | LOCAL_MODULE := android.hardware.wifi@1.0-service |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 18 | LOCAL_MODULE_RELATIVE_PATH := hw |
Steven Moreland | 46c0b94 | 2017-01-12 13:33:16 -0800 | [diff] [blame] | 19 | LOCAL_PROPRIETARY_MODULE := true |
Roshan Pius | 32fc12e | 2017-01-25 17:44:42 -0800 | [diff] [blame] | 20 | LOCAL_CPPFLAGS := -Wall -Werror -Wextra |
Etan Cohen | c570040 | 2017-03-08 16:43:38 -0800 | [diff] [blame] | 21 | ifdef WIFI_HIDL_FEATURE_AWARE |
| 22 | LOCAL_CPPFLAGS += -DWIFI_HIDL_FEATURE_AWARE |
| 23 | endif |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 24 | LOCAL_SRC_FILES := \ |
Roshan Pius | e65edb1 | 2016-11-22 13:02:01 -0800 | [diff] [blame] | 25 | hidl_struct_util.cpp \ |
Roshan Pius | 091e1c1 | 2017-01-30 16:40:50 -0800 | [diff] [blame] | 26 | hidl_sync_util.cpp \ |
Roshan Pius | 23f9f30 | 2016-10-24 13:33:51 -0700 | [diff] [blame] | 27 | service.cpp \ |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 28 | wifi.cpp \ |
Roshan Pius | 3e2d671 | 2016-10-06 13:16:23 -0700 | [diff] [blame] | 29 | wifi_ap_iface.cpp \ |
| 30 | wifi_chip.cpp \ |
| 31 | wifi_legacy_hal.cpp \ |
Roshan Pius | e73a506 | 2016-12-12 08:53:34 -0800 | [diff] [blame] | 32 | wifi_legacy_hal_stubs.cpp \ |
Roshan Pius | a26a6e0 | 2016-11-17 14:55:58 -0800 | [diff] [blame] | 33 | wifi_mode_controller.cpp \ |
Roshan Pius | 3e2d671 | 2016-10-06 13:16:23 -0700 | [diff] [blame] | 34 | wifi_nan_iface.cpp \ |
| 35 | wifi_p2p_iface.cpp \ |
Roshan Pius | 5926828 | 2016-10-06 20:23:47 -0700 | [diff] [blame] | 36 | wifi_rtt_controller.cpp \ |
Roshan Pius | 1922482 | 2016-10-11 08:21:46 -0700 | [diff] [blame] | 37 | wifi_sta_iface.cpp \ |
| 38 | wifi_status_util.cpp |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 39 | LOCAL_SHARED_LIBRARIES := \ |
| 40 | android.hardware.wifi@1.0 \ |
| 41 | libbase \ |
| 42 | libcutils \ |
Yifan Hong | 63544ea | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 43 | libhidlbase \ |
| 44 | libhidltransport \ |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 45 | liblog \ |
| 46 | libnl \ |
Roshan Pius | 908a69a | 2016-10-03 13:33:23 -0700 | [diff] [blame] | 47 | libutils \ |
Roshan Pius | a26a6e0 | 2016-11-17 14:55:58 -0800 | [diff] [blame] | 48 | libwifi-hal \ |
Etan Cohen | aa281aa | 2017-05-03 09:12:50 -0700 | [diff] [blame] | 49 | libwifi-system-iface |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 50 | LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc |
| 51 | include $(BUILD_EXECUTABLE) |