commit | 179379a911b386023250998f6d257482febb2d86 | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Thu Feb 09 16:38:12 2017 -0800 |
committer | Hridya Valsaraju <hridya@google.com> | Tue Feb 28 11:34:06 2017 -0800 |
tree | deea5c8c2f8aff8f2675feed9c7a6dd8307388c4 | |
parent | ae588f643275b443df572f28c6ae7c7ffe2d559b [diff] |
Separate servers and client for hidl_test Make hidl_test configurable to run with 32/64-bit client and servers. The default setting runs all four combinations. Test: make hidl_test, adb root && adb remount && adb sync, adb shell data/nativetest64/hidl_test Bug: 34986428 Change-Id: Ie06b1d0f33544927fa53583f6fa0e92ed1ef7451
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