commit | a588b23323213c525bf34dc0562679195afe611e | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Thu Nov 10 14:37:35 2016 -0800 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Thu Nov 10 18:33:49 2016 -0800 |
tree | f59808148692503ff1f8b066c44ac3ca0322471c | |
parent | 1af73531ba32b3dfc6ef23a8bf0172dd00be43cc [diff] |
Support generating the new TYPE_HIDL_INTERFACE for vts. * Needs to distiguish the callback interface vs normal interface. The former has TYPE_HIDL_CALLBACK in vts and the latter has TYPE_HILD_INTERFACE Test: make hidl-gen Bug: 32764837 Change-Id: Ic5bd44ed707ad302be98abe271abad1758ff276f
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