commit | 35bb7e02f9dfae6d1e1ba56beaf7e1625ca443f0 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Feb 27 18:56:17 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Feb 27 18:56:17 2017 +0000 |
tree | fc2663df15a4216603c270d591c297a07e5a2ddd | |
parent | 0d3dfebfb4bd56d78c53997ad93a8eff1e11073c [diff] | |
parent | 98793bdd473315a5f4828af30c0d70c6dd80b029 [diff] |
Fix C++ toString for enums doesn't handle for non-bitfields. am: 870d1a7ccd am: 271728163f am: 98793bdd47 Change-Id: Ie940ea27b3b4454e9205c05072a7af52b06acfc4
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