| // This file was auto-generated. Do not edit manually. |
| // Use test/vts-testcase/hal/update_makefiles.py to generate this file. |
| |
| // Generate .vts spec files. |
| hal2vts { |
| name: "android.hardware.audio@2.0-vts.spec", |
| srcs: [ |
| ":android.hardware.audio@2.0_hal", |
| ], |
| out: [ |
| "android/hardware/audio/2.0/Device.vts", |
| "android/hardware/audio/2.0/DevicesFactory.vts", |
| "android/hardware/audio/2.0/PrimaryDevice.vts", |
| "android/hardware/audio/2.0/Stream.vts", |
| "android/hardware/audio/2.0/StreamIn.vts", |
| "android/hardware/audio/2.0/StreamOut.vts", |
| "android/hardware/audio/2.0/StreamOutCallback.vts", |
| "android/hardware/audio/2.0/types.vts", |
| ], |
| } |
| |
| // Build VTS driver. |
| genrule { |
| name: "android.hardware.audio.vts.driver@2.0_genc++", |
| tools: ["hidl-gen", "vtsc"], |
| cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/audio/2.0/ $(genDir)/android/hardware/audio/2.0/", |
| srcs: [ |
| ":android.hardware.audio@2.0_hal", |
| ], |
| out: [ |
| "android/hardware/audio/2.0/Device.vts.cpp", |
| "android/hardware/audio/2.0/DevicesFactory.vts.cpp", |
| "android/hardware/audio/2.0/PrimaryDevice.vts.cpp", |
| "android/hardware/audio/2.0/Stream.vts.cpp", |
| "android/hardware/audio/2.0/StreamIn.vts.cpp", |
| "android/hardware/audio/2.0/StreamOut.vts.cpp", |
| "android/hardware/audio/2.0/StreamOutCallback.vts.cpp", |
| "android/hardware/audio/2.0/types.vts.cpp", |
| ], |
| } |
| |
| genrule { |
| name: "android.hardware.audio.vts.driver@2.0_genc++_headers", |
| tools: ["hidl-gen", "vtsc"], |
| cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/audio/2.0/ $(genDir)/android/hardware/audio/2.0/", |
| srcs: [ |
| ":android.hardware.audio@2.0_hal", |
| ], |
| out: [ |
| "android/hardware/audio/2.0/Device.vts.h", |
| "android/hardware/audio/2.0/DevicesFactory.vts.h", |
| "android/hardware/audio/2.0/PrimaryDevice.vts.h", |
| "android/hardware/audio/2.0/Stream.vts.h", |
| "android/hardware/audio/2.0/StreamIn.vts.h", |
| "android/hardware/audio/2.0/StreamOut.vts.h", |
| "android/hardware/audio/2.0/StreamOutCallback.vts.h", |
| "android/hardware/audio/2.0/types.vts.h", |
| ], |
| } |
| |
| cc_library_shared { |
| name: "android.hardware.audio.vts.driver@2.0", |
| generated_sources: ["android.hardware.audio.vts.driver@2.0_genc++"], |
| generated_headers: ["android.hardware.audio.vts.driver@2.0_genc++_headers"], |
| export_generated_headers: ["android.hardware.audio.vts.driver@2.0_genc++_headers"], |
| shared_libs: [ |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libutils", |
| "libcutils", |
| "libvts_common", |
| "libvts_datatype", |
| "libvts_measurement", |
| "libvts_multidevice_proto", |
| "libcamera_metadata", |
| "libprotobuf-cpp-full", |
| "android.hardware.audio@2.0", |
| "android.hardware.audio.common.vts.driver@2.0", |
| "android.hidl.base@1.0", |
| ], |
| export_shared_lib_headers: [ |
| "android.hardware.audio.common.vts.driver@2.0", |
| "android.hidl.base@1.0", |
| ], |
| } |
| |
| // Build VTS profiler. |
| genrule { |
| name: "android.hardware.audio@2.0-vts.profiler_genc++", |
| tools: ["hidl-gen", "vtsc"], |
| cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/audio/2.0/ $(genDir)/android/hardware/audio/2.0/", |
| srcs: [ |
| ":android.hardware.audio@2.0_hal", |
| ], |
| out: [ |
| "android/hardware/audio/2.0/Device.vts.cpp", |
| "android/hardware/audio/2.0/DevicesFactory.vts.cpp", |
| "android/hardware/audio/2.0/PrimaryDevice.vts.cpp", |
| "android/hardware/audio/2.0/Stream.vts.cpp", |
| "android/hardware/audio/2.0/StreamIn.vts.cpp", |
| "android/hardware/audio/2.0/StreamOut.vts.cpp", |
| "android/hardware/audio/2.0/StreamOutCallback.vts.cpp", |
| "android/hardware/audio/2.0/types.vts.cpp", |
| ], |
| } |
| |
| genrule { |
| name: "android.hardware.audio@2.0-vts.profiler_genc++_headers", |
| tools: ["hidl-gen", "vtsc"], |
| cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.audio@2.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/audio/2.0/ $(genDir)/android/hardware/audio/2.0/", |
| srcs: [ |
| ":android.hardware.audio@2.0_hal", |
| ], |
| out: [ |
| "android/hardware/audio/2.0/Device.vts.h", |
| "android/hardware/audio/2.0/DevicesFactory.vts.h", |
| "android/hardware/audio/2.0/PrimaryDevice.vts.h", |
| "android/hardware/audio/2.0/Stream.vts.h", |
| "android/hardware/audio/2.0/StreamIn.vts.h", |
| "android/hardware/audio/2.0/StreamOut.vts.h", |
| "android/hardware/audio/2.0/StreamOutCallback.vts.h", |
| "android/hardware/audio/2.0/types.vts.h", |
| ], |
| } |
| |
| cc_library_shared { |
| name: "android.hardware.audio@2.0-vts.profiler", |
| generated_sources: ["android.hardware.audio@2.0-vts.profiler_genc++"], |
| generated_headers: ["android.hardware.audio@2.0-vts.profiler_genc++_headers"], |
| export_generated_headers: ["android.hardware.audio@2.0-vts.profiler_genc++_headers"], |
| shared_libs: [ |
| "libbase", |
| "libhidlbase", |
| "libhidltransport", |
| "libvts_profiling", |
| "libvts_multidevice_proto", |
| "libprotobuf-cpp-full", |
| "android.hardware.audio@2.0", |
| "android.hardware.audio.common@2.0-vts.profiler", |
| "android.hidl.base@1.0", |
| ], |
| } |
| |