• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2017 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
15LOCAL_PATH := $(call my-dir)
16
17# Make the HAL library
18# ============================================================
19include $(CLEAR_VARS)
20
21LOCAL_CFLAGS := -Wall -Wextra -Werror
22
23LOCAL_C_INCLUDES += \
24	$(call include-path-for, libhardware_legacy)/hardware_legacy \
25
26
27LOCAL_SRC_FILES := \
28	halstate.cpp \
29	info.cpp \
30	interface.cpp \
31	netlink.cpp \
32	netlinkmessage.cpp \
33	wifi_hal.cpp \
34
35LOCAL_SHARED_LIBRARIES += \
36	liblog \
37
38LOCAL_HEADER_LIBRARIES += \
39	libcutils_headers \
40
41LOCAL_MODULE := libwifi-hal-emu
42LOCAL_PROPRIETARY_MODULE := true
43
44include $(BUILD_STATIC_LIBRARY)
45
46