commit | 169a2d26015305d7425fe613d85d237517abebf7 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jan 25 10:05:31 2018 -0800 |
committer | Steven Moreland <smoreland@google.com> | Thu Jan 25 10:05:31 2018 -0800 |
tree | 6d4ed530cd5f05fe8581c64ceafdebfc0c64afe8 | |
parent | 2d3ff5c3a5f6e5d5f852dac8b39ff6c5ee6c5a5f [diff] |
Remove std::vector constructor to FQName. This is really just to construct the package itself, but it's pretty confusing to read in context and is only used once. Since we are moving FQName to not have an 'isValid' field, this is one less thing to worry about. Bug: 72125849 Test: hidl-gen's run_all_host_tests.sh Change-Id: Ie5500e0d0c4ce0c1548562cd4a96236e3223e1ec
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