commit | f1ef44fd21865a90de3c2a8778bbda7f81fbf77b | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Mar 23 17:17:57 2017 +0000 |
committer | Yifan Hong <elsk@google.com> | Tue Mar 28 14:57:02 2017 -0700 |
tree | 27c4a6f5a7f8615db2f90df931505a325aa9c88f | |
parent | 39e8a0f77ecf2ec054d1dec6e8511f3b493302ca [diff] |
Revert "Revert "Cleanup getService"" Test: pass This reverts commit 5f009cbdba69964b5b4709c8d5193bfac7423a86. Change-Id: I8d606cddea3f387580564f8a40ee2538d1f126e7
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