commit | fe95aa243eb53df9cb46ca74192e760d7520b611 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Oct 19 17:26:45 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Oct 28 18:57:31 2016 -0700 |
tree | e8cba4ce9f19887ead4af4ba68c6df8dd06ed469 | |
parent | 01f616e509bb20c2fa6c9e61dab0a7fccf39cba2 [diff] |
cast functions for interfaces. Test: hidl_test Bug: 32001926 Change-Id: Ia788d775a668c4232c8a017a6b9430ddf16faca3
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