commit | a65bb2cd849eb17274c8477e4959e7bc08555fcb | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Oct 27 13:17:14 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Nov 02 00:16:23 2016 +0000 |
tree | 88257f1ff50422316860fa69f952180a6b391cec | |
parent | 9b1cbdf6c37600aeb0cfb93ac260a814036539e6 [diff] |
Add test for null native_handle_t*. TODO: This currently doesn't work, so the test still EXPECT_FAIL's. It should be changed to EXPECT_OK after the kernel support is ready. Test: hidl_test Bug: 30814137 Change-Id: I656e43c6d055105a8e2320df46f86abe2806a4d2
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