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