commit | d5c53cc4b6f83b17447b96923d587620259e0172 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 05 16:38:28 2018 -0800 |
committer | Yifan Hong <elsk@google.com> | Wed Mar 07 19:08:55 2018 -0800 |
tree | c82a32633fc5f9c3b62dc2699579559972afeb6c | |
parent | 0b496529524468f8e324d0d7c8a362a4e1f3b302 [diff] |
Add FqInstance class. FqInstance is a wrapper around FQName to include instance name as well. Bug: 73774955 Fixes: 74361197 Test: libhidl-gen-utils_test Change-Id: I5c064dec8d0e72ad1c90d3a892986f74d77788ce
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