commit | cd16ae4797a0ee318ac08026330732e03016956d | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Sep 02 13:54:17 2016 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Sep 02 21:01:24 2016 +0000 |
tree | eb94ffcd3e0f144578a51145552dc3242cc90862 | |
parent | 773be46d182c970ce5defb84e6c418077a51cf01 [diff] |
c2hal: Prevented segfault on -h Change-Id: Id0c9b1145eefbbb6fef0c23a952e39fc24057fbe
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