commit | 4b2cf35fe6864b3d5593c7fc119a2a6e2e5033fc | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Aug 31 13:58:19 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Wed Aug 31 13:58:36 2016 -0700 |
tree | d8d3866056ec3ec2e063d1c1114e20c2a822980b | |
parent | 93d0ebb5937085cebb4a22c255bd16bd551f3b34 [diff] |
hidl-gen: add support for predefined types b/31221346 Add support for predefined types in HIDL Change-Id: I090c1ab2f10d4748e53b58485b1ef05114554d01 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