commit | 3d746095af8aefc6d8d7d4ec5739a61965ebaeea | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Dec 07 14:26:33 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Sun Dec 11 20:58:15 2016 +0000 |
tree | ae4ead87adcdab62e59d1e784460ddc9185ac227 | |
parent | 958ee467ad21ea0b01eba05c33f96a9570328c80 [diff] |
Add dummy IFoo::castFrom(sp<IFoo>) which returns the parameter directly. Test: compiles Change-Id: I7c03b113df2f6c6553513546ae4ef82038d70fce
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