commit | 5f809639ba67382c53072a9e1c5e0d3af2023fec | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed May 17 13:24:36 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed May 17 13:25:25 2017 -0700 |
tree | 54e25d7c8aa0e65de4fd7091fb2a2ea190c9e5aa | |
parent | 2ee84320635e403e83ab4ab11338763fa5a35838 [diff] |
Error when package statement is missing. I have heard a lot of frustrated complaints about this. Test: manual Change-Id: I00fb7ad900b0c715bd0ab3dc894dfa2ebcefe006
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: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0