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.tests.bar (a] 1.0-vts.spec",
      7     srcs: [
      8         ":android.hardware.tests.bar (a] 1.0_hal",
      9     ],
     10     out: [
     11         "android/hardware/tests/bar/1.0/Bar.vts",
     12         "android/hardware/tests/bar/1.0/Complicated.vts",
     13         "android/hardware/tests/bar/1.0/FooCallback.vts",
     14         "android/hardware/tests/bar/1.0/ImportRules.vts",
     15         "android/hardware/tests/bar/1.0/ImportTypes.vts",
     16         "android/hardware/tests/bar/1.0/types.vts",
     17     ],
     18 }
     19 
     20 // Build VTS driver.
     21 genrule {
     22     name: "android.hardware.tests.bar (a] 1.0-vts.driver_genc++",
     23     tools: ["hidl-gen", "vtsc"],
     24     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.tests.bar (a] 1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/tests/bar/1.0/ $(genDir)/android/hardware/tests/bar/1.0/",
     25     srcs: [
     26         ":android.hardware.tests.bar (a] 1.0_hal",
     27     ],
     28     out: [
     29         "android/hardware/tests/bar/1.0/Bar.vts.cpp",
     30         "android/hardware/tests/bar/1.0/Complicated.vts.cpp",
     31         "android/hardware/tests/bar/1.0/FooCallback.vts.cpp",
     32         "android/hardware/tests/bar/1.0/ImportRules.vts.cpp",
     33         "android/hardware/tests/bar/1.0/ImportTypes.vts.cpp",
     34         "android/hardware/tests/bar/1.0/types.vts.cpp",
     35     ],
     36 }
     37 
     38 genrule {
     39     name: "android.hardware.tests.bar (a] 1.0-vts.driver_genc++_headers",
     40     tools: ["hidl-gen", "vtsc"],
     41     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.tests.bar (a] 1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/tests/bar/1.0/ $(genDir)/android/hardware/tests/bar/1.0/",
     42     srcs: [
     43         ":android.hardware.tests.bar (a] 1.0_hal",
     44     ],
     45     out: [
     46         "android/hardware/tests/bar/1.0/Bar.vts.h",
     47         "android/hardware/tests/bar/1.0/Complicated.vts.h",
     48         "android/hardware/tests/bar/1.0/FooCallback.vts.h",
     49         "android/hardware/tests/bar/1.0/ImportRules.vts.h",
     50         "android/hardware/tests/bar/1.0/ImportTypes.vts.h",
     51         "android/hardware/tests/bar/1.0/types.vts.h",
     52     ],
     53 }
     54 
     55 cc_library_shared {
     56     name: "android.hardware.tests.bar (a] 1.0-vts.driver",
     57     generated_sources: ["android.hardware.tests.bar (a] 1.0-vts.driver_genc++"],
     58     generated_headers: ["android.hardware.tests.bar (a] 1.0-vts.driver_genc++_headers"],
     59     export_generated_headers: ["android.hardware.tests.bar (a] 1.0-vts.driver_genc++_headers"],
     60     shared_libs: [
     61         "libhidlbase",
     62         "libhidltransport",
     63         "libhwbinder",
     64         "liblog",
     65         "libutils",
     66         "libcutils",
     67         "libvts_common",
     68         "libvts_datatype",
     69         "libvts_drivercomm",
     70         "libvts_measurement",
     71         "libvts_multidevice_proto",
     72         "libcamera_metadata",
     73         "libprotobuf-cpp-full",
     74         "android.hardware.tests.bar (a] 1.0",
     75         "android.hardware.tests.foo (a] 1.0",
     76         "android.hardware.tests.foo (a] 1.0-vts.driver",
     77         "android.hidl.base (a] 1.0",
     78     ],
     79     export_shared_lib_headers: [
     80         "android.hardware.tests.foo (a] 1.0",
     81         "android.hardware.tests.foo (a] 1.0-vts.driver",
     82         "android.hidl.base (a] 1.0",
     83     ],
     84 }
     85 
     86 // Build VTS profiler.
     87 genrule {
     88     name: "android.hardware.tests.bar (a] 1.0-vts.profiler_genc++",
     89     tools: ["hidl-gen", "vtsc"],
     90     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.tests.bar (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/tests/bar/1.0/ $(genDir)/android/hardware/tests/bar/1.0/",
     91     srcs: [
     92         ":android.hardware.tests.bar (a] 1.0_hal",
     93     ],
     94     out: [
     95         "android/hardware/tests/bar/1.0/Bar.vts.cpp",
     96         "android/hardware/tests/bar/1.0/Complicated.vts.cpp",
     97         "android/hardware/tests/bar/1.0/FooCallback.vts.cpp",
     98         "android/hardware/tests/bar/1.0/ImportRules.vts.cpp",
     99         "android/hardware/tests/bar/1.0/ImportTypes.vts.cpp",
    100         "android/hardware/tests/bar/1.0/types.vts.cpp",
    101     ],
    102 }
    103 
    104 genrule {
    105     name: "android.hardware.tests.bar (a] 1.0-vts.profiler_genc++_headers",
    106     tools: ["hidl-gen", "vtsc"],
    107     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.tests.bar (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/tests/bar/1.0/ $(genDir)/android/hardware/tests/bar/1.0/",
    108     srcs: [
    109         ":android.hardware.tests.bar (a] 1.0_hal",
    110     ],
    111     out: [
    112         "android/hardware/tests/bar/1.0/Bar.vts.h",
    113         "android/hardware/tests/bar/1.0/Complicated.vts.h",
    114         "android/hardware/tests/bar/1.0/FooCallback.vts.h",
    115         "android/hardware/tests/bar/1.0/ImportRules.vts.h",
    116         "android/hardware/tests/bar/1.0/ImportTypes.vts.h",
    117         "android/hardware/tests/bar/1.0/types.vts.h",
    118     ],
    119 }
    120 
    121 cc_library_shared {
    122     name: "android.hardware.tests.bar (a] 1.0-vts.profiler",
    123     generated_sources: ["android.hardware.tests.bar (a] 1.0-vts.profiler_genc++"],
    124     generated_headers: ["android.hardware.tests.bar (a] 1.0-vts.profiler_genc++_headers"],
    125     export_generated_headers: ["android.hardware.tests.bar (a] 1.0-vts.profiler_genc++_headers"],
    126     shared_libs: [
    127         "libbase",
    128         "libhidlbase",
    129         "libhidltransport",
    130         "libvts_profiling",
    131         "libvts_multidevice_proto",
    132         "libprotobuf-cpp-full",
    133         "android.hardware.tests.bar (a] 1.0",
    134         "android.hardware.tests.foo (a] 1.0",
    135         "android.hardware.tests.foo (a] 1.0-vts.profiler",
    136         "android.hidl.base (a] 1.0",
    137     ],
    138 }
    139 
    140