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