commit | b92ff1c6d8a926004f52b272f021268c3a0ff97f | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Apr 13 08:48:30 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon Apr 17 11:24:35 2017 -0700 |
tree | d8f289885c181a931601015f9307bfee4e69a1dd | |
parent | 17456f1166edbd709089c95f58217b915468cf1c [diff] |
Mark hidl_test as vendor. hidl_test requires a lot of 'vendor' modules (-impls) and must be marked as vendor in order to work on BOARD_VNDK_VERSION := current devices. Test: hidl_test Bug: 33241851 Change-Id: I745a10af598a20f121ee0f3f1bee7418fa511ace
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