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