commit | 9ec177da11fc23b4bd269cc81c34fe53d0e96d16 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Jul 14 13:37:30 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed Jul 26 09:21:12 2017 -0700 |
tree | c7171b7fe4787fb1f4598820e65faeb49b4a4e2f | |
parent | 3e6d37f09d69de688ba5efaf67ee7f88ccb819ac [diff] |
Move hidl_test to system (as a VTS test). Test: hidl_test passes Test: build with BOARD_VNDK_VERSION=current Bug: 63704014 Change-Id: Ic5005856a6acc028faf11763ac879509a9a0fb69
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