Myles Watson | 1c4cdfe | 2016-11-29 10:58:00 -0800 | [diff] [blame] | 1 | [Options] |
| 2 | ignore_merged_commits = true |
| 3 | |
| 4 | [Builtin Hooks] |
William Escande | b3f6d4a | 2023-05-08 14:07:18 -0700 | [diff] [blame] | 5 | aidl_format = true |
| 6 | commit_msg_bug_field = true |
| 7 | google_java_format = true |
Myles Watson | 1c4cdfe | 2016-11-29 10:58:00 -0800 | [diff] [blame] | 8 | clang_format = true |
ThiƩbaud Weksteen | 810c25e | 2020-12-14 11:34:16 +0100 | [diff] [blame] | 9 | rustfmt = true |
David Duarte | 4107df4 | 2023-03-19 21:04:09 +0000 | [diff] [blame] | 10 | bpfmt = true |
David Duarte | 689e5d3 | 2023-03-28 20:03:16 +0000 | [diff] [blame] | 11 | ktfmt = true |
ThiƩbaud Weksteen | 810c25e | 2020-12-14 11:34:16 +0100 | [diff] [blame] | 12 | |
| 13 | [Builtin Hooks Options] |
| 14 | rustfmt = --config-path=rustfmt.toml |
Jack He | 50fbbb2 | 2022-01-19 17:36:58 -0800 | [diff] [blame] | 15 | # Only turn on clang-format check for C and C++ headers and sources |
| 16 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp |
David Duarte | 689e5d3 | 2023-03-28 20:03:16 +0000 | [diff] [blame] | 17 | ktfmt = --kotlinlang-style |
Myles Watson | 1c4cdfe | 2016-11-29 10:58:00 -0800 | [diff] [blame] | 18 | |
Jack He | a7faba3 | 2018-08-28 14:36:46 -0700 | [diff] [blame] | 19 | [Hook Scripts] |
William Escande | 51f58d9 | 2021-12-16 16:25:49 +0100 | [diff] [blame] | 20 | checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} |
| 21 | -fw android/app/src/com/android/bluetooth/ |
| 22 | android/app/lib/mapapi/com/android/bluetooth/mapapi/ |
| 23 | android/app/tests/src/com/android/bluetooth/ |
Jack He | 50fbbb2 | 2022-01-19 17:36:58 -0800 | [diff] [blame] | 24 | framework/ |
William Escande | 3188e3d | 2022-01-21 16:37:17 +0100 | [diff] [blame] | 25 | service/ |
William Escande | 51f58d9 | 2021-12-16 16:25:49 +0100 | [diff] [blame] | 26 | aosp_first = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} ${PREUPLOAD_FILES} |
Chris Manton | 60bb45b | 2021-11-07 19:40:50 -0800 | [diff] [blame] | 27 | yapf_hook = ./system/tools/scripts/yapf_checker.py |
David Duarte | 689e5d3 | 2023-03-28 20:03:16 +0000 | [diff] [blame] | 28 | |
| 29 | [Tool Paths] |
| 30 | ktfmt = ${REPO_ROOT}/packages/modules/Bluetooth/tools/ktfmt |