commit | eb355ee0b307d651497f606271a15fbb3dcd2e47 | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Thu Oct 20 16:00:40 2016 -0700 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Wed Oct 26 11:39:43 2016 -0700 |
tree | 6a93c3096317b753ec3f5e48f2cff5482d788b76 | |
parent | 3ec890ba0dfa38692a5aaff9c181669804945699 [diff] |
Update hidl-gen to support generating vts files for multi-dimentional array. Test: generated and checked vts fils for android.hardware.tests.foo@1.0. Change-Id: I148f44b113cf8ceb15338cd967f954f68ecffa01
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