Home | History | Annotate | Download | only in build
      1 // This file was auto-generated. Do not edit manually.
      2 // Use launch_hal_test.py or update_makefiles.py in test/vts-testcase/hal/script/ to generate this file.
      3 
      4 // Generate .vts spec files.
      5 hal2vts {
      6     name: "android.hardware.media.omx (a] 1.0-vts.spec",
      7     hidl_gen_args: "-r android.hardware:hardware/interfaces",
      8     srcs: [
      9         ":android.hardware.media.omx (a] 1.0_hal",
     10     ],
     11     out: [
     12         "android/hardware/media/omx/1.0/GraphicBufferSource.vts",
     13         "android/hardware/media/omx/1.0/Omx.vts",
     14         "android/hardware/media/omx/1.0/OmxBufferSource.vts",
     15         "android/hardware/media/omx/1.0/OmxNode.vts",
     16         "android/hardware/media/omx/1.0/OmxObserver.vts",
     17         "android/hardware/media/omx/1.0/OmxStore.vts",
     18         "android/hardware/media/omx/1.0/types.vts",
     19     ],
     20 }
     21 
     22 // Build VTS driver.
     23 genrule {
     24     name: "android.hardware.media.omx (a] 1.0-vts.driver_genc++",
     25     tools: ["hidl-gen", "vtsc"],
     26     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.media.omx (a] 1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/media/omx/1.0/ $(genDir)/android/hardware/media/omx/1.0/",
     27     srcs: [
     28         ":android.hardware.media.omx (a] 1.0_hal",
     29     ],
     30     out: [
     31         "android/hardware/media/omx/1.0/GraphicBufferSource.vts.cpp",
     32         "android/hardware/media/omx/1.0/Omx.vts.cpp",
     33         "android/hardware/media/omx/1.0/OmxBufferSource.vts.cpp",
     34         "android/hardware/media/omx/1.0/OmxNode.vts.cpp",
     35         "android/hardware/media/omx/1.0/OmxObserver.vts.cpp",
     36         "android/hardware/media/omx/1.0/OmxStore.vts.cpp",
     37         "android/hardware/media/omx/1.0/types.vts.cpp",
     38     ],
     39 }
     40 
     41 genrule {
     42     name: "android.hardware.media.omx (a] 1.0-vts.driver_genc++_headers",
     43     tools: ["hidl-gen", "vtsc"],
     44     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.media.omx (a] 1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/media/omx/1.0/ $(genDir)/android/hardware/media/omx/1.0/",
     45     srcs: [
     46         ":android.hardware.media.omx (a] 1.0_hal",
     47     ],
     48     out: [
     49         "android/hardware/media/omx/1.0/GraphicBufferSource.vts.h",
     50         "android/hardware/media/omx/1.0/Omx.vts.h",
     51         "android/hardware/media/omx/1.0/OmxBufferSource.vts.h",
     52         "android/hardware/media/omx/1.0/OmxNode.vts.h",
     53         "android/hardware/media/omx/1.0/OmxObserver.vts.h",
     54         "android/hardware/media/omx/1.0/OmxStore.vts.h",
     55         "android/hardware/media/omx/1.0/types.vts.h",
     56     ],
     57 }
     58 
     59 cc_library_shared {
     60     name: "android.hardware.media.omx (a] 1.0-vts.driver",
     61     generated_sources: ["android.hardware.media.omx (a] 1.0-vts.driver_genc++"],
     62     generated_headers: ["android.hardware.media.omx (a] 1.0-vts.driver_genc++_headers"],
     63     export_generated_headers: ["android.hardware.media.omx (a] 1.0-vts.driver_genc++_headers"],
     64     defaults: ["VtsHalDriverDefaults"],
     65     shared_libs: [
     66         "android.hardware.graphics.bufferqueue (a] 1.0-vts.driver",
     67         "android.hardware.graphics.common (a] 1.0-vts.driver",
     68         "android.hardware.media (a] 1.0-vts.driver",
     69     ],
     70     static_libs: [
     71         "android.hardware.graphics.bufferqueue (a] 1.0",
     72         "android.hardware.graphics.common (a] 1.0",
     73         "android.hardware.media.omx (a] 1.0",
     74         "android.hardware.media (a] 1.0",
     75     ],
     76 }
     77 
     78 // Build VTS profiler.
     79 genrule {
     80     name: "android.hardware.media.omx (a] 1.0-vts.profiler_genc++",
     81     tools: ["hidl-gen", "vtsc"],
     82     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.media.omx (a] 1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/media/omx/1.0/ $(genDir)/android/hardware/media/omx/1.0/",
     83     srcs: [
     84         ":android.hardware.media.omx (a] 1.0_hal",
     85     ],
     86     out: [
     87         "android/hardware/media/omx/1.0/GraphicBufferSource.vts.cpp",
     88         "android/hardware/media/omx/1.0/Omx.vts.cpp",
     89         "android/hardware/media/omx/1.0/OmxBufferSource.vts.cpp",
     90         "android/hardware/media/omx/1.0/OmxNode.vts.cpp",
     91         "android/hardware/media/omx/1.0/OmxObserver.vts.cpp",
     92         "android/hardware/media/omx/1.0/OmxStore.vts.cpp",
     93         "android/hardware/media/omx/1.0/types.vts.cpp",
     94     ],
     95 }
     96 
     97 genrule {
     98     name: "android.hardware.media.omx (a] 1.0-vts.profiler_genc++_headers",
     99     tools: ["hidl-gen", "vtsc"],
    100     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.media.omx (a] 1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/media/omx/1.0/ $(genDir)/android/hardware/media/omx/1.0/",
    101     srcs: [
    102         ":android.hardware.media.omx (a] 1.0_hal",
    103     ],
    104     out: [
    105         "android/hardware/media/omx/1.0/GraphicBufferSource.vts.h",
    106         "android/hardware/media/omx/1.0/Omx.vts.h",
    107         "android/hardware/media/omx/1.0/OmxBufferSource.vts.h",
    108         "android/hardware/media/omx/1.0/OmxNode.vts.h",
    109         "android/hardware/media/omx/1.0/OmxObserver.vts.h",
    110         "android/hardware/media/omx/1.0/OmxStore.vts.h",
    111         "android/hardware/media/omx/1.0/types.vts.h",
    112     ],
    113 }
    114 
    115 cc_library_shared {
    116     name: "android.hardware.media.omx (a] 1.0-vts.profiler",
    117     generated_sources: ["android.hardware.media.omx (a] 1.0-vts.profiler_genc++"],
    118     generated_headers: ["android.hardware.media.omx (a] 1.0-vts.profiler_genc++_headers"],
    119     export_generated_headers: ["android.hardware.media.omx (a] 1.0-vts.profiler_genc++_headers"],
    120     defaults: ["VtsHalProfilerDefaults"],
    121     shared_libs: [
    122         "android.hardware.graphics.bufferqueue (a] 1.0-vts.profiler",
    123         "android.hardware.graphics.common (a] 1.0-vts.profiler",
    124         "android.hardware.media (a] 1.0-vts.profiler",
    125     ],
    126     static_libs: [
    127         "android.hardware.graphics.bufferqueue (a] 1.0",
    128         "android.hardware.graphics.common (a] 1.0",
    129         "android.hardware.media.omx (a] 1.0",
    130         "android.hardware.media (a] 1.0",
    131     ],
    132 }
    133 
    134