commit | 1dc8793c9aac86fe08dbe3150d96d88435a978df | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Aug 19 09:51:01 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Thu Aug 25 09:03:03 2016 -0700 |
tree | 02d397e703dfa276410c58e26584150280d6454d | |
parent | 1c8580863620f425188e86ec60b90cf269b5201c [diff] |
hidl_test: apply gtest. b/30855757 Convert hidl test to gTest Note: only test the values received by the client. Doesn't test the values received by the server... yet. Change-Id: I1f50e3fefe9bfc3cc07ff48f764c0f20c90175d5
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hild-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0