commit | 60864a4374fe867fc3e7f309ca8e4e7c757d7583 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jun 08 14:02:26 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Jun 12 23:50:36 2017 -0700 |
tree | 8cd3e66eab48460dd4e134badf14e8bcaae79a64 | |
parent | 253be2daa563670c01280fc6d7c2889aba3308f1 [diff] |
Support vec<memory> in HIDL. Test: hidl interfaces compile with vec<memory> Test: hidl_test Bug: 36727951 Change-Id: I68092eda26a6ead11bd09ea6c9bb64655207cb5f
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: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0