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 \ |
| 24 | wifi_hal_state.cpp |
| 25 | LOCAL_SHARED_LIBRARIES := \ |
| 26 | android.hardware.wifi@1.0 \ |
| 27 | libbase \ |
| 28 | libcutils \ |
| 29 | libhidl \ |
| 30 | libhwbinder \ |
| 31 | liblog \ |
| 32 | libnl \ |
| 33 | libutils |
| 34 | LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL) |
| 35 | include $(BUILD_SHARED_LIBRARY) |
| 36 | |
| 37 | include $(CLEAR_VARS) |
| 38 | LOCAL_MODULE := android.hardware.wifi@1.0-service |
| 39 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 40 | LOCAL_CPPFLAGS := -std=c++11 -Wall -Wno-unused-parameter -Werror -Wextra |
| 41 | LOCAL_SRC_FILES := \ |
| 42 | service.cpp |
| 43 | LOCAL_SHARED_LIBRARIES := \ |
| 44 | android.hardware.wifi@1.0 \ |
| 45 | android.hardware.wifi@1.0-impl \ |
| 46 | libbase \ |
| 47 | libcutils \ |
| 48 | libhidl \ |
| 49 | libhwbinder \ |
| 50 | liblog \ |
| 51 | libnl \ |
| 52 | libutils |
| 53 | LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL) |
| 54 | LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc |
| 55 | include $(BUILD_EXECUTABLE) |