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