commit | d8c7a29c5561ff72d0fba4e6b3610f9321c2642c | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Oct 27 18:32:06 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon Apr 09 19:19:39 2018 +0000 |
tree | 8d46ca5d1f6fa1cf9ad98d551da41b2291bd980e | |
parent | 936152595838538211817d06bcdd0a09d2c72a9c [diff] |
Remove toString + operator== from server libraries. This is Phase III 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: manually inspecting binaries and sources, hidl_test Test: 2016 pixel device boots and works Test: 2017 pixel device boots and works Test: 'some other device' boots and works Test: boot bat Test: boot owl Bug: 65200821 Merged-In: Ib71614e43e7db9f83cbd42847e846324fd12fbde Change-Id: Ib71614e43e7db9f83cbd42847e846324fd12fbde
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