commit | b9a9492c600bdf174948ddba575a06cae85ac2f9 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Oct 10 15:16:35 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed Oct 11 18:12:28 2017 +0000 |
tree | 0cded5c22f047b03fdba9ec7e41648233057e756 | |
parent | 887b84c552cfdb074f1bd97ec1cf219d05a97525 [diff] |
Clarify hidl-adapter -h text. Noticed while working on something else that these weren't finalized. Test: pass Change-Id: I92650e6ac6a4553a2d0c0f0850818eca3fa7ebcd
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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0