PREUPLOAD.cfg 1.1 KB

1234567891011121314151617181920212223
  1. [Builtin Hooks]
  2. clang_format = true
  3. [Builtin Hooks Options]
  4. # Only turn on clang-format check for the following subfolders.
  5. clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
  6. libs/binder/ndk/
  7. libs/graphicsenv/
  8. libs/gui/
  9. libs/renderengine/
  10. libs/ui/
  11. libs/vr/
  12. services/bufferhub/
  13. services/surfaceflinger/
  14. services/vr/
  15. [Hook Scripts]
  16. owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
  17. installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
  18. dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/"
  19. dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/"
  20. # bugreports matches both cmds/bugreport and cmds/bugreportz
  21. bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport"