commit | b77944a61d3e9476ebd5eb819bb3b408830071b5 | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Thu Sep 22 09:34:20 2016 -0700 |
committer | Hridya Valsaraju <hridya@google.com> | Tue Sep 27 22:21:38 2016 +0000 |
tree | 7533d8ef35dc975a9fcf3908b0b9b54004773d01 | |
parent | 20fa9b99282c3b6442d293cfa68566152850a949 [diff] |
Add MQDescriptorSync as a predefined HIDL type. Also, MQDescriptor is no longer a predefined HIDL type. Bug: 31550963 Test: Used MQDescriptorSync in hardware/interfaces/tests/msgq/1.0/ITestMsgQ.hal and hardware/interfaces/benchmarks/msgq/1.0/IBenchmarkMsgQ.hal, built and ran existing unit tests and benchmarks. Change-Id: I0e48074d5f46a29786425868a5ee6e1ee2b65d58
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0