commit | 30bb6a869be0f3f82497b7b11c71ec9d47652ed0 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Nov 30 09:18:34 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Mon Dec 05 12:42:06 2016 -0800 |
tree | f3db1fc27323d1328a7a0b481d90ec2ff97a26a2 | |
parent | 352b702511f07979bec7306c3809100b587416eb [diff] |
Add a typeName() method to each type for error printing purposes. Test: compiles with mma Change-Id: I1283c395440282fde1106ad47aa185bdeda75880
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