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.graphics.composer (a] 2.1-vts.spec",
      7     hidl_gen_args: "-r android.hardware:hardware/interfaces",
      8     srcs: [
      9         ":android.hardware.graphics.composer (a] 2.1_hal",
     10     ],
     11     out: [
     12         "android/hardware/graphics/composer/2.1/Composer.vts",
     13         "android/hardware/graphics/composer/2.1/ComposerCallback.vts",
     14         "android/hardware/graphics/composer/2.1/ComposerClient.vts",
     15         "android/hardware/graphics/composer/2.1/types.vts",
     16     ],
     17 }
     18 
     19 // Build VTS driver.
     20 genrule {
     21     name: "android.hardware.graphics.composer (a] 2.1-vts.driver_genc++",
     22     tools: ["hidl-gen", "vtsc"],
     23     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.graphics.composer (a] 2.1 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/graphics/composer/2.1/ $(genDir)/android/hardware/graphics/composer/2.1/",
     24     srcs: [
     25         ":android.hardware.graphics.composer (a] 2.1_hal",
     26     ],
     27     out: [
     28         "android/hardware/graphics/composer/2.1/Composer.vts.cpp",
     29         "android/hardware/graphics/composer/2.1/ComposerCallback.vts.cpp",
     30         "android/hardware/graphics/composer/2.1/ComposerClient.vts.cpp",
     31         "android/hardware/graphics/composer/2.1/types.vts.cpp",
     32     ],
     33 }
     34 
     35 genrule {
     36     name: "android.hardware.graphics.composer (a] 2.1-vts.driver_genc++_headers",
     37     tools: ["hidl-gen", "vtsc"],
     38     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.graphics.composer (a] 2.1 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/graphics/composer/2.1/ $(genDir)/android/hardware/graphics/composer/2.1/",
     39     srcs: [
     40         ":android.hardware.graphics.composer (a] 2.1_hal",
     41     ],
     42     out: [
     43         "android/hardware/graphics/composer/2.1/Composer.vts.h",
     44         "android/hardware/graphics/composer/2.1/ComposerCallback.vts.h",
     45         "android/hardware/graphics/composer/2.1/ComposerClient.vts.h",
     46         "android/hardware/graphics/composer/2.1/types.vts.h",
     47     ],
     48 }
     49 
     50 cc_library_shared {
     51     name: "android.hardware.graphics.composer (a] 2.1-vts.driver",
     52     generated_sources: ["android.hardware.graphics.composer (a] 2.1-vts.driver_genc++"],
     53     generated_headers: ["android.hardware.graphics.composer (a] 2.1-vts.driver_genc++_headers"],
     54     export_generated_headers: ["android.hardware.graphics.composer (a] 2.1-vts.driver_genc++_headers"],
     55     defaults: ["VtsHalDriverDefaults"],
     56     shared_libs: [
     57         "android.hardware.graphics.common (a] 1.0-vts.driver",
     58     ],
     59     static_libs: [
     60         "android.hardware.graphics.common (a] 1.0",
     61         "android.hardware.graphics.composer (a] 2.1",
     62     ],
     63 }
     64 
     65 // Build VTS profiler.
     66 genrule {
     67     name: "android.hardware.graphics.composer (a] 2.1-vts.profiler_genc++",
     68     tools: ["hidl-gen", "vtsc"],
     69     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.graphics.composer (a] 2.1 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/graphics/composer/2.1/ $(genDir)/android/hardware/graphics/composer/2.1/",
     70     srcs: [
     71         ":android.hardware.graphics.composer (a] 2.1_hal",
     72     ],
     73     out: [
     74         "android/hardware/graphics/composer/2.1/Composer.vts.cpp",
     75         "android/hardware/graphics/composer/2.1/ComposerCallback.vts.cpp",
     76         "android/hardware/graphics/composer/2.1/ComposerClient.vts.cpp",
     77         "android/hardware/graphics/composer/2.1/types.vts.cpp",
     78     ],
     79 }
     80 
     81 genrule {
     82     name: "android.hardware.graphics.composer (a] 2.1-vts.profiler_genc++_headers",
     83     tools: ["hidl-gen", "vtsc"],
     84     cmd: "$(location hidl-gen) -o $(genDir) -Lvts -r android.hardware:hardware/interfaces android.hardware.graphics.composer (a] 2.1 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/graphics/composer/2.1/ $(genDir)/android/hardware/graphics/composer/2.1/",
     85     srcs: [
     86         ":android.hardware.graphics.composer (a] 2.1_hal",
     87     ],
     88     out: [
     89         "android/hardware/graphics/composer/2.1/Composer.vts.h",
     90         "android/hardware/graphics/composer/2.1/ComposerCallback.vts.h",
     91         "android/hardware/graphics/composer/2.1/ComposerClient.vts.h",
     92         "android/hardware/graphics/composer/2.1/types.vts.h",
     93     ],
     94 }
     95 
     96 cc_library_shared {
     97     name: "android.hardware.graphics.composer (a] 2.1-vts.profiler",
     98     generated_sources: ["android.hardware.graphics.composer (a] 2.1-vts.profiler_genc++"],
     99     generated_headers: ["android.hardware.graphics.composer (a] 2.1-vts.profiler_genc++_headers"],
    100     export_generated_headers: ["android.hardware.graphics.composer (a] 2.1-vts.profiler_genc++_headers"],
    101     defaults: ["VtsHalProfilerDefaults"],
    102     shared_libs: [
    103         "android.hardware.graphics.common (a] 1.0-vts.profiler",
    104     ],
    105     static_libs: [
    106         "android.hardware.graphics.common (a] 1.0",
    107         "android.hardware.graphics.composer (a] 2.1",
    108     ],
    109 }
    110 
    111