• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file was auto-generated. Do not edit manually.
2// Use test/vts-testcase/hal/update_makefiles.py to generate this file.
3
4// Generate .vts spec files.
5hal2vts {
6    name: "android.hardware.wifi@1.0-vts.spec",
7    srcs: [
8        ":android.hardware.wifi@1.0_hal",
9    ],
10    out: [
11        "android/hardware/wifi/1.0/Wifi.vts",
12        "android/hardware/wifi/1.0/WifiApIface.vts",
13        "android/hardware/wifi/1.0/WifiChip.vts",
14        "android/hardware/wifi/1.0/WifiChipEventCallback.vts",
15        "android/hardware/wifi/1.0/WifiEventCallback.vts",
16        "android/hardware/wifi/1.0/WifiIface.vts",
17        "android/hardware/wifi/1.0/WifiNanIface.vts",
18        "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts",
19        "android/hardware/wifi/1.0/WifiP2pIface.vts",
20        "android/hardware/wifi/1.0/WifiRttController.vts",
21        "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts",
22        "android/hardware/wifi/1.0/WifiStaIface.vts",
23        "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts",
24        "android/hardware/wifi/1.0/types.vts",
25    ],
26}
27
28// Build VTS driver.
29genrule {
30    name: "android.hardware.wifi@1.0-vts.driver_genc++",
31    tools: ["hidl-gen", "vtsc"],
32    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
33    srcs: [
34        ":android.hardware.wifi@1.0_hal",
35    ],
36    out: [
37        "android/hardware/wifi/1.0/Wifi.vts.cpp",
38        "android/hardware/wifi/1.0/WifiApIface.vts.cpp",
39        "android/hardware/wifi/1.0/WifiChip.vts.cpp",
40        "android/hardware/wifi/1.0/WifiChipEventCallback.vts.cpp",
41        "android/hardware/wifi/1.0/WifiEventCallback.vts.cpp",
42        "android/hardware/wifi/1.0/WifiIface.vts.cpp",
43        "android/hardware/wifi/1.0/WifiNanIface.vts.cpp",
44        "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.cpp",
45        "android/hardware/wifi/1.0/WifiP2pIface.vts.cpp",
46        "android/hardware/wifi/1.0/WifiRttController.vts.cpp",
47        "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.cpp",
48        "android/hardware/wifi/1.0/WifiStaIface.vts.cpp",
49        "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.cpp",
50        "android/hardware/wifi/1.0/types.vts.cpp",
51    ],
52}
53
54genrule {
55    name: "android.hardware.wifi@1.0-vts.driver_genc++_headers",
56    tools: ["hidl-gen", "vtsc"],
57    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
58    srcs: [
59        ":android.hardware.wifi@1.0_hal",
60    ],
61    out: [
62        "android/hardware/wifi/1.0/Wifi.vts.h",
63        "android/hardware/wifi/1.0/WifiApIface.vts.h",
64        "android/hardware/wifi/1.0/WifiChip.vts.h",
65        "android/hardware/wifi/1.0/WifiChipEventCallback.vts.h",
66        "android/hardware/wifi/1.0/WifiEventCallback.vts.h",
67        "android/hardware/wifi/1.0/WifiIface.vts.h",
68        "android/hardware/wifi/1.0/WifiNanIface.vts.h",
69        "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.h",
70        "android/hardware/wifi/1.0/WifiP2pIface.vts.h",
71        "android/hardware/wifi/1.0/WifiRttController.vts.h",
72        "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.h",
73        "android/hardware/wifi/1.0/WifiStaIface.vts.h",
74        "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.h",
75        "android/hardware/wifi/1.0/types.vts.h",
76    ],
77}
78
79cc_library_shared {
80    name: "android.hardware.wifi@1.0-vts.driver",
81    generated_sources: ["android.hardware.wifi@1.0-vts.driver_genc++"],
82    generated_headers: ["android.hardware.wifi@1.0-vts.driver_genc++_headers"],
83    export_generated_headers: ["android.hardware.wifi@1.0-vts.driver_genc++_headers"],
84    shared_libs: [
85        "libhidlbase",
86        "libhidltransport",
87        "libhwbinder",
88        "liblog",
89        "libutils",
90        "libcutils",
91        "libvts_common",
92        "libvts_datatype",
93        "libvts_drivercomm",
94        "libvts_measurement",
95        "libvts_multidevice_proto",
96        "libcamera_metadata",
97        "libprotobuf-cpp-full",
98        "android.hardware.wifi@1.0",
99        "android.hidl.base@1.0",
100    ],
101    export_shared_lib_headers: [
102        "android.hidl.base@1.0",
103    ],
104}
105
106// Build VTS profiler.
107genrule {
108    name: "android.hardware.wifi@1.0-vts.profiler_genc++",
109    tools: ["hidl-gen", "vtsc"],
110    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
111    srcs: [
112        ":android.hardware.wifi@1.0_hal",
113    ],
114    out: [
115        "android/hardware/wifi/1.0/Wifi.vts.cpp",
116        "android/hardware/wifi/1.0/WifiApIface.vts.cpp",
117        "android/hardware/wifi/1.0/WifiChip.vts.cpp",
118        "android/hardware/wifi/1.0/WifiChipEventCallback.vts.cpp",
119        "android/hardware/wifi/1.0/WifiEventCallback.vts.cpp",
120        "android/hardware/wifi/1.0/WifiIface.vts.cpp",
121        "android/hardware/wifi/1.0/WifiNanIface.vts.cpp",
122        "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.cpp",
123        "android/hardware/wifi/1.0/WifiP2pIface.vts.cpp",
124        "android/hardware/wifi/1.0/WifiRttController.vts.cpp",
125        "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.cpp",
126        "android/hardware/wifi/1.0/WifiStaIface.vts.cpp",
127        "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.cpp",
128        "android/hardware/wifi/1.0/types.vts.cpp",
129    ],
130}
131
132genrule {
133    name: "android.hardware.wifi@1.0-vts.profiler_genc++_headers",
134    tools: ["hidl-gen", "vtsc"],
135    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
136    srcs: [
137        ":android.hardware.wifi@1.0_hal",
138    ],
139    out: [
140        "android/hardware/wifi/1.0/Wifi.vts.h",
141        "android/hardware/wifi/1.0/WifiApIface.vts.h",
142        "android/hardware/wifi/1.0/WifiChip.vts.h",
143        "android/hardware/wifi/1.0/WifiChipEventCallback.vts.h",
144        "android/hardware/wifi/1.0/WifiEventCallback.vts.h",
145        "android/hardware/wifi/1.0/WifiIface.vts.h",
146        "android/hardware/wifi/1.0/WifiNanIface.vts.h",
147        "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.h",
148        "android/hardware/wifi/1.0/WifiP2pIface.vts.h",
149        "android/hardware/wifi/1.0/WifiRttController.vts.h",
150        "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.h",
151        "android/hardware/wifi/1.0/WifiStaIface.vts.h",
152        "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.h",
153        "android/hardware/wifi/1.0/types.vts.h",
154    ],
155}
156
157cc_library_shared {
158    name: "android.hardware.wifi@1.0-vts.profiler",
159    generated_sources: ["android.hardware.wifi@1.0-vts.profiler_genc++"],
160    generated_headers: ["android.hardware.wifi@1.0-vts.profiler_genc++_headers"],
161    export_generated_headers: ["android.hardware.wifi@1.0-vts.profiler_genc++_headers"],
162    shared_libs: [
163        "libbase",
164        "libhidlbase",
165        "libhidltransport",
166        "libvts_profiling",
167        "libvts_multidevice_proto",
168        "libprotobuf-cpp-full",
169        "android.hardware.wifi@1.0",
170        "android.hidl.base@1.0",
171    ],
172}
173
174