commit | 7d2e76b54b5951bbbb094c544bd0b741ddc95833 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <[email protected]> | Sun May 20 07:26:47 2018 +0000 |
committer | android-build-team Robot <[email protected]> | Sun May 20 07:26:47 2018 +0000 |
tree | 984fd4c068586b9c0d907789b1684bc4313e4caf | |
parent | c6dcfebc07bf94799dcb6c5b25da4f95cf9c9e50 [diff] | |
parent | 49bad8df77e1fe1ca3c06fe49790a6e3304e7249 [diff] |
Snap for 4793185 from 49bad8df77e1fe1ca3c06fe49790a6e3304e7249 to pi-release Change-Id: I8c7372c98a803205ea29a60bb83818e5a387c77d
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 [email protected]::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport [email protected] hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport [email protected] hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport [email protected]