commit | 2ef6b39949680840b2acffa2a46edc0fe8f01d0f | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Mar 03 14:46:00 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Mar 03 14:58:32 2017 -0800 |
tree | 37f66383c276b9eeadcd295e73369ec4b01fdafd | |
parent | 21171d2de5e3e6b595a6bf1af52819e7c6816daf [diff] |
Update system/tools/hidl/test/test.sh for minor version uprev. Bug: 28825532 Test: system/tools/hidl/test/test.sh -a Test: system/tools/hidl/test/test.sh -u Test: system/tools/hidl/test/test.sh Change-Id: Ie2f23123dee5a5a82e42d70ac0c9506884a36cff
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