commit | c75fd47b91f2edea70bb88f5508d9a161b916045 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Jan 11 12:37:31 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Jan 12 17:09:28 2017 -0800 |
tree | c728f5798623aa080a457c24a44ec427d0a0167a | |
parent | f5cc2f74e86504f7904a0a24e7fcc00fa19cd579 [diff] |
Add interfaceDescriptor() method to all interfaces which returns interfaceChain[0]. Bug: 34136228 Test: hidl_test Test: hidl_test_java Change-Id: Id0d8139d51f39b1c317d966b305e883e561241b8
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