commit | 1b6822b19bf60a98ba8e27b135a5ad66287a5542 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Oct 18 09:28:40 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Tue Oct 18 09:36:02 2016 -0700 |
tree | e3ddcb26d83bef25686d302513d0f93739b1c3fa | |
parent | 5f6ac4d55693e2f4cf9f464910079b712ec6478d [diff] |
Vectors are now exposed as ArrayList<T> in the Java backend even for arguments and return values to/from methods, they already were inside structures. In addition vectors of arrays are now properly marshalled when used as arguments or results to/from methods. Bug: 32237331, 32180328 Test: hidl_test_java Change-Id: Ie24f11668f22fc2c31fb7d8e8da534f1c970f58f
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