commit | 5f1d0313dd627baeae11e6541b0473bf6252266c | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Tue Feb 14 14:38:42 2017 -0800 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Tue Feb 14 21:15:11 2017 -0800 |
tree | ba0776e0bb7c7693abc4ca988a4f6834659bbeba | |
parent | b8e15a5f4b4594115dd92c3249faf8148ae36d4c [diff] |
Move HidlInstrumentor to HidlInternal and namespace details. Bug:34644498 Test: run vts -m VibratorHidlTargetProfilingTest Change-Id: Ic84d1e5bac6cb07b6a4f74e76faaf29bd57afe69
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