Generate SystemUI ktfmt inclusion file
This CL updates the ktfmt_includes.txt file used by SystemUI. Starting
from this CL, all new Kotlin files in SystemUI/ will be checked using
ktfmt.
This file was generated using the following commands:
$ cd $ANDROID_BUILD_TOP/frameworks/base
$ $ANDROID_BUILD_TOP/external/ktfmt/generate_includes_file.py --output=packages/SystemUI/ktfmt_includes.txt packages/SystemUI
Bug: 235461679
Test: Manual
Change-Id: I332abccd542796f72f4f89a7a4e1052611d955d8
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index c10c380..41a784a 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -26,7 +26,7 @@
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}
+ktfmt_hook = ${REPO_ROOT}/external/ktfmt/ktfmt.py --check -i ${REPO_ROOT}/frameworks/base/packages/SystemUI/ktfmt_includes.txt ${PREUPLOAD_FILES}
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}