blob: 44ebafaee3be6d02da9ddecf5baca4fee59000f4 [file] [log] [blame]
// This file was auto-generated. Do not edit manually.
// Use test/vts-testcase/hal/update_makefiles.py to generate this file.
// Generate .vts spec files.
hal2vts {
name: "android.hardware.wifi@1.0-vts.spec",
srcs: [
":android.hardware.wifi@1.0_hal",
],
out: [
"android/hardware/wifi/1.0/Wifi.vts",
"android/hardware/wifi/1.0/WifiApIface.vts",
"android/hardware/wifi/1.0/WifiChip.vts",
"android/hardware/wifi/1.0/WifiChipEventCallback.vts",
"android/hardware/wifi/1.0/WifiEventCallback.vts",
"android/hardware/wifi/1.0/WifiIface.vts",
"android/hardware/wifi/1.0/WifiNanIface.vts",
"android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts",
"android/hardware/wifi/1.0/WifiP2pIface.vts",
"android/hardware/wifi/1.0/WifiRttController.vts",
"android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts",
"android/hardware/wifi/1.0/WifiStaIface.vts",
"android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts",
"android/hardware/wifi/1.0/types.vts",
],
}
// Build VTS driver.
genrule {
name: "android.hardware.wifi@1.0-vts.driver_genc++",
tools: ["hidl-gen", "vtsc"],
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/",
srcs: [
":android.hardware.wifi@1.0_hal",
],
out: [
"android/hardware/wifi/1.0/Wifi.vts.cpp",
"android/hardware/wifi/1.0/WifiApIface.vts.cpp",
"android/hardware/wifi/1.0/WifiChip.vts.cpp",
"android/hardware/wifi/1.0/WifiChipEventCallback.vts.cpp",
"android/hardware/wifi/1.0/WifiEventCallback.vts.cpp",
"android/hardware/wifi/1.0/WifiIface.vts.cpp",
"android/hardware/wifi/1.0/WifiNanIface.vts.cpp",
"android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.cpp",
"android/hardware/wifi/1.0/WifiP2pIface.vts.cpp",
"android/hardware/wifi/1.0/WifiRttController.vts.cpp",
"android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.cpp",
"android/hardware/wifi/1.0/WifiStaIface.vts.cpp",
"android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.cpp",
"android/hardware/wifi/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.wifi@1.0-vts.driver_genc++_headers",
tools: ["hidl-gen", "vtsc"],
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/",
srcs: [
":android.hardware.wifi@1.0_hal",
],
out: [
"android/hardware/wifi/1.0/Wifi.vts.h",
"android/hardware/wifi/1.0/WifiApIface.vts.h",
"android/hardware/wifi/1.0/WifiChip.vts.h",
"android/hardware/wifi/1.0/WifiChipEventCallback.vts.h",
"android/hardware/wifi/1.0/WifiEventCallback.vts.h",
"android/hardware/wifi/1.0/WifiIface.vts.h",
"android/hardware/wifi/1.0/WifiNanIface.vts.h",
"android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.h",
"android/hardware/wifi/1.0/WifiP2pIface.vts.h",
"android/hardware/wifi/1.0/WifiRttController.vts.h",
"android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.h",
"android/hardware/wifi/1.0/WifiStaIface.vts.h",
"android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.h",
"android/hardware/wifi/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.wifi@1.0-vts.driver",
generated_sources: ["android.hardware.wifi@1.0-vts.driver_genc++"],
generated_headers: ["android.hardware.wifi@1.0-vts.driver_genc++_headers"],
export_generated_headers: ["android.hardware.wifi@1.0-vts.driver_genc++_headers"],
shared_libs: [
"libcamera_metadata",
"libcutils",
"libfmq",
"libhidlbase",
"libhidltransport",
"libhwbinder",
"liblog",
"libprotobuf-cpp-full",
"libutils",
"libvts_common",
"libvts_datatype",
"libvts_drivercomm",
"libvts_measurement",
"libvts_multidevice_proto",
"android.hidl.allocator@1.0",
"android.hardware.wifi@1.0",
],
export_shared_lib_headers: [
],
cflags: [
"-Wall",
"-Werror",
],
}
// Build VTS profiler.
genrule {
name: "android.hardware.wifi@1.0-vts.profiler_genc++",
tools: ["hidl-gen", "vtsc"],
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/",
srcs: [
":android.hardware.wifi@1.0_hal",
],
out: [
"android/hardware/wifi/1.0/Wifi.vts.cpp",
"android/hardware/wifi/1.0/WifiApIface.vts.cpp",
"android/hardware/wifi/1.0/WifiChip.vts.cpp",
"android/hardware/wifi/1.0/WifiChipEventCallback.vts.cpp",
"android/hardware/wifi/1.0/WifiEventCallback.vts.cpp",
"android/hardware/wifi/1.0/WifiIface.vts.cpp",
"android/hardware/wifi/1.0/WifiNanIface.vts.cpp",
"android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.cpp",
"android/hardware/wifi/1.0/WifiP2pIface.vts.cpp",
"android/hardware/wifi/1.0/WifiRttController.vts.cpp",
"android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.cpp",
"android/hardware/wifi/1.0/WifiStaIface.vts.cpp",
"android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.cpp",
"android/hardware/wifi/1.0/types.vts.cpp",
],
}
genrule {
name: "android.hardware.wifi@1.0-vts.profiler_genc++_headers",
tools: ["hidl-gen", "vtsc"],
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/",
srcs: [
":android.hardware.wifi@1.0_hal",
],
out: [
"android/hardware/wifi/1.0/Wifi.vts.h",
"android/hardware/wifi/1.0/WifiApIface.vts.h",
"android/hardware/wifi/1.0/WifiChip.vts.h",
"android/hardware/wifi/1.0/WifiChipEventCallback.vts.h",
"android/hardware/wifi/1.0/WifiEventCallback.vts.h",
"android/hardware/wifi/1.0/WifiIface.vts.h",
"android/hardware/wifi/1.0/WifiNanIface.vts.h",
"android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.h",
"android/hardware/wifi/1.0/WifiP2pIface.vts.h",
"android/hardware/wifi/1.0/WifiRttController.vts.h",
"android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.h",
"android/hardware/wifi/1.0/WifiStaIface.vts.h",
"android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.h",
"android/hardware/wifi/1.0/types.vts.h",
],
}
cc_library_shared {
name: "android.hardware.wifi@1.0-vts.profiler",
generated_sources: ["android.hardware.wifi@1.0-vts.profiler_genc++"],
generated_headers: ["android.hardware.wifi@1.0-vts.profiler_genc++_headers"],
export_generated_headers: ["android.hardware.wifi@1.0-vts.profiler_genc++_headers"],
shared_libs: [
"libbase",
"libcutils",
"libfmq",
"libhidlbase",
"libhidltransport",
"libvts_common",
"libvts_profiling",
"libvts_multidevice_proto",
"libprotobuf-cpp-full",
"android.hardware.wifi@1.0",
],
cflags: [
"-Wall",
"-Werror",
],
}