commit | 21e0f938fbe9c3e6faf423d237ca4cf7dc19fd3c | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Mar 20 16:57:00 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Mar 20 16:57:00 2017 +0000 |
tree | 08424bdfb02416992ac177c4d6f8c8c4fd816961 | |
parent | 84ccf8f9d1ab3b7bf716ce6ed3759cf73f9c3b8f [diff] | |
parent | 010faf06321cc404de682ee0de4bfaf2daff74a5 [diff] |
hidl-gen: Android.bp, include indirect libraries. am: ff5262be9f am: 010faf0632 Change-Id: I488ba7844549d40a834c313faed1a2dab44d1694
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: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0