commit | 7b5fa6d57aaf0bf8c5c71002d7a82505cebbc3cf | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue May 02 16:41:28 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue May 02 16:46:13 2017 -0700 |
tree | 7e8b3e39978dea1401ee26a74f6f7db3aead7b42 | |
parent | a4c565f5fd0e3300fef360f5e94d275927eb17d1 [diff] |
Add .clang-format to hidl-gen. This is the same clang format used in hardware/interfaces. Test: attempt upload for change, see warning Change-Id: I8e47121ca9abdeaacbe5ab33cb5878058ed4f44b
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