commit | ec10227f088da9997291ee10029a4577ffd240fc | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Dec 20 18:10:07 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Wed Jan 04 10:09:47 2017 -0800 |
tree | 71bda397447499867b6c46d9e175bf0440d55128 | |
parent | 6906410fd15c48613c901785eec7c0404e94b053 [diff] |
Emit equals and hashcode for auto-generated Java code. Test: hidl_test_java Bug: 32834072 Change-Id: I660852b7d76f79d41b93c9986e4c1188c02ba4a6
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