commit | 51a6509db3078657a2401069c37515504b40c12c | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Jan 04 15:41:44 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Thu Jan 05 11:02:37 2017 -0800 |
tree | 63b0292be0317548d27dec8a41cfdba89f93728f | |
parent | f8f2bf364657d235cf8668543522ee1c15325dc2 [diff] |
Renamed Interface::getProxyName to getProxyFqName getStubName and getPassthroughName as well. This is to allow a separate getProxyName that returns the name only, so that they are consistent with getBaseName. Test: compiles Change-Id: I0c0d05523622209981d3337ca510127529ae4c38
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