commit | b5ddb799aa1571a25f974d3454968a5fe4c1aaeb | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Wed Aug 17 00:42:58 2016 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Aug 17 00:42:58 2016 +0000 |
tree | 9a6878d19c7f07fe4584b910e88137ee3c92290c | |
parent | b3256a1a8fadf1c1161a35238769088d0fe38fa4 [diff] | |
parent | 82b83bbf40749e747e967175ebe49fc1f7cd180c [diff] |
Merge "Add a script to test hidl-gen output"
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 hild-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0