commit | c7dfef3fda2061dcaeeb144c10eef3cf7360b03c | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Aug 16 10:57:14 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Tue Aug 16 12:28:17 2016 -0700 |
tree | 91a61a49581cf9e53d2806eb6009cae8e54cd348 | |
parent | 44039bb0e221772fe1377318473e0d5f8e2baca9 [diff] |
Better diagnostics if an attempt is made to redeclare a type under the same name as an existing type in that scope. Support for anonymous struct/unions. Change-Id: I0122cfae4da848419956c7b27bacaca66f8021d5 Bug: 30896059
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 hild-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0