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) |
| 17 | LOCAL_MODULE := android.hardware.wifi@1.0-impl |
| 18 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 19 | LOCAL_CPPFLAGS := -std=c++11 -Wall -Wno-unused-parameter -Werror -Wextra |
| 20 | LOCAL_SRC_FILES := \ |
| 21 | failure_reason_util.cpp \ |
| 22 | wifi_chip.cpp \ |
| 23 | wifi.cpp \ |
Roshan Pius | aabe575 | 2016-09-29 09:03:59 -0700 | [diff] [blame] | 24 | wifi_legacy_hal.cpp |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 25 | LOCAL_SHARED_LIBRARIES := \ |
| 26 | android.hardware.wifi@1.0 \ |
| 27 | libbase \ |
| 28 | libcutils \ |
| 29 | libhidl \ |
| 30 | libhwbinder \ |
| 31 | liblog \ |
| 32 | libnl \ |
Roshan Pius | 908a69a | 2016-10-03 13:33:23 -0700 | [diff] [blame^] | 33 | libutils \ |
| 34 | libwifi-system |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 35 | LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL) |
| 36 | include $(BUILD_SHARED_LIBRARY) |
| 37 | |
| 38 | include $(CLEAR_VARS) |
| 39 | LOCAL_MODULE := android.hardware.wifi@1.0-service |
| 40 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 41 | LOCAL_CPPFLAGS := -std=c++11 -Wall -Wno-unused-parameter -Werror -Wextra |
| 42 | LOCAL_SRC_FILES := \ |
| 43 | service.cpp |
| 44 | LOCAL_SHARED_LIBRARIES := \ |
| 45 | android.hardware.wifi@1.0 \ |
| 46 | android.hardware.wifi@1.0-impl \ |
| 47 | libbase \ |
| 48 | libcutils \ |
| 49 | libhidl \ |
| 50 | libhwbinder \ |
| 51 | liblog \ |
| 52 | libnl \ |
Roshan Pius | 908a69a | 2016-10-03 13:33:23 -0700 | [diff] [blame^] | 53 | libutils \ |
| 54 | libwifi-system |
Roshan Pius | 3c4e8a3 | 2016-10-03 14:53:58 -0700 | [diff] [blame] | 55 | LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL) |
| 56 | LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc |
| 57 | include $(BUILD_EXECUTABLE) |