commit | 645429757880cc12e09d5c1fdeb385f8d8267078 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Oct 10 19:49:45 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Oct 10 19:49:45 2016 +0000 |
tree | 2074bef319031d53ca900534865f9f0c1aa85791 | |
parent | 7a827722c5b615585cfd1e664fe434cc47af9dbf [diff] | |
parent | 1977ea3e1f1e6b45c46cacff27020fd988029dc3 [diff] |
Merge "hidl-gen: Allow importing only one type from another hal."
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0