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