blob: 47fedd2f8c4596cb9ba8bac3c7a185dcf0c42ec4 [file] [log] [blame]
[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
overlayable_resource_hook = ${REPO_ROOT}/packages/apps/Car/systemlibs/tools/rro/verify-overlayable.py -r service/res -e service/res/values/overlayable.xml service/res/values/strings.xml service/res/values/attrs.xml service/res/xml/car_volume_groups.xml service/res/drawable/perm_group_car.xml service/res/values-h800dp/dimens.xml service/res/values-h1920dp/dimens.xml -o service/res/values/overlayable.xml -m 'service/res/values/overlayable.xml is not in sync with service/res/values/config.xml. You have added/removed config resources in config.xml. Please update Overlayable.xml so that it is sync with config.xml'
hidden_api_check_hook = ${REPO_ROOT}/packages/services/Car/tools/GenericCarApiBuilder/hidden_api_check.py ${REPO_ROOT}
verify_generated_prop_config_hook = ${REPO_ROOT}/packages/services/Car/tools/vehiclepropertyidsparser/verify_generated_prop_config_hook.py --android_build_top ${REPO_ROOT} --preupload_files ${PREUPLOAD_FILES}
[Builtin Hooks]
commit_msg_changeid_field = true
commit_msg_test_field = true
cpplint = true
clang_format = true
[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp