commit | 1c507273be6a1beefbe7ef6ec63992a7cf66c4f8 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Oct 05 14:33:21 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Mon Oct 24 12:39:50 2016 -0700 |
tree | 1b9e032034d01b918105bc289995fe630ddb2354 | |
parent | b8a26c05a0a4752cabc8cde71ffc138c84759be9 [diff] |
And one more backend for hidl-gen to create a simple static java library exporting all annotated constants. Bug: 32200867 Test: make Change-Id: Ifddf296fea7b31cbf7bf8d3a42159ad43004805c
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