blob: 4568ef9d6aa418274f1df3466985a6d7f03e12c3 [file] [log] [blame]
Sundong Ahn8542d282021-12-02 01:04:41 +00001// 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 default_applicable_licenses: [
17 "external_wpa_supplicant_8_license",
18 "external_wpa_supplicant_8_hostapd_license",
19 ],
20}
21
22cc_library_headers {
23 name: "libhostapd_hidl_headers",
24 export_include_dirs: ["."],
25 soc_specific: true,
26}
27
28cc_library_static {
29 name: "libhostapd_hidl_bp",
30 srcs: ["*.cpp"],
31 defaults: ["hostapd_cflags_defaults"],
32 soc_specific: true,
33 shared_libs: [
34 "android.hardware.wifi.hostapd@1.0",
35 "android.hardware.wifi.hostapd@1.1",
36 "android.hardware.wifi.hostapd@1.2",
37 "android.hardware.wifi.hostapd@1.3",
38 "libbase",
39 "libhidlbase",
40 "libutils",
41 "liblog",
42 ],
43 cppflags: [
44 "-Wall",
45 "-Werror",
46 ],
47 header_libs: [
48 "hostapd_headers",
49 "libhostapd_hidl_headers",
50 ],
51}