commit | ef91d36a1082d02eb6536d450404733186a8d9d0 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 20 17:18:13 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Mar 20 19:13:30 2017 -0700 |
tree | e671be9345fb89518d54d4c988e7e49d0e881bdc | |
parent | 8e369ba4f6417cac666d3827a11fb07639b981a2 [diff] |
Move TaskRunner to details Bug: 36433220 Test: compiles Test: hidl_test Change-Id: Id10c9b7bc2822f05e8720e55edd7aa113c58ad15
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