blob: d48d18332fa0668121d8152f4b484b6cb660ea23 [file] [log] [blame]
Sundong Ahn80af4e42021-12-02 01:01:49 +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: ["hardware_interfaces_license"],
17}
18
19filegroup {
20 name: "android.hardware.wifi@1.0-service_srcs",
21 srcs: ["service.cpp"],
22}
23
24cc_defaults {
25 name: "android.hardware.wifi@1.0-service_default",
26 srcs: [":android.hardware.wifi@1.0-service_srcs"],
27 relative_install_path: "hw",
28 soc_specific: true,
29 shared_libs: [
30 "android.hardware.wifi@1.0",
31 "android.hardware.wifi@1.1",
32 "android.hardware.wifi@1.2",
33 "android.hardware.wifi@1.3",
34 "android.hardware.wifi@1.4",
35 "android.hardware.wifi@1.5",
Ahmed ElArabawy0cf627a2022-01-18 18:07:54 -080036 "android.hardware.wifi@1.6",
Sundong Ahn80af4e42021-12-02 01:01:49 +000037 "libbase",
38 "libcutils",
39 "libhidlbase",
40 "liblog",
41 "libnl",
42 "libutils",
43 "libwifi-system-iface",
44 "libxml2",
45 ],
46 cppflags: [
47 "-Wall",
48 "-Werror",
49 "-Wextra",
50 ],
51}
52
53filegroup {
54 name: "android.hardware.wifi@1.0-service-lib_srcs",
55 srcs: [
56 "hidl_struct_util.cpp",
57 "hidl_sync_util.cpp",
58 "ringbuffer.cpp",
59 "wifi.cpp",
60 "wifi_ap_iface.cpp",
61 "wifi_chip.cpp",
62 "wifi_feature_flags.cpp",
63 "wifi_iface_util.cpp",
64 "wifi_legacy_hal.cpp",
65 "wifi_legacy_hal_factory.cpp",
66 "wifi_legacy_hal_stubs.cpp",
67 "wifi_mode_controller.cpp",
68 "wifi_nan_iface.cpp",
69 "wifi_p2p_iface.cpp",
70 "wifi_rtt_controller.cpp",
71 "wifi_sta_iface.cpp",
72 "wifi_status_util.cpp",
73 ],
74}
75
76cc_defaults {
77 name: "android.hardware.wifi@1.0-service-lib_defaults",
78 srcs: [":android.hardware.wifi@1.0-service-lib_srcs"],
79 relative_install_path: "hw",
80 soc_specific: true,
81 shared_libs: [
82 "android.hardware.wifi@1.0",
83 "android.hardware.wifi@1.1",
84 "android.hardware.wifi@1.2",
85 "android.hardware.wifi@1.3",
86 "android.hardware.wifi@1.4",
87 "android.hardware.wifi@1.5",
Ahmed ElArabawy0cf627a2022-01-18 18:07:54 -080088 "android.hardware.wifi@1.6",
Sundong Ahn80af4e42021-12-02 01:01:49 +000089 "libbase",
90 "libcutils",
91 "libhidlbase",
92 "liblog",
93 "libnl",
94 "libutils",
95 "libwifi-system-iface",
96 "libxml2",
97 ],
98 // Generated by building android.hardware.wifi@1.0-service-lib and printing LOCAL_CPPFLAGS.
99 cppflags: [
100 "-Wall",
101 "-Werror",
102 "-Wextra",
103 "-DWIFI_HIDL_FEATURE_DUAL_INTERFACE",
104 ],
105 export_include_dirs: ["."],
106 include_dirs: ["external/libxml2/include"],
107}