diff options
author | Tri Vo <trong@google.com> | 2017-02-07 19:13:25 -0800 |
---|---|---|
committer | Tri Vo <trong@google.com> | 2017-02-07 19:13:28 -0800 |
commit | ce608bec74a947ebd9875004dc5dc4594629c440 (patch) | |
tree | 74ff1a4436fc0e5cffaaa5fe731bb1089a98f35d /audio/2.0/Android.bp | |
parent | bd397ba5e12238e098e9d8379f5008952e7a368b (diff) | |
download | platform_hardware_interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.tar.gz platform_hardware_interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.tar.bz2 platform_hardware_interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.zip |
Migrate driver/profiler to test/vts-testcase/hal.
Bug: 34893894
Test: mmma hardware/interfaces
Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
Diffstat (limited to 'audio/2.0/Android.bp')
-rw-r--r-- | audio/2.0/Android.bp | 168 |
1 files changed, 14 insertions, 154 deletions
diff --git a/audio/2.0/Android.bp b/audio/2.0/Android.bp index 1d4515d38d..007dc8a92a 100644 --- a/audio/2.0/Android.bp +++ b/audio/2.0/Android.bp @@ -1,5 +1,19 @@ // This file is autogenerated by hidl-gen. Do not edit manually. +filegroup { + name: "android.hardware.audio@2.0_hal", + srcs: [ + "types.hal", + "IDevice.hal", + "IDevicesFactory.hal", + "IPrimaryDevice.hal", + "IStream.hal", + "IStreamIn.hal", + "IStreamOut.hal", + "IStreamOutCallback.hal", + ], +} + genrule { name: "android.hardware.audio@2.0_genc++", tools: ["hidl-gen"], @@ -104,157 +118,3 @@ cc_library_shared { "android.hidl.base@1.0", ], } - -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: [ - "types.hal", - "IDevice.hal", - "IDevicesFactory.hal", - "IPrimaryDevice.hal", - "IStream.hal", - "IStreamIn.hal", - "IStreamOut.hal", - "IStreamOutCallback.hal", - ], - out: [ - "android/hardware/audio/2.0/types.vts.cpp", - "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", - ], -} - -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: [ - "types.hal", - "IDevice.hal", - "IDevicesFactory.hal", - "IPrimaryDevice.hal", - "IStream.hal", - "IStreamIn.hal", - "IStreamOut.hal", - "IStreamOutCallback.hal", - ], - out: [ - "android/hardware/audio/2.0/types.vts.h", - "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", - ], -} - -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.common@2.0", - "android.hidl.base@1.0", - "android.hardware.audio@2.0", - ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - "android.hardware.audio.common@2.0", - "android.hidl.base@1.0", - ], -} - -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: [ - "types.hal", - "IDevice.hal", - "IDevicesFactory.hal", - "IPrimaryDevice.hal", - "IStream.hal", - "IStreamIn.hal", - "IStreamOut.hal", - "IStreamOutCallback.hal", - ], - out: [ - "android/hardware/audio/2.0/types.vts.cpp", - "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", - ], -} - -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: [ - "types.hal", - "IDevice.hal", - "IDevicesFactory.hal", - "IPrimaryDevice.hal", - "IStream.hal", - "IStreamIn.hal", - "IStreamOut.hal", - "IStreamOutCallback.hal", - ], - out: [ - "android/hardware/audio/2.0/types.vts.h", - "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", - ], -} - -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.common@2.0", - "android.hidl.base@1.0", - "android.hardware.audio@2.0", - ], -} |