commit | 45d47304f84bb99bc0ab18d2a3378b796fbd2283 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Mar 16 17:34:42 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Mar 17 05:39:11 2017 +0000 |
tree | c5eca07e29ddfc7ad5f7a163a88450ba4ac60a0f | |
parent | a159f3b141d958967044f5c2258d69c496b202cd [diff] |
Cleanup getService getService uses a for-loop in a werid way, which makes it hard to understand for readers. Changing it to a while loop. Test: pass Test: boots Test: lshal Test: hidl_test Change-Id: I6d7ccbd687da6d833a22fe5410299fe8cd61a53e
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