commit | 5d089351519251b3cc722b7307d71e7cf9dd0f5f | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Thu Mar 30 09:28:01 2017 -0700 |
committer | Hridya Valsaraju <hridya@google.com> | Fri Mar 31 15:58:58 2017 -0700 |
tree | ddc645d3d37963867d8e0d7e241821d94fc7606c | |
parent | 57bcc40799c201b337155b35be0284981483c07d [diff] |
make VTS run hidl_test Bug: 35710876 Test: run vts -m VtsHidlUnitTests Change-Id: I0ce65099e2e9ded11b0f4d23bc6124eaa71fe3d5 Merged-In: I0ce65099e2e9ded11b0f4d23bc6124eaa71fe3d5
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