commit | d122bc85d3190962cb15c32c6eefba9f1b421599 | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Mon Sep 19 23:00:02 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Sep 19 23:00:02 2016 +0000 |
tree | 78a83164e3d9b2cc1a41499f6bd12ae3d8a55154 | |
parent | 7288c8dfa5a06a7aeaeb8f62aeef6b1be7376c35 [diff] | |
parent | de57800c370f79b52b4b87014ab50b34f8aec7fd [diff] |
Merge "Support generating instrumentation code for C++ backend in hidl-gen."
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