commit | 75ae95d536acdc5b9529c4aefe0afdb39a2ecda6 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Oct 12 16:08:26 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Wed Oct 12 16:08:26 2016 -0700 |
tree | 9ad361d5228dba0f5b22c23ae0839001e48375aa | |
parent | 58593994ad4c2c7cedaeb4cab650bc00a08abaac [diff] |
Properly determine if the current package is java compatible or not by forming the transitive closure of all imported interfaces and types.hal-s. If any of these is not java compatible, neither is the package. Bug: 31910492 Test: mma, hidl-gen -Lmakefile and visual inspection. Change-Id: Ia4f01f25bd4ab075db24f54d2a2c19f6b619817b
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