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