commit | a32bde87bb8341954d297ff889a62fb6abc6d3a1 | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Tue Dec 27 11:47:46 2016 -0800 |
committer | Hridya Valsaraju <hridya@google.com> | Thu Dec 29 16:41:25 2016 -0800 |
tree | c82c90ea01451a651163a3231468a0bafb6d0a6d | |
parent | 8d12b50cfb20eaef50e0998abe8d458866896003 [diff] |
Add FmqType to templatize MQDescriptor Also removed PredefinedType and renamed MQDescriptorSync to fmq_sync and MQDescriptorUnsync to fmq_unsync. Test: FMQ unit tests. Bug: 33948735 Merged-In: I7f2802b76000a1e1a55d02381cca202530a0cd18 Change-Id: I7f2802b76000a1e1a55d02381cca202530a0cd18
croot make hidl-gen
hidl-gen -o output-path -L language (-r interface-root) fqname output-path: directory to store the output files. language: output file for given language. e.g.c++, vts.. fqname: fully qualified name of the input files. For singe file input, follow the format: package@version::fileName For directory input, follow the format: package@version interface-root(optional): prefix and root path for fqname. If not set, use the default prefix: android.hardware and default root path defined in $TOP. examples: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0