commit | 217fc6026b84f2ec3b6818e4def85c28c2a68a59 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue May 16 14:51:55 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Jul 21 08:40:01 2017 -0700 |
tree | 195656a038b77fe7859488465a3db30fedcef57c | |
parent | 05efc1e4cf9b19f8c9808f543dc61c4c6f8a53db [diff] |
Allow proxies to be compared and identified. Note, this is not an ABI breakage because the virtual destructors being added are already created implicitly. In this CL, we delete the cached instances of BnHw* and and then compare BpHw* objects based on their remote pointer. Bug: 63864326 Bug: 38348572 Bug: 32172906 Test: boot and use a device Test: boot a marlin Test: hidl_test, hidl_test_java Change-Id: I7cecd9015231bdf9ad4c039df2e4ecb031077dd7
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