commit | caa7751728c02c66610901f80449c788640b6022 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Feb 20 22:33:49 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Feb 20 22:33:49 2018 +0000 |
tree | 7dded34ba347261dde5bf97d29b3bb9a03e519a5 | |
parent | b5b3a081cadc642cc4883f2d8a802e500b501c17 [diff] | |
parent | 99231b04b2dd38d3d14ee53d21233ec05fc5050e [diff] |
Merge "Enable experimental in hidl-gen."
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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0