1// Copyright (C) 2021 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 15package { 16 // See: http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // all of the 'license_kinds' from "external_wpa_supplicant_8_license" 19 // to get the below license kinds: 20 // SPDX-license-identifier-BSD 21 default_applicable_licenses: ["external_wpa_supplicant_8_license"], 22} 23 24cc_library_headers { 25 name: "libwpa_aidl_headers", 26 export_include_dirs: ["."], 27 soc_specific: true, 28} 29 30cc_library_static { 31 name: "libwpa_aidl_bp", 32 srcs: ["*.cpp"], 33 defaults: ["wpa_supplicant_cflags_defaults"], 34 soc_specific: true, 35 shared_libs: [ 36 "android.hardware.wifi.supplicant-V1-ndk", 37 "libbinder_ndk", 38 "libbase", 39 "libutils", 40 "liblog", 41 "libssl", 42 ], 43 // Generated by building libwpa_hidl and printing LOCAL_CPPFLAGS. 44 cppflags: [ 45 "-Wall", 46 "-Werror", 47 "-Wno-unused-parameter", 48 "-Wno-unused-private-field", 49 "-Wno-unused-variable", 50 ], 51 header_libs: [ 52 "wpa_supplicant_headers", 53 "libwpa_aidl_headers", 54 ], 55} 56 57filegroup { 58 name: "android.hardware.wifi.supplicant.xml", 59 srcs: ["android.hardware.wifi.supplicant.xml"], 60} 61