commit | 623c0046a87353b32909340ae6e6cb67bf0e0fe6 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Jan 13 14:42:29 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Sat Jan 14 01:07:35 2017 +0000 |
tree | 38f932fd2f81b8408bceb07081100a2c3b68b5d1 | |
parent | 13e188f629914afcfdcd97a4dbf6a708cdf0cef1 [diff] |
hidl-gen: add LOG_TAG to *All.cpp This way we can see the package/interface a log message is associated with. Test: manually verification Change-Id: I3fd9487a11b5e6c0692e9fd19c08b082341ec8b9
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