commit | cea247835e05af63e10f48b25bc954af7e82c8a9 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Nov 07 11:40:48 2016 -0800 |
committer | Steven Moreland <smoreland@google.com> | Mon Nov 07 11:40:48 2016 -0800 |
tree | 2bc1b74e98c8bdc45c849d53d0a067f7f1041e9a | |
parent | 7533eba4d30e47af79820cf200bfd33d570b5ee5 [diff] |
Don't include hidl internal methods in vts files. The only method which this currently applies to is interfaceChain. The implementations for these methods are generated by hidl-gen and they are not part of a hal's implementation. Test: -Lvts and verified output. Change-Id: Ifdb64654f3e864640707b44a1981bc031f488c2b
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