commit | 677576012329e4f10a506b1f9623a2345dfbe93a | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Jan 17 21:03:04 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jan 17 21:03:05 2017 +0000 |
tree | 6ddca5c3c8ac5ed91ce5654fbfbd1263bdf148e3 | |
parent | 5715fedbd05231bf845e3a120c83b931b7f53aa3 [diff] | |
parent | 87ff823efa7bda4304391987235cc48e6b351b58 [diff] |
Merge "Type resolution favor local types."
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