commit | 70a59e1dc3dcf32f791d2dd7966111d4adf32eca | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Aug 16 12:57:01 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Tue Aug 16 13:02:13 2016 -0700 |
tree | 72dc0677ff37d23f4a7ec6290c03c6f9ffbd2aa2 | |
parent | c7dfef3fda2061dcaeeb144c10eef3cf7360b03c [diff] |
Validate upfront that an interface is compatible with our Java backend, emit diagnostics if it is not. Also cleans up all other error messages to clearly indicate an error condition. Bug: 30876839 Change-Id: I18bcd723107ab93abcad38c976f3c38dda60a743
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 hild-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0