commit | 1316091aaf89abc73ab11539b61b20f13ee261c4 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Fri Sep 09 11:03:08 2016 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Sep 09 15:48:29 2016 -0700 |
tree | 2db77f6be3584aa4303b6dce7381feb8e69e9037 | |
parent | 4923f937246a32d8ed0466530f1037a495301bdf [diff] |
split out libhidl-gen and libhidl-gen-utils Shared code between hidl-gen, c2hal, and VTS. Also build for device, as we might use libhidl-gen reflectively in future (for profiling and instrumentation). Change-Id: Iffdcbf99308e1f69a504e89fcbb4c9447a6bbe7e Signed-off-by: Iliyan Malchev <malchev@google.com>
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