commit | a5a57e97cb28bc1982a5ede6fcf599a6c059167c | [log] [tgz] |
---|---|---|
author | Keun Soo Yim <yim@google.com> | Sat Feb 04 11:32:06 2017 -0800 |
committer | Keun Soo Yim <yim@google.com> | Mon Feb 13 22:08:18 2017 +0000 |
tree | 91e75256755face692f71e541454168fcc07f8ba | |
parent | 78b38d1e36934a60b3abcd82d576b54ca254b323 [diff] |
Ignore non-VTS annotations Currently used only in hidl-gen unit tests. It'd still make hidl-gen VTS backend more robust. Yet, empty callflow {} block is emitted to its output .vts file for human to detect such problems if they miss the stderr msg. Test: mma Bug: 34993294 Change-Id: I2dc812d326cf645853d9bf4713df74e3cb18aa30
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