commit | f509cb0e7680dcf4c8db02020765584c89b85573 | [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 12:21:05 2017 -0700 |
tree | 2c1dca918428966fee137c15dcaf6009b32dc330 | |
parent | 8d8ae4b6266b2da6b79e2ae2764938968947e911 [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