commit | a7a421a87c3721d3efa9b611cd5cd76cd566606b | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Sep 07 08:35:18 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Thu Sep 08 14:02:53 2016 -0700 |
tree | 10520cca722e5bf7a0c08ecced6a3a7548133093 | |
parent | 77eab9172a915e701274e9e61535ef0c0ea54054 [diff] |
Generalized cpp method generation. Change-Id: Ia91d03eaadae79eb5508e3fc57817bcf1cf9f1aa
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