commit | 2c73b4f7d57c89261614b6c71d30e381628e1b89 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 05 16:38:28 2018 -0800 |
committer | Yifan Hong <elsk@google.com> | Tue Mar 13 13:11:28 2018 -0700 |
tree | 10cb079119b423b9ac96acc0334c4ee079986a2f | |
parent | 6976a240b918fdea10cd60b1fc5fcf06034fafef [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 Merged-In: 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