commit | d366c263ec345954a2d6f05246de615a306145ce | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Oct 11 15:29:10 2016 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue Oct 11 18:02:15 2016 -0700 |
tree | 424f165c8cf7dad1df594aa4138d46ca9961ffe2 | |
parent | ef1a9feda3f09f87f0673cc978b36e1d4a8b4223 [diff] |
Fix passthrough name collision. Test: make, make interfaces Change-Id: Ia11e0788f28456cb4f4f16e946bbead19d21244b
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