commit | 397b5e1957cc1a1ad3365e294437324d5c088039 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jun 08 14:02:26 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Thu Jul 20 20:24:55 2017 +0000 |
tree | 14f55df6ef0c4198b58cac503d635639bf54dbfc | |
parent | ad09fb67e4c91f42e589499f39daad908e79c555 [diff] |
Support vec<memory> in HIDL. Test: hidl interfaces compile with vec<memory> Test: hidl_test Bug: 36727951 Bug: 63899698 Merged-In: I68092eda26a6ead11bd09ea6c9bb64655207cb5f 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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0