diff --git a/script/brave_license_helper.py b/script/brave_license_helper.py index 2c287eef440..32c47560b8d 100644 --- a/script/brave_license_helper.py +++ b/script/brave_license_helper.py @@ -161,6 +161,11 @@ def AddBraveCredits(prune_paths, special_cases, prune_dirs, additional_paths): def CheckBraveMissingLicense(target_os, path, error): + # Skip chekcing for temp dirs from gclient. + # This is workaround fix. Temp dir should not be existed in vendor dir. + if path.replace('\\', '/').startswith('brave/vendor/_gclient'): + return + if path.startswith('brave'): if target_os == 'android': if path in DESKTOP_ONLY_PATHS: