commit | 084d11f40364897194a084694b9101b80bc52cc2 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Dec 21 15:33:43 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Dec 22 18:04:38 2016 +0000 |
tree | 90465c9bebd2a9adbfbe6249967df9139bd63ae6 | |
parent | 0abd7390c921f4ee37d5885ffb3a9bd405f2dbdf [diff] |
Add @Override to auto-generated Java code for overriden methods. Test: compiles Change-Id: I5ce3515c5f94711dc735bb6f35b8a8b73d3a596c
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