commit | 207a9fe818224d9942edb7f680e9c01b7fe7e3fc | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Sep 19 15:38:23 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Sep 19 15:38:23 2017 +0000 |
tree | 8d9b55429a058e470f1f5ccfc27ab86c2b416ae6 | |
parent | 275b7b219761982cd0a4a544a3ac7cf86ff62649 [diff] | |
parent | 960dd87c36b9981e796b696fc8f1ff9be659fe46 [diff] |
Merge changes from topic "hidl-unit-tests" * changes: Add script for running all host tests. Add unit tests for StringHelper. utils: Add missing header export. Fix infinte loop in StringHelper trims. Don't abort on incomplete package.
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