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