blob: 61ee4ed009fa4f573da6618a7cc0796b40e86cc6 [file] [log] [blame]
[Hook Scripts]
sync-inspection-profiles = python ${REPO_ROOT}/tools/repohooks/tools/sync-inspection-profiles.py --subset-profile=.idea/inspectionProfiles/tools_presubmit.xml --superset-profile=.idea/inspectionProfiles/tools_ide.xml --commit=${PREUPLOAD_COMMIT} --fix
[Builtin Hooks]
google_java_format = true
clang_format = true
[Builtin Hooks Options]
google_java_format = --sort-imports
clang_format = --style=google --extensions cc,h --commit HEAD --git-clang-format ${REPO_ROOT}/prebuilts/tools/common/clang-format/git-clang-format --clang-format ${REPO_ROOT}/prebuilts/tools/${BUILD_OS}/clang-format/clang-format${BUILD_OS_EXEC_EXTENSION}
[Tool Paths]
google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
google-java-format-diff = ${REPO_ROOT}/tools/repohooks/tools/google-java-format-diff.py