commit | f1a00acefec7045cac2fb55c2e70efcd69131d11 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Apr 06 17:22:56 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Apr 07 13:30:27 2017 -0700 |
tree | 3ee83852991b66e97c7a6d1627ba48c29ffb4ac5 | |
parent | b9b331ee196ad7afcf9cd2fe5ab87be671f48ce2 [diff] |
Added tests for passthrough service lookup. Test: hidl_test Bug: 37107636 Change-Id: I0ef3510d5f272b8a852da1c555a62eaabb801bfb (cherry picked from commit 731163da922c499d48e867e94c888eddef1af6bf)
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