commit | 16233a5b836567c09d22840bf40c76a023d14cdf | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Oct 23 07:01:14 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Oct 23 07:01:14 2017 +0000 |
tree | 2e63ba479281c970eb7ed20d20852d91138f0b73 | |
parent | 891baf6b29af213d1235c3422d768f238470f38c [diff] | |
parent | 5ed0a0b376c86d8303fe4d1e3cad4b665a80469d [diff] |
Merge "Make sure comments in current.txt files are tested."
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