commit | f0f7c7431e277419bc1e893f0ec99977c5341e9c | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Dec 06 01:54:56 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Dec 06 01:54:56 2016 +0000 |
tree | f3db1fc27323d1328a7a0b481d90ec2ff97a26a2 | |
parent | 290a96559e5c023f59251692db28ee8492f843f5 [diff] | |
parent | 30bb6a869be0f3f82497b7b11c71ec9d47652ed0 [diff] |
Add a typeName() method to each type for error printing purposes. am: 30bb6a869b Change-Id: Ib32d3d248e6aa94f5e1a3681fd7e54b4d15651aa
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