blob: 07865a5df7ecfb065a0092b0e789889921bdb8e3 [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 \
22 wifi_chip.cpp \
23 wifi.cpp \
Roshan Piusaabe5752016-09-29 09:03:59 -070024 wifi_legacy_hal.cpp
Roshan Pius3c4e8a32016-10-03 14:53:58 -070025LOCAL_SHARED_LIBRARIES := \
26 android.hardware.wifi@1.0 \
27 libbase \
28 libcutils \
29 libhidl \
30 libhwbinder \
31 liblog \
32 libnl \
Roshan Pius908a69a2016-10-03 13:33:23 -070033 libutils \
34 libwifi-system
Roshan Pius3c4e8a32016-10-03 14:53:58 -070035LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL)
36include $(BUILD_SHARED_LIBRARY)
37
38include $(CLEAR_VARS)
39LOCAL_MODULE := android.hardware.wifi@1.0-service
40LOCAL_MODULE_RELATIVE_PATH := hw
41LOCAL_CPPFLAGS := -std=c++11 -Wall -Wno-unused-parameter -Werror -Wextra
42LOCAL_SRC_FILES := \
43 service.cpp
44LOCAL_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 Pius908a69a2016-10-03 13:33:23 -070053 libutils \
54 libwifi-system
Roshan Pius3c4e8a32016-10-03 14:53:58 -070055LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL)
56LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc
57include $(BUILD_EXECUTABLE)