commit | fff7335bb3d8d32abaef4e0e94e84c39ce0dbe95 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Wed Jan 04 16:36:31 2017 +0100 |
committer | Martijn Coenen <maco@google.com> | Wed Jan 04 16:37:13 2017 +0100 |
tree | c5750dc2ede8e5849efbf6c39f610bc3d2d68825 | |
parent | 6906410fd15c48613c901785eec7c0404e94b053 [diff] |
Correctly initialize local variable. Test: mma, hidl_test Change-Id: I48f626b6355dc0eaa8d6645ae391db47cc9fe2f2
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