• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    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_aidl_headers",
24    export_include_dirs: ["."],
25    soc_specific: true,
26}
27
28cc_library_static {
29    name: "libhostapd_aidl_bp",
30    srcs: ["*.cpp"],
31    defaults: ["hostapd_cflags_defaults"],
32    soc_specific: true,
33    shared_libs: [
34        "android.hardware.wifi.hostapd-V1-ndk",
35        "libbinder_ndk",
36        "libbase",
37        "libutils",
38        "liblog",
39    ],
40    cppflags: [
41        "-Wall",
42        "-Werror",
43    ],
44    header_libs: [
45        "hostapd_headers",
46        "libhostapd_aidl_headers",
47    ],
48}
49