commit | 20f08d4aa462692d46ee3c07d0f72934c85ead8b | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Dec 14 22:27:57 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Dec 14 22:27:57 2016 +0000 |
tree | 81d8e7b5dae340516e7491faa272bb7a1aee5d40 | |
parent | 7763ab3046cb998ac8a32b8d2312981631886813 [diff] | |
parent | aafed707b7ed7c79645d508f140db55cfabfe74e [diff] |
Merge "Fix -Landroidbp-impl generates file with wrong name."
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