commit | 8f49294db5ac2898bac7c58ca20ff37d4cacdf5e | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Wed Sep 28 14:27:56 2016 -0700 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Wed Oct 05 17:53:24 2016 -0700 |
tree | 325c3cb7397c7ea85f0da83c33ce5f9cbf858879 | |
parent | d9f22f7fe1f124601a99ba9204a18838d034dbe5 [diff] |
Add instrumentation code on proxy side. * Only works for C++ backend for now. Bug: 31266145 Test: make hidl_test Change-Id: I18a78b274448fee12a8d340a891ba0c4f7a3a738
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0