commit | 8b57cd5a7f99a363c9529d0127982c67722dcee0 | [log] [tgz] |
---|---|---|
author | shafik <shafik@google.com> | Fri Sep 06 10:51:29 2019 +0100 |
committer | shafik <shafik@google.com> | Fri Sep 06 11:26:52 2019 +0100 |
tree | cefb2ae9c0ddcffcfe1d5158990396d7499c0281 | |
parent | 88203dc22f8ddef9d6c9a35618739e88c20a6089 [diff] [blame] |
Get ourselves some clang-format and apply it Add clang-format and apply it to all *.cpp *.h files under jni/ Test: make Change-Id: I3fe84eb3a65b73d8b38bb9bd52c07945835ede70
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 0000000..c8dbf77 --- /dev/null +++ b/PREUPLOAD.cfg
@@ -0,0 +1,5 @@ +[Builtin Hooks] +clang_format = true + +[Builtin Hooks Options] +clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp