• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[Options]
2ignore_merged_commits = true
3
4[Builtin Hooks]
5bpfmt = true
6commit_msg_changeid_field = true
7commit_msg_bug_field = true
8google_java_format = true
9ktfmt = true
10
11[Builtin Hooks Options]
12bpfmt = -s
13ktfmt = --kotlinlang-style
14
15[Hook Scripts]
16aosp_first = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} ${PREUPLOAD_FILES}
17# google_java_format only fixes indentation. This has Android specific checks like "m" prefix.
18checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
19                  --config_xml checkstyle.xml
20                  -fw android/app/src/com/android/bluetooth/
21                      android/app/lib/mapapi/com/android/bluetooth/mapapi/
22                      android/app/tests/src/com/android/bluetooth/
23                      framework/
24                      service/
25
26[Tool Paths]
27ktfmt = ${REPO_ROOT}/packages/modules/Bluetooth/tools/ktfmt
28