Skip license checking for temp dirs created during the sync (#13585)
* Skip license checking for temp dirs created during the sync fix https://github.com/brave/brave-browser/issues/23226 * Fix path problem on Windows Co-authored-by: Michael Herrmann <michael@herrmann.io>
This commit is contained in:
co-authored by
Michael Herrmann
parent
0a52c0d255
commit
cdfeb5cdd4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user