commit | bf828c8f6e1a1345e352976d5b6b91b2f5c52a2b | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Wed Oct 26 14:15:10 2016 -0700 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Fri Oct 28 10:48:58 2016 -0700 |
tree | 8011704b2316f5222cc416cd79fa5d280fa2ca94 | |
parent | f3beff1236e6f055f31de70397f5bc9a22b4aba5 [diff] |
Update hidl-gen to generate full name for vts attributes. * This is used to handle namespace issue with vts compiler. Bug: 32410739 Test: make hidl-gen, update generated vts files for nfc and vibrate then make vts Change-Id: I38dc8240afb28c1cfa75723289dfcbcff4766af5
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0