commit | c63629456d1c2ed9660115328d4cc268b4cb7255 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Feb 27 18:43:27 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Feb 27 18:43:28 2017 +0000 |
tree | 7dc0fc89cf1aff2df3f92bef2b99781d5fb998a8 | |
parent | 952bd3b16bbb97ea2316a349cdb68607168be023 [diff] | |
parent | e45b5303e072043679483a70606f6c00dde17382 [diff] |
Merge changes from topic 'java_tostring' * changes: Add toString to Java code Fix C++ toString for enums doesn't handle for non-bitfields. Fix Java .equals has a wrong signature for generated HIDL types.
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