commit | 7d234ea1a108ccfa01082efc2309e658010554a3 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Mar 30 15:40:22 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Mar 30 16:57:10 2017 -0700 |
tree | 960fcfd3367686dbb04e0a96ced38a94c24d20f9 | |
parent | eec5f7afb247cb3b520bbad2fa7658e011ec172e [diff] |
Add Formatter::join Test: pass Test: hidl_test Bug: 32559427 Change-Id: I44e27ba9b2e0fef605c340ba0f70f40ef0e6f390
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