commit | 6f7514ba6c90006958a8bac79e322431ecce3c54 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Apr 13 08:48:30 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed Apr 19 10:32:29 2017 -0700 |
tree | 94de279df514ceaa8db1703cbb96b9f4cd7d48db | |
parent | 23d7477765a2b282f7185c90afcd1d5ea551e5f1 [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 (cherry picked from commit b92ff1c6d8a926004f52b272f021268c3a0ff97f) Merged-In: I745a10af598a20f121ee0f3f1bee7418fa511ace 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