commit | e05c32f0324f241739b2a52d7b7afbe020b87b37 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Dec 20 22:26:15 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Dec 20 22:26:16 2016 +0000 |
tree | ad08de8a85679d5db301ba2661f51cb8216f11c2 | |
parent | ce004afab6beb6c17316cc7c765dd723b1ab9a5f [diff] | |
parent | 7a118f5e6242d50ac097271b0f3854370934ff3b [diff] |
Merge "Wrap interfaces in passthrough mode correctly."
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