commit | ca279944d7630eb481c6282add0df58e715e2953 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue May 02 12:10:13 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue May 02 16:19:37 2017 -0700 |
tree | 325f17a53c9d1fcf20d3ccf27ae865053225b2e0 | |
parent | 401306ebb6a0f2f72717ed253092ce208d9802da [diff] |
Passthrough oneway: keep hold on mImpl Test: hidl_test Bug: 37675100 (cherry picked from commit a4c565f5fd0e3300fef360f5e94d275927eb17d1) Merged-In: I86815cc95091c6f439dffff975dfe81d330d9340 Change-Id: I86815cc95091c6f439dffff975dfe81d330d9340
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