This exception is also present in clang_format.sh and is needed in some cases. (cherry picked from commit 10eaf0c52bcec565df46a90ceeebe59d52c8cbff)
@@ -28,7 +28,9 @@ while IFS= read -rd '' f; do
continue
elif [[ "$f" == *"po" ]]; then
- elif [[ "$f" == "thirdparty"* ]]; then
+ elif [[ "$f" == "thirdparty/"* ]]; then
+ continue
+ elif [[ "$f" == *"/thirdparty/"* ]]; then
elif [[ "$f" == "platform/android/java/lib/src/com/google"* ]]; then