Merge "Add a ktfmt hook for some SystemUI files" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
aaec84898c
@@ -26,6 +26,8 @@ hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/c
|
||||
|
||||
hidden_api_txt_exclude_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/exclude.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
|
||||
|
||||
ktfmt_hook = ${REPO_ROOT}/external/ktfmt/ktfmt.py --check -i ${REPO_ROOT}/frameworks/base/ktfmt_includes.txt ${PREUPLOAD_FILES}
|
||||
|
||||
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
|
||||
|
||||
owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
|
||||
|
||||
9
ktfmt_includes.txt
Normal file
9
ktfmt_includes.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
packages/SystemUI/compose/
|
||||
packages/SystemUI/screenshot/
|
||||
packages/SystemUI/src/com/android/systemui/people/data
|
||||
packages/SystemUI/src/com/android/systemui/people/ui
|
||||
packages/SystemUI/src/com/android/systemui/keyguard/data
|
||||
packages/SystemUI/src/com/android/systemui/keyguard/dagger
|
||||
packages/SystemUI/src/com/android/systemui/keyguard/domain
|
||||
packages/SystemUI/src/com/android/systemui/keyguard/shared
|
||||
packages/SystemUI/src/com/android/systemui/keyguard/ui
|
||||
Reference in New Issue
Block a user