commit | 6e3f9f47eaf9664c605f703e6f48df2648756332 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Jan 30 11:41:49 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Mon Jan 30 11:42:34 2017 -0800 |
tree | fcb498caaf3ac459c2b1f4c0769a4aa2f412fd74 | |
parent | d10feeaaad681c9f70330838f5d19e54ecfc98b7 [diff] |
hidl_test: make sure string size is correct Test: hidl_test still passes Change-Id: I67b792f3d75f8aec5875a2dc8bc371dd7c6959b1
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