commit | 404db55c6285037642cd013fd17ef10ed0f9cf3a | [log] [tgz] |
---|---|---|
author | Keun Soo Yim <yim@google.com> | Mon Jun 26 17:01:49 2017 -0700 |
committer | Keun Soo Yim <yim@google.com> | Tue Jun 27 19:46:26 2017 +0000 |
tree | b89267a419d9c752127f574b218ddd376a6acd00 | |
parent | 0ada629f46b69617dfe721ecec53787b3a99a66f [diff] |
add a hash generation sample command to README.md Test: run that command from shell Change-Id: I6d541681f4534f8f9537056f69e65ec0fc243298
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