blob: ecb16e254988c230a52364ecd5f1d7faf2f1e044 [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)
17LOCAL_MODULE := android.hardware.wifi@1.0-impl
18LOCAL_MODULE_RELATIVE_PATH := hw
19LOCAL_CPPFLAGS := -std=c++11 -Wall -Wno-unused-parameter -Werror -Wextra
20LOCAL_SRC_FILES := \
21 failure_reason_util.cpp \
Roshan Pius3c4e8a32016-10-03 14:53:58 -070022 wifi.cpp \
Roshan Pius3e2d6712016-10-06 13:16:23 -070023 wifi_ap_iface.cpp \
24 wifi_chip.cpp \
25 wifi_legacy_hal.cpp \
26 wifi_nan_iface.cpp \
27 wifi_p2p_iface.cpp \
28 wifi_sta_iface.cpp
Roshan Pius3c4e8a32016-10-03 14:53:58 -070029LOCAL_SHARED_LIBRARIES := \
30 android.hardware.wifi@1.0 \
31 libbase \
32 libcutils \
33 libhidl \
34 libhwbinder \
35 liblog \
36 libnl \
Roshan Pius908a69a2016-10-03 13:33:23 -070037 libutils \
38 libwifi-system
Roshan Pius3c4e8a32016-10-03 14:53:58 -070039LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL)
40include $(BUILD_SHARED_LIBRARY)
41
42include $(CLEAR_VARS)
43LOCAL_MODULE := android.hardware.wifi@1.0-service
44LOCAL_MODULE_RELATIVE_PATH := hw
45LOCAL_CPPFLAGS := -std=c++11 -Wall -Wno-unused-parameter -Werror -Wextra
46LOCAL_SRC_FILES := \
47 service.cpp
48LOCAL_SHARED_LIBRARIES := \
49 android.hardware.wifi@1.0 \
50 android.hardware.wifi@1.0-impl \
51 libbase \
52 libcutils \
53 libhidl \
54 libhwbinder \
55 liblog \
56 libnl \
Roshan Pius908a69a2016-10-03 13:33:23 -070057 libutils \
58 libwifi-system
Roshan Pius3c4e8a32016-10-03 14:53:58 -070059LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL)
60LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc
61include $(BUILD_EXECUTABLE)