1[Hook Scripts] 2mainline_hook = ${REPO_ROOT}/frameworks/av/tools/mainline_hook_partial.sh ${REPO_ROOT} ${PREUPLOAD_FILES} 3 4hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT} 5 6[Builtin Hooks] 7bpfmt = true 8clang_format = true 9 10[Builtin Hooks Options] 11# Enable sort and limit subfolder checks 12bpfmt = -s 13 media/audio/ 14 media/audioserver/ 15 media/libaaudio/ 16 media/libaudioclient/ 17 media/libaudiofoundation/ 18 media/libaudiohal/ 19 media/libaudioprocessing/ 20 media/libaudiousecasevalidation/ 21 media/libeffects/ 22 media/libmediametrics/ 23 media/libnbaio/ 24 media/libnblog/ 25 services/audioflinger/ 26 services/audioparameterparser/ 27 services/audiopolicy/ 28 services/medialog/ 29 services/oboeservice/ 30 31# Only turn on clang-format check for the following subfolders. 32clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp 33 media/libaudioclient/tests/ 34 media/libaudiohal/tests/ 35 media/libmediatranscoding/ 36 services/camera/virtualcamera/ 37 services/mediatranscoding/ 38