commit | 0a68a28cde91706a64b0465b24c7171f9f4cde99 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Oct 21 16:32:34 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Oct 21 23:49:48 2016 +0000 |
tree | 78454fb50655874dc89be7d3958a4cf94d76d1fe | |
parent | aeb6484801fc4d4a81c7432b73349fcab459e9e1 [diff] |
Better indent methods to Formatter. Test: mma Test: look at output of PointerAll.cpp. Change-Id: Ide841ad76a906de07895f416e8e43209ecda847d
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