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