commit | d12398dc9796d3b5dd69730c57a5199770e97d68 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Oct 13 11:05:29 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Tue Oct 18 11:39:20 2016 -0700 |
tree | 09c50714a5aaf646021085b57e47eace513a3e83 | |
parent | 3cccc0f3b74c930ec97759c4fa35d21f308e4bfe [diff] |
hidl_test: Add -p/-b option. * Add an option to let the user to choose running passthrough tests only or binderized tests only or both. Test: The following succeeds. croot && cd hardware/interfaces mma croot && cd system/tools/hidl mma adb shell /data/nativetest64/hidl_test/hidl_test Bug: 31819198 Change-Id: I326b80eb12f9df710e98744ae6b542dfb03d5a75
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 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0