Home | History | Annotate | Download | only in build
      1 // This file was auto-generated. Do not edit manually.
      2 // Use launch_hal_test.py or update_makefiles.py in test/vts-testcase/hal/script/ to generate this file.
      3 
      4 // Generate .vts spec files.
      5 hal2vts {
      6     name: "android.hardware.wifi (a] 1.0-vts.spec",
      7     hidl_gen_args: "-r android.hardware:hardware/interfaces",
      8     srcs: [
      9         ":android.hardware.wifi (a] 1.0_hal",
     10     ],
     11     out: [
     12         "android/hardware/wifi/1.0/Wifi.vts",
     13         "android/hardware/wifi/1.0/WifiApIface.vts",
     14         "android/hardware/wifi/1.0/WifiChip.vts",
     15         "android/hardware/wifi/1.0/WifiChipEventCallback.vts",
     16         "android/hardware/wifi/1.0/WifiEventCallback.vts",
     17         "android/hardware/wifi/1.0/WifiIface.vts",
     18         "android/hardware/wifi/1.0/WifiNanIface.vts",
     19         "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts",
     20         "android/hardware/wifi/1.0/WifiP2pIface.vts",
     21         "android/hardware/wifi/1.0/WifiRttController.vts",
     22         "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts",
     23         "android/hardware/wifi/1.0/WifiStaIface.vts",
     24         "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts",
     25         "android/hardware/wifi/1.0/types.vts",
     26     ],
     27 }
     28 
     29 // Build VTS driver.
     30 genrule {
     31     name: "android.hardware.wifi (a] 1.0-vts.driver_genc++",
     32     tools: ["hidl-gen", "vtsc"],
     33     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.wifi (a] 1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
     34     srcs: [
     35         ":android.hardware.wifi (a] 1.0_hal",
     36     ],
     37     out: [
     38         "android/hardware/wifi/1.0/Wifi.vts.cpp",
     39         "android/hardware/wifi/1.0/WifiApIface.vts.cpp",
     40         "android/hardware/wifi/1.0/WifiChip.vts.cpp",
     41         "android/hardware/wifi/1.0/WifiChipEventCallback.vts.cpp",
     42         "android/hardware/wifi/1.0/WifiEventCallback.vts.cpp",
     43         "android/hardware/wifi/1.0/WifiIface.vts.cpp",
     44         "android/hardware/wifi/1.0/WifiNanIface.vts.cpp",
     45         "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.cpp",
     46         "android/hardware/wifi/1.0/WifiP2pIface.vts.cpp",
     47         "android/hardware/wifi/1.0/WifiRttController.vts.cpp",
     48         "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.cpp",
     49         "android/hardware/wifi/1.0/WifiStaIface.vts.cpp",
     50         "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.cpp",
     51         "android/hardware/wifi/1.0/types.vts.cpp",
     52     ],
     53 }
     54 
     55 genrule {
     56     name: "android.hardware.wifi (a] 1.0-vts.driver_genc++_headers",
     57     tools: ["hidl-gen", "vtsc"],
     58     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.wifi (a] 1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
     59     srcs: [
     60         ":android.hardware.wifi (a] 1.0_hal",
     61     ],
     62     out: [
     63         "android/hardware/wifi/1.0/Wifi.vts.h",
     64         "android/hardware/wifi/1.0/WifiApIface.vts.h",
     65         "android/hardware/wifi/1.0/WifiChip.vts.h",
     66         "android/hardware/wifi/1.0/WifiChipEventCallback.vts.h",
     67         "android/hardware/wifi/1.0/WifiEventCallback.vts.h",
     68         "android/hardware/wifi/1.0/WifiIface.vts.h",
     69         "android/hardware/wifi/1.0/WifiNanIface.vts.h",
     70         "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.h",
     71         "android/hardware/wifi/1.0/WifiP2pIface.vts.h",
     72         "android/hardware/wifi/1.0/WifiRttController.vts.h",
     73         "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.h",
     74         "android/hardware/wifi/1.0/WifiStaIface.vts.h",
     75         "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.h",
     76         "android/hardware/wifi/1.0/types.vts.h",
     77     ],
     78 }
     79 
     80 cc_library_shared {
     81     name: "android.hardware.wifi (a] 1.0-vts.driver",
     82     generated_sources: ["android.hardware.wifi (a] 1.0-vts.driver_genc++"],
     83     generated_headers: ["android.hardware.wifi (a] 1.0-vts.driver_genc++_headers"],
     84     export_generated_headers: ["android.hardware.wifi (a] 1.0-vts.driver_genc++_headers"],
     85     defaults: ["VtsHalDriverDefaults"],
     86     shared_libs: [],
     87     static_libs: [
     88         "android.hardware.wifi (a] 1.0",
     89     ],
     90 }
     91 
     92 // Build VTS profiler.
     93 genrule {
     94     name: "android.hardware.wifi (a] 1.0-vts.profiler_genc++",
     95     tools: ["hidl-gen", "vtsc"],
     96     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.wifi (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/wifi/1.0/ $(genDir)/android/hardware/wifi/1.0/",
     97     srcs: [
     98         ":android.hardware.wifi (a] 1.0_hal",
     99     ],
    100     out: [
    101         "android/hardware/wifi/1.0/Wifi.vts.cpp",
    102         "android/hardware/wifi/1.0/WifiApIface.vts.cpp",
    103         "android/hardware/wifi/1.0/WifiChip.vts.cpp",
    104         "android/hardware/wifi/1.0/WifiChipEventCallback.vts.cpp",
    105         "android/hardware/wifi/1.0/WifiEventCallback.vts.cpp",
    106         "android/hardware/wifi/1.0/WifiIface.vts.cpp",
    107         "android/hardware/wifi/1.0/WifiNanIface.vts.cpp",
    108         "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.cpp",
    109         "android/hardware/wifi/1.0/WifiP2pIface.vts.cpp",
    110         "android/hardware/wifi/1.0/WifiRttController.vts.cpp",
    111         "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.cpp",
    112         "android/hardware/wifi/1.0/WifiStaIface.vts.cpp",
    113         "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.cpp",
    114         "android/hardware/wifi/1.0/types.vts.cpp",
    115     ],
    116 }
    117 
    118 genrule {
    119     name: "android.hardware.wifi (a] 1.0-vts.profiler_genc++_headers",
    120     tools: ["hidl-gen", "vtsc"],
    121     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.wifi (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -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.h",
    127         "android/hardware/wifi/1.0/WifiApIface.vts.h",
    128         "android/hardware/wifi/1.0/WifiChip.vts.h",
    129         "android/hardware/wifi/1.0/WifiChipEventCallback.vts.h",
    130         "android/hardware/wifi/1.0/WifiEventCallback.vts.h",
    131         "android/hardware/wifi/1.0/WifiIface.vts.h",
    132         "android/hardware/wifi/1.0/WifiNanIface.vts.h",
    133         "android/hardware/wifi/1.0/WifiNanIfaceEventCallback.vts.h",
    134         "android/hardware/wifi/1.0/WifiP2pIface.vts.h",
    135         "android/hardware/wifi/1.0/WifiRttController.vts.h",
    136         "android/hardware/wifi/1.0/WifiRttControllerEventCallback.vts.h",
    137         "android/hardware/wifi/1.0/WifiStaIface.vts.h",
    138         "android/hardware/wifi/1.0/WifiStaIfaceEventCallback.vts.h",
    139         "android/hardware/wifi/1.0/types.vts.h",
    140     ],
    141 }
    142 
    143 cc_library_shared {
    144     name: "android.hardware.wifi (a] 1.0-vts.profiler",
    145     generated_sources: ["android.hardware.wifi (a] 1.0-vts.profiler_genc++"],
    146     generated_headers: ["android.hardware.wifi (a] 1.0-vts.profiler_genc++_headers"],
    147     export_generated_headers: ["android.hardware.wifi (a] 1.0-vts.profiler_genc++_headers"],
    148     defaults: ["VtsHalProfilerDefaults"],
    149     shared_libs: [],
    150     static_libs: [
    151         "android.hardware.wifi (a] 1.0",
    152     ],
    153 }
    154 
    155