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.radio (a] 1.0-vts.spec",
      7     hidl_gen_args: "-r android.hardware:hardware/interfaces",
      8     srcs: [
      9         ":android.hardware.radio (a] 1.0_hal",
     10     ],
     11     out: [
     12         "android/hardware/radio/1.0/Radio.vts",
     13         "android/hardware/radio/1.0/RadioIndication.vts",
     14         "android/hardware/radio/1.0/RadioResponse.vts",
     15         "android/hardware/radio/1.0/Sap.vts",
     16         "android/hardware/radio/1.0/SapCallback.vts",
     17         "android/hardware/radio/1.0/types.vts",
     18     ],
     19 }
     20 
     21 // Build VTS driver.
     22 genrule {
     23     name: "android.hardware.radio (a] 1.0-vts.driver_genc++",
     24     tools: ["hidl-gen", "vtsc"],
     25     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.radio (a] 1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
     26     srcs: [
     27         ":android.hardware.radio (a] 1.0_hal",
     28     ],
     29     out: [
     30         "android/hardware/radio/1.0/Radio.vts.cpp",
     31         "android/hardware/radio/1.0/RadioIndication.vts.cpp",
     32         "android/hardware/radio/1.0/RadioResponse.vts.cpp",
     33         "android/hardware/radio/1.0/Sap.vts.cpp",
     34         "android/hardware/radio/1.0/SapCallback.vts.cpp",
     35         "android/hardware/radio/1.0/types.vts.cpp",
     36     ],
     37 }
     38 
     39 genrule {
     40     name: "android.hardware.radio (a] 1.0-vts.driver_genc++_headers",
     41     tools: ["hidl-gen", "vtsc"],
     42     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.radio (a] 1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
     43     srcs: [
     44         ":android.hardware.radio (a] 1.0_hal",
     45     ],
     46     out: [
     47         "android/hardware/radio/1.0/Radio.vts.h",
     48         "android/hardware/radio/1.0/RadioIndication.vts.h",
     49         "android/hardware/radio/1.0/RadioResponse.vts.h",
     50         "android/hardware/radio/1.0/Sap.vts.h",
     51         "android/hardware/radio/1.0/SapCallback.vts.h",
     52         "android/hardware/radio/1.0/types.vts.h",
     53     ],
     54 }
     55 
     56 cc_library_shared {
     57     name: "android.hardware.radio (a] 1.0-vts.driver",
     58     generated_sources: ["android.hardware.radio (a] 1.0-vts.driver_genc++"],
     59     generated_headers: ["android.hardware.radio (a] 1.0-vts.driver_genc++_headers"],
     60     export_generated_headers: ["android.hardware.radio (a] 1.0-vts.driver_genc++_headers"],
     61     defaults: ["VtsHalDriverDefaults"],
     62     shared_libs: [],
     63     static_libs: [
     64         "android.hardware.radio (a] 1.0",
     65     ],
     66 }
     67 
     68 // Build VTS profiler.
     69 genrule {
     70     name: "android.hardware.radio (a] 1.0-vts.profiler_genc++",
     71     tools: ["hidl-gen", "vtsc"],
     72     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.radio (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
     73     srcs: [
     74         ":android.hardware.radio (a] 1.0_hal",
     75     ],
     76     out: [
     77         "android/hardware/radio/1.0/Radio.vts.cpp",
     78         "android/hardware/radio/1.0/RadioIndication.vts.cpp",
     79         "android/hardware/radio/1.0/RadioResponse.vts.cpp",
     80         "android/hardware/radio/1.0/Sap.vts.cpp",
     81         "android/hardware/radio/1.0/SapCallback.vts.cpp",
     82         "android/hardware/radio/1.0/types.vts.cpp",
     83     ],
     84 }
     85 
     86 genrule {
     87     name: "android.hardware.radio (a] 1.0-vts.profiler_genc++_headers",
     88     tools: ["hidl-gen", "vtsc"],
     89     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.radio (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/radio/1.0/ $(genDir)/android/hardware/radio/1.0/",
     90     srcs: [
     91         ":android.hardware.radio (a] 1.0_hal",
     92     ],
     93     out: [
     94         "android/hardware/radio/1.0/Radio.vts.h",
     95         "android/hardware/radio/1.0/RadioIndication.vts.h",
     96         "android/hardware/radio/1.0/RadioResponse.vts.h",
     97         "android/hardware/radio/1.0/Sap.vts.h",
     98         "android/hardware/radio/1.0/SapCallback.vts.h",
     99         "android/hardware/radio/1.0/types.vts.h",
    100     ],
    101 }
    102 
    103 cc_library_shared {
    104     name: "android.hardware.radio (a] 1.0-vts.profiler",
    105     generated_sources: ["android.hardware.radio (a] 1.0-vts.profiler_genc++"],
    106     generated_headers: ["android.hardware.radio (a] 1.0-vts.profiler_genc++_headers"],
    107     export_generated_headers: ["android.hardware.radio (a] 1.0-vts.profiler_genc++_headers"],
    108     defaults: ["VtsHalProfilerDefaults"],
    109     shared_libs: [],
    110     static_libs: [
    111         "android.hardware.radio (a] 1.0",
    112     ],
    113 }
    114 
    115