blob: 3d8c68962bc7bb3c4963df75ed1a0aa1f2eceb0a [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 := \
Roshan Pius3c4e8a32016-10-03 14:53:58 -070021 wifi.cpp \
Roshan Pius3e2d6712016-10-06 13:16:23 -070022 wifi_ap_iface.cpp \
23 wifi_chip.cpp \
24 wifi_legacy_hal.cpp \
25 wifi_nan_iface.cpp \
26 wifi_p2p_iface.cpp \
Roshan Pius59268282016-10-06 20:23:47 -070027 wifi_rtt_controller.cpp \
Roshan Pius19224822016-10-11 08:21:46 -070028 wifi_sta_iface.cpp \
29 wifi_status_util.cpp
Roshan Pius3c4e8a32016-10-03 14:53:58 -070030LOCAL_SHARED_LIBRARIES := \
31 android.hardware.wifi@1.0 \
32 libbase \
33 libcutils \
34 libhidl \
35 libhwbinder \
36 liblog \
37 libnl \
Roshan Pius908a69a2016-10-03 13:33:23 -070038 libutils \
39 libwifi-system
Roshan Pius3c4e8a32016-10-03 14:53:58 -070040LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL)
41include $(BUILD_SHARED_LIBRARY)
42
43include $(CLEAR_VARS)
44LOCAL_MODULE := android.hardware.wifi@1.0-service
45LOCAL_MODULE_RELATIVE_PATH := hw
46LOCAL_CPPFLAGS := -std=c++11 -Wall -Wno-unused-parameter -Werror -Wextra
47LOCAL_SRC_FILES := \
48 service.cpp
49LOCAL_SHARED_LIBRARIES := \
50 android.hardware.wifi@1.0 \
51 android.hardware.wifi@1.0-impl \
52 libbase \
53 libcutils \
54 libhidl \
55 libhwbinder \
56 liblog \
57 libnl \
Roshan Pius908a69a2016-10-03 13:33:23 -070058 libutils \
59 libwifi-system
Roshan Pius3c4e8a32016-10-03 14:53:58 -070060LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL)
61LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc
62include $(BUILD_EXECUTABLE)