commit | 729e79696bec830cd59bac327f5e40cec8642157 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Dec 21 16:04:27 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Jan 05 12:22:36 2017 -0800 |
tree | 087863aba5eec9fc36b0df781d2265e82319c6db | |
parent | fcf94e48639538117e52f81ba7018c2af7b4cc81 [diff] |
Require non null remote for auto-gen'd Java Proxy constructor. It should fail early at the contructor, not at function calls. Test: hidl_test_java Change-Id: I7ad9bb3bf155bc7fe14c0b8f62332e70141bdbfd
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