commit | 7d1839fe75d3ddc13321ee176ba73b610d884bee | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Feb 22 13:24:29 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Feb 24 10:16:12 2017 -0800 |
tree | 95578a26292a6072b648579c42052470f29e925f | |
parent | fbcdc80e6451c24545cf0a5841d0c40cca58f42c [diff] |
Fix Java .equals has a wrong signature for generated HIDL types. Bug: 32834072 Test: hidl_test_java Change-Id: I1a41c1d9d9daa3ac7f993fbf01c99a013de42b3f
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