commit | 3db99f2e0add6bac96bf0ce83e640f9f6fa11fad | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu May 11 16:21:46 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri May 12 12:36:04 2017 -0700 |
tree | cef30a30534f1b830090269296a6456434053906 | |
parent | edc2212c5beabc636e2e299adcf025d2f4f1f93d [diff] |
hidl-gen: fix help menu output should print help menu if just `hidl-gen` is run Test: manual Change-Id: I8dfcade8a205fb832299c81ee3b7df88b35c2b6d
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