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