commit | 30b5d1ffe964d0b82008bfc8f4b8e61ab3bac86f | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Apr 03 12:19:25 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Apr 03 15:04:51 2017 -0700 |
tree | 174cfe20c918c19bfd6ca1af834620a70dca5438 | |
parent | 6b7f0700d3771e552964cf24ab9887275c310c4b [diff] |
Add getHashChain() to IBase. Each interface has a getHashChain() method that returns the hash of all .hal files from the rtti of the interface up to IBase. Test: hidl_test Bug: 36602587 Change-Id: I13f2e54bd45593c70064dff05fa934d5cd01996a
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