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