commit | b158de1dbe454b7afe16ac5aad08bbdd2b8bd1bd | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Oct 10 11:59:09 2016 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon Oct 10 11:59:09 2016 -0700 |
tree | c2136914d0823a2d17749384810e5a67bc79397a | |
parent | 7a827722c5b615585cfd1e664fe434cc47af9dbf [diff] |
Fix code generation for nested structs. Bug: 32064856 Test: make hidl_gen, make interface with nested structs. Change-Id: I7bbc8317ada803fdcab4dc36da327b96b293ede9
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