commit | 0fa9e3956e59155c52e40b85b6aef5476ae90912 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Aug 31 09:05:44 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Wed Aug 31 15:31:27 2016 -0700 |
tree | 46dc3c276e85677724cb717f37115ad87276c49c | |
parent | 95984efb1f642abe71f5998cfc01cf40b8fbd1c6 [diff] |
Auto-generate java libraries for compatible packages. Change-Id: I753f8bc5ab8ca6b5293c75b548897bbdec16aa65 Bug: 31221188
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