Home | History | Annotate | Download | only in build
      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.
      5 hal2vts {
      6     name: "android.hardware.wifi (a] 1.0-vts.spec",
      7     srcs: [
      8         ":android.hardware.wifi (a] 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.
     29 genrule {
     30     name: "android.hardware.wifi (a] 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 (a] 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 (a] 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 
     54 genrule {
     55     name: "android.hardware.wifi (a] 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 (a] 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 (a] 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 
     79 cc_library_shared {
     80     name: "android.hardware.wifi (a] 1.0-vts.driver",
     81     generated_sources: ["android.hardware.wifi (a] 1.0-vts.driver_genc++"],
     82     generated_headers: ["android.hardware.wifi (a] 1.0-vts.driver_genc++_headers"],
     83     export_generated_headers: ["android.hardware.wifi (a] 1.0-vts.driver_genc++_headers"],
     84     shared_libs: [
     85         "libcamera_metadata",
     86         "libcutils",
     87         "libfmq",
     88         "libhidlbase",
     89         "libhidltransport",
     90         "libhwbinder",
     91         "liblog",
     92         "libprotobuf-cpp-full",
     93         "libutils",
     94         "libvts_common",
     95         "libvts_datatype",
     96         "libvts_drivercomm",
     97         "libvts_measurement",
     98         "libvts_multidevice_proto",
     99         "android.hidl.allocator (a] 1.0",
    100         "android.hardware.wifi (a] 1.0",
    101         
    102     ],
    103     export_shared_lib_headers: [
    104         
    105     ],
    106     cflags: [
    107         "-Wall",
    108         "-Werror",
    109 
    110         // These warnings are in code generated with vtsc
    111         // b/31362043
    112         "-Wno-duplicate-decl-specifier",
    113         "-Wno-implicitly-unsigned-literal",
    114     ],
    115 }
    116 
    117 // Build VTS profiler.
    118 genrule {
    119     name: "android.hardware.wifi (a] 1.0-vts.profiler_genc++",
    120     tools: ["hidl-gen", "vtsc"],
    121     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
    122     srcs: [
    123         ":android.hardware.wifi (a] 1.0_hal",
    124     ],
    125     out: [
    126         "android/hardware/wifi/1.0/Wifi.vts.cpp",
    127         "android/hardware/wifi/1.0/WifiApIface.vts.cpp",
    128         "android/hardware/wifi/1.0/WifiChip.vts.cpp",
    129         "android/hardware/wifi/1.0/WifiChipEventCallback.vts.cpp",
    130         "android/hardware/wifi/1.0/WifiEventCallback.vts.cpp",
    131         "android/hardware/wifi/1.0/WifiIface.vts.cpp",
    132         "android/hardware/wifi/1.0/WifiNanIface.vts.cpp",
    133         "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.cpp",
    134         "android/hardware/wifi/1.0/WifiP2pIface.vts.cpp",
    135         "android/hardware/wifi/1.0/WifiRttController.vts.cpp",
    136         "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.cpp",
    137         "android/hardware/wifi/1.0/WifiStaIface.vts.cpp",
    138         "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.cpp",
    139         "android/hardware/wifi/1.0/types.vts.cpp",
    140     ],
    141 }
    142 
    143 genrule {
    144     name: "android.hardware.wifi (a] 1.0-vts.profiler_genc++_headers",
    145     tools: ["hidl-gen", "vtsc"],
    146     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.wifi (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
    147     srcs: [
    148         ":android.hardware.wifi (a] 1.0_hal",
    149     ],
    150     out: [
    151         "android/hardware/wifi/1.0/Wifi.vts.h",
    152         "android/hardware/wifi/1.0/WifiApIface.vts.h",
    153         "android/hardware/wifi/1.0/WifiChip.vts.h",
    154         "android/hardware/wifi/1.0/WifiChipEventCallback.vts.h",
    155         "android/hardware/wifi/1.0/WifiEventCallback.vts.h",
    156         "android/hardware/wifi/1.0/WifiIface.vts.h",
    157         "android/hardware/wifi/1.0/WifiNanIface.vts.h",
    158         "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.h",
    159         "android/hardware/wifi/1.0/WifiP2pIface.vts.h",
    160         "android/hardware/wifi/1.0/WifiRttController.vts.h",
    161         "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.h",
    162         "android/hardware/wifi/1.0/WifiStaIface.vts.h",
    163         "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.h",
    164         "android/hardware/wifi/1.0/types.vts.h",
    165     ],
    166 }
    167 
    168 cc_library_shared {
    169     name: "android.hardware.wifi (a] 1.0-vts.profiler",
    170     generated_sources: ["android.hardware.wifi (a] 1.0-vts.profiler_genc++"],
    171     generated_headers: ["android.hardware.wifi (a] 1.0-vts.profiler_genc++_headers"],
    172     export_generated_headers: ["android.hardware.wifi (a] 1.0-vts.profiler_genc++_headers"],
    173     shared_libs: [
    174         "libbase",
    175         "libcutils",
    176         "libfmq",
    177         "libhidlbase",
    178         "libhidltransport",
    179         "libvts_common",
    180         "libvts_profiling",
    181         "libvts_multidevice_proto",
    182         "libprotobuf-cpp-full",
    183         "android.hardware.wifi (a] 1.0",
    184         
    185     ],
    186     cflags: [
    187         "-Wall",
    188         "-Werror",
    189 
    190         // These warnings are in code generated with vtsc
    191         // b/31362043
    192         "-Wno-duplicate-decl-specifier",
    193         "-Wno-implicitly-unsigned-literal",
    194     ],
    195 }
    196 
    197