commit | 41c6d2e208df3762c6fabb2a7652296e5272059b | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Nov 07 12:26:54 2016 -0800 |
committer | Steven Moreland <smoreland@google.com> | Mon Nov 07 20:29:55 2016 +0000 |
tree | 4ddbd1856fca49abe2a7a0b466a3f18cb684cae8 | |
parent | e438ec065e42c178bfd6a7fa1a769a4c3f34caa5 [diff] |
Cleanup spaces in output. Remove newline between MQDescriptor and Status import in c++-impl and alphabetize them. Prevent functions from having multiple spaces before their opening bracket. Test: visually confirmed output Change-Id: I8054325682e6aa2d493398d4878838ec47bf0435
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