Home | History | Annotate | Download | only in default
      1 # 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.
     14 LOCAL_PATH := $(call my-dir)
     15 
     16 include $(CLEAR_VARS)
     17 LOCAL_MODULE := android.hardware.wifi (a] 1.0-service
     18 LOCAL_MODULE_RELATIVE_PATH := hw
     19 LOCAL_PROPRIETARY_MODULE := true
     20 LOCAL_CPPFLAGS := -Wall -Werror -Wextra
     21 ifdef WIFI_HIDL_FEATURE_AWARE
     22 LOCAL_CPPFLAGS += -DWIFI_HIDL_FEATURE_AWARE
     23 endif
     24 LOCAL_SRC_FILES := \
     25     hidl_struct_util.cpp \
     26     hidl_sync_util.cpp \
     27     service.cpp \
     28     wifi.cpp \
     29     wifi_ap_iface.cpp \
     30     wifi_chip.cpp \
     31     wifi_legacy_hal.cpp \
     32     wifi_legacy_hal_stubs.cpp \
     33     wifi_mode_controller.cpp \
     34     wifi_nan_iface.cpp \
     35     wifi_p2p_iface.cpp \
     36     wifi_rtt_controller.cpp \
     37     wifi_sta_iface.cpp \
     38     wifi_status_util.cpp
     39 LOCAL_SHARED_LIBRARIES := \
     40     android.hardware.wifi (a] 1.0 \
     41     android.hardware.wifi (a] 1.1 \
     42     libbase \
     43     libcutils \
     44     libhidlbase \
     45     libhidltransport \
     46     liblog \
     47     libnl \
     48     libutils \
     49     libwifi-hal \
     50     libwifi-system-iface
     51 LOCAL_INIT_RC := android.hardware.wifi (a] 1.0-service.rc
     52 include $(BUILD_EXECUTABLE)
     53