commit | 7a827722c5b615585cfd1e664fe434cc47af9dbf | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Oct 06 17:20:12 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Sat Oct 08 02:09:45 2016 -0700 |
tree | 3d568afb5c436bd1167988f88ed72fd8690d2df5 | |
parent | bb5c80bdec4922aac973551b4f3cbd1008e57820 [diff] |
hidl_test: abort test gracefully if service not found instead of SIGABRT without useful output. Test: hidl_test Change-Id: I9c37acdc9d17b91e98e416f4c5d7d2ec93fc153a
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