Paul Keith | af24a5d | 2020-01-27 20:19:23 -0600 | [diff] [blame^] | 1 | cc_library_shared { |
| 2 | // FIXME: this should only be -impl for a passthrough hal. |
| 3 | // In most cases, to convert this to a binderized implementation, you should: |
| 4 | // - change '-impl' to '-service' here and make it a cc_binary instead of a |
| 5 | // cc_library_shared. |
| 6 | // - add a *.rc file for this module. |
| 7 | // - delete HIDL_FETCH_I* functions. |
| 8 | // - call configureRpcThreadpool and registerAsService on the instance. |
| 9 | // You may also want to append '-impl/-service' with a specific identifier like |
| 10 | // '-vendor' or '-<hardware identifier>' etc to distinguish it. |
| 11 | name: "android.hardware.ir@1.0-impl", |
| 12 | relative_install_path: "hw", |
| 13 | // FIXME: this should be 'vendor: true' for modules that will eventually be |
| 14 | // on AOSP. |
| 15 | proprietary: true, |
| 16 | srcs: [ |
| 17 | "ConsumerIr.cpp", |
| 18 | ], |
| 19 | shared_libs: [ |
| 20 | "libhidlbase", |
| 21 | "libhidltransport", |
| 22 | "libutils", |
| 23 | "android.hardware.ir@1.0", |
| 24 | ], |
| 25 | } |