commit | 98793bdd473315a5f4828af30c0d70c6dd80b029 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Feb 27 18:52:33 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Feb 27 18:52:33 2017 +0000 |
tree | 5f97f32868a0808551f785736423cf042012336b | |
parent | c4caad96f1910f9e3395deae79bbb0fb27387d24 [diff] | |
parent | 271728163f5a870f42710c7a643696097509c7ec [diff] |
Fix C++ toString for enums doesn't handle for non-bitfields. am: 870d1a7ccd am: 271728163f Change-Id: Idc3abefe56c1677826c7ec6b5873499ac2f22b11
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