commit | 782d45efe950b202eeac7f5352bd9fcb44fba735 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Sep 22 13:25:14 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Fri Sep 23 09:20:42 2016 -0700 |
tree | d30e18db64b7e5d918a14509dbdd9b0a1e20f129 | |
parent | 8be09559c175494cf8ef1ce914477a14ddacad1d [diff] |
In addition to regular java library targets, also emit static java library targets. Bug: 31684178 Test: hidl_test and hidl_test_java Change-Id: Iac6953dc91fc8c8225e4122a3bd7b964a67beb35
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