Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
Tri Vo | ce608be | 2017-02-07 19:13:25 -0800 | [diff] [blame] | 3 | filegroup { |
| 4 | name: "android.hardware.soundtrigger@2.0_hal", |
| 5 | srcs: [ |
| 6 | "types.hal", |
| 7 | "ISoundTriggerHw.hal", |
| 8 | "ISoundTriggerHwCallback.hal", |
| 9 | ], |
| 10 | } |
| 11 | |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 12 | genrule { |
| 13 | name: "android.hardware.soundtrigger@2.0_genc++", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 14 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 15 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.soundtrigger@2.0", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 16 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 17 | ":android.hardware.soundtrigger@2.0_hal", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 18 | ], |
| 19 | out: [ |
| 20 | "android/hardware/soundtrigger/2.0/types.cpp", |
| 21 | "android/hardware/soundtrigger/2.0/SoundTriggerHwAll.cpp", |
| 22 | "android/hardware/soundtrigger/2.0/SoundTriggerHwCallbackAll.cpp", |
| 23 | ], |
| 24 | } |
| 25 | |
| 26 | genrule { |
| 27 | name: "android.hardware.soundtrigger@2.0_genc++_headers", |
Colin Cross | b785f5b | 2016-11-04 15:02:42 -0700 | [diff] [blame] | 28 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 29 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.soundtrigger@2.0", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 30 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 31 | ":android.hardware.soundtrigger@2.0_hal", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 32 | ], |
| 33 | out: [ |
| 34 | "android/hardware/soundtrigger/2.0/types.h", |
Steven Moreland | 561b602 | 2017-03-27 11:48:14 -0700 | [diff] [blame] | 35 | "android/hardware/soundtrigger/2.0/hwtypes.h", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 36 | "android/hardware/soundtrigger/2.0/ISoundTriggerHw.h", |
| 37 | "android/hardware/soundtrigger/2.0/IHwSoundTriggerHw.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 38 | "android/hardware/soundtrigger/2.0/BnHwSoundTriggerHw.h", |
| 39 | "android/hardware/soundtrigger/2.0/BpHwSoundTriggerHw.h", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 40 | "android/hardware/soundtrigger/2.0/BsSoundTriggerHw.h", |
| 41 | "android/hardware/soundtrigger/2.0/ISoundTriggerHwCallback.h", |
| 42 | "android/hardware/soundtrigger/2.0/IHwSoundTriggerHwCallback.h", |
Yifan Hong | a18049a | 2017-01-11 13:14:59 -0800 | [diff] [blame] | 43 | "android/hardware/soundtrigger/2.0/BnHwSoundTriggerHwCallback.h", |
| 44 | "android/hardware/soundtrigger/2.0/BpHwSoundTriggerHwCallback.h", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 45 | "android/hardware/soundtrigger/2.0/BsSoundTriggerHwCallback.h", |
| 46 | ], |
| 47 | } |
| 48 | |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 49 | cc_library { |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 50 | name: "android.hardware.soundtrigger@2.0", |
Steven Moreland | 76cfb84 | 2017-05-19 15:52:22 -0700 | [diff] [blame] | 51 | defaults: ["hidl-module-defaults"], |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 52 | generated_sources: ["android.hardware.soundtrigger@2.0_genc++"], |
| 53 | generated_headers: ["android.hardware.soundtrigger@2.0_genc++_headers"], |
| 54 | export_generated_headers: ["android.hardware.soundtrigger@2.0_genc++_headers"], |
Steven Moreland | 3b36a83 | 2017-04-11 09:58:03 -0700 | [diff] [blame] | 55 | vendor_available: true, |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 56 | vndk: { |
| 57 | enabled: true, |
| 58 | }, |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 59 | shared_libs: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 60 | "libhidlbase", |
| 61 | "libhidltransport", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 62 | "libhwbinder", |
Steven Moreland | f8d68ec | 2016-11-21 16:28:54 -0800 | [diff] [blame] | 63 | "liblog", |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 64 | "libutils", |
| 65 | "libcutils", |
| 66 | "android.hardware.audio.common@2.0", |
| 67 | ], |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 68 | export_shared_lib_headers: [ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 69 | "libhidlbase", |
| 70 | "libhidltransport", |
Steven Moreland | fcd74eb | 2016-11-02 10:23:49 -0700 | [diff] [blame] | 71 | "libhwbinder", |
| 72 | "libutils", |
Yifan Hong | c2f2779 | 2016-11-07 15:38:41 -0800 | [diff] [blame] | 73 | "android.hardware.audio.common@2.0", |
Steven Moreland | 6972777 | 2016-10-25 15:45:19 -0700 | [diff] [blame] | 74 | ], |
Eric Laurent | fc496a2 | 2016-08-05 12:13:45 -0700 | [diff] [blame] | 75 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 76 | |
| 77 | genrule { |
| 78 | name: "android.hardware.soundtrigger@2.0-adapter-helper_genc++", |
| 79 | tools: ["hidl-gen"], |
| 80 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.soundtrigger@2.0", |
| 81 | srcs: [ |
| 82 | ":android.hardware.soundtrigger@2.0_hal", |
| 83 | ], |
| 84 | out: [ |
| 85 | "android/hardware/soundtrigger/2.0/ASoundTriggerHw.cpp", |
| 86 | "android/hardware/soundtrigger/2.0/ASoundTriggerHwCallback.cpp", |
| 87 | ], |
| 88 | } |
| 89 | |
| 90 | genrule { |
| 91 | name: "android.hardware.soundtrigger@2.0-adapter-helper_genc++_headers", |
| 92 | tools: ["hidl-gen"], |
| 93 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.soundtrigger@2.0", |
| 94 | srcs: [ |
| 95 | ":android.hardware.soundtrigger@2.0_hal", |
| 96 | ], |
| 97 | out: [ |
| 98 | "android/hardware/soundtrigger/2.0/ASoundTriggerHw.h", |
| 99 | "android/hardware/soundtrigger/2.0/ASoundTriggerHwCallback.h", |
| 100 | ], |
| 101 | } |
| 102 | |
| 103 | |
| 104 | cc_library { |
| 105 | name: "android.hardware.soundtrigger@2.0-adapter-helper", |
| 106 | defaults: ["hidl-module-defaults"], |
| 107 | generated_sources: ["android.hardware.soundtrigger@2.0-adapter-helper_genc++"], |
| 108 | generated_headers: ["android.hardware.soundtrigger@2.0-adapter-helper_genc++_headers"], |
| 109 | export_generated_headers: ["android.hardware.soundtrigger@2.0-adapter-helper_genc++_headers"], |
| 110 | vendor_available: true, |
| 111 | shared_libs: [ |
| 112 | "libhidlbase", |
| 113 | "libhidltransport", |
| 114 | "libhwbinder", |
| 115 | "liblog", |
| 116 | "libutils", |
| 117 | "libcutils", |
| 118 | "libhidladapter", |
| 119 | "android.hardware.audio.common@2.0", |
| 120 | "android.hardware.soundtrigger@2.0", |
| 121 | "android.hidl.base@1.0-adapter-helper", |
| 122 | ], |
| 123 | export_shared_lib_headers: [ |
| 124 | "libhidlbase", |
| 125 | "libhidltransport", |
| 126 | "libhwbinder", |
| 127 | "libutils", |
| 128 | "libhidladapter", |
| 129 | "android.hardware.audio.common@2.0", |
| 130 | "android.hardware.soundtrigger@2.0", |
| 131 | "android.hidl.base@1.0-adapter-helper", |
| 132 | ], |
| 133 | } |
| 134 | |
| 135 | genrule { |
| 136 | name: "android.hardware.soundtrigger@2.0-adapter_genc++", |
| 137 | tools: ["hidl-gen"], |
| 138 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.soundtrigger@2.0", |
| 139 | out: ["main.cpp"]} |
| 140 | |
| 141 | cc_test { |
| 142 | name: "android.hardware.soundtrigger@2.0-adapter", |
| 143 | shared_libs: [ |
| 144 | "libhidladapter", |
| 145 | "libhidlbase", |
| 146 | "libhidltransport", |
| 147 | "libutils", |
| 148 | "android.hardware.audio.common@2.0", |
| 149 | "android.hardware.soundtrigger@2.0", |
| 150 | "android.hardware.soundtrigger@2.0-adapter-helper", |
| 151 | ], |
| 152 | generated_sources: ["android.hardware.soundtrigger@2.0-adapter_genc++"], |
| 153 | } |