1// 2// Copyright (C) 2008 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 // See: http://go/android-license-faq 19 default_applicable_licenses: [ 20 "device_generic_goldfish_wifi_wpa_supplicant_8_lib_license", 21 ], 22} 23 24license { 25 name: "device_generic_goldfish_wifi_wpa_supplicant_8_lib_license", 26 visibility: [":__subpackages__"], 27 license_kinds: [ 28 "SPDX-license-identifier-BSD", 29 ], 30} 31 32cc_library_static { 33 name: "lib_driver_cmd_simulated", 34 shared_libs: [ 35 "libc", 36 "libcutils", 37 "liblog", 38 ], 39 header_libs: [ 40 "libcutils_headers", 41 ], 42 cflags: [ 43 "-DCONFIG_ANDROID_LOG", 44 "-Wno-unused-parameter", 45 ], 46 srcs: [ 47 "driver_cmd_nl80211.c", 48 ], 49 include_dirs: [ 50 "external/libnl/include", 51 "external/wpa_supplicant_8/src", 52 "external/wpa_supplicant_8/src/common", 53 "external/wpa_supplicant_8/src/drivers", 54 "external/wpa_supplicant_8/src/l2_packet", 55 "external/wpa_supplicant_8/src/utils", 56 "external/wpa_supplicant_8/src/wps", 57 "external/wpa_supplicant_8/wpa_supplicant", 58 ], 59 vendor: true, 60 defaults: [ 61 "wpa_supplicant_cflags_default", 62 ], 63} 64