commit | 969d2af84ce758324c7faa0da115cf27fe035e7c | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Mon Oct 24 21:01:59 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Oct 24 21:02:00 2016 +0000 |
tree | 84783ec512f081a1404ec22a95c839a327057cf6 | |
parent | 398e6fb53f387f7d3adfb1083d8381b8e813c9da [diff] | |
parent | 964f72f0004492590d3d1cd048d180a79a20dbc8 [diff] |
Merge "Cleanup hidl-gen to use HidlInstrumentor."
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