commit | d2cadd68ff31aef5eb3ecc1d045640d0909c7fb4 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Mon Apr 03 22:53:02 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed Apr 05 09:51:27 2017 -0700 |
tree | 1528bedddd77fea527e621325bcf8f0993caac69 | |
parent | 795371d380d703dfbba4c5ca6faef894beb65483 [diff] |
Use log/log.h instead of android/log.h for ALOG* macros ALOG* is only defined when including log/log.h, not android/log.h Test: mmma -j system/tools/hidl Change-Id: I76550ec7537bbbf20c7028cafa8b724b8ad30187
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