commit | 28cad5a6adb76a6996f0cb0b0affe2a4a7a2acb6 | [log] [tgz] |
---|---|---|
author | Howard Chen <howardsoc@google.com> | Tue Aug 29 06:14:57 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 29 06:14:57 2017 +0000 |
tree | ec6bf9a7ef5a9c2b5d1f0592c9ff3b111f14235e | |
parent | 7adeaf002fdf766aba7847f9b7d44c20d43ca204 [diff] | |
parent | 30f6b494bbd4663a4b107e038b9884cdf23bf715 [diff] |
Merge "Refine the -o option when -Lmakefile & -Landroidbp"
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