commit | bf71421a737c2b4f518bc3b21d0e21c6b2e00fdb | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Oct 27 18:29:01 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Oct 27 19:02:11 2017 -0700 |
tree | 4eac736694a450ce839732376c9f9000d6540d75 | |
parent | 16233a5b836567c09d22840bf40c76a023d14cdf [diff] |
Build toString + operator== in client libraries. This is Phase I of a three phase plan to remove toString + operator== from sources since the VNDK is currently not in place. Phase I: functions in client and source libraries Phase II: rebuild prebuilts with the functions in the clients across all targets and vendors. Phase III: remove functions from the source libraries Test: hidl_test Bug: 65200821 Change-Id: I4f2b10c088b1c1663a7a10d479e2607311dc462c
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