Commit 392ce7ee authored by Victor Vianna's avatar Victor Vianna Committed by LUCI CQ

[depot_tools] Remove references to adobe flash from fetch flow

AFAIK, flash is long gone from Chromium.

Bug: 1064651
Change-Id: I25b98ac2b44e52fa3e3cfdbc9d7716ee736a4b6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3687701
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
Reviewed-by: 's avatarScott Violet <sky@chromium.org>
Auto-Submit: Victor Vianna <victorvianna@google.com>
parent f5d3b1b6
...@@ -17,7 +17,7 @@ class AndroidInternal(config_util.Config): ...@@ -17,7 +17,7 @@ class AndroidInternal(config_util.Config):
return { return {
'alias': { 'alias': {
'config': 'chromium', 'config': 'chromium',
'props': ['--target_os=android', '--internal=True', '--flash=False'], 'props': ['--target_os=android', '--internal=True'],
}, },
} }
......
...@@ -26,20 +26,6 @@ class Chromium(config_util.Config): ...@@ -26,20 +26,6 @@ class Chromium(config_util.Config):
solution['custom_vars']['webkit_revision'] = '' solution['custom_vars']['webkit_revision'] = ''
if ast.literal_eval(props.get('internal', 'False')): if ast.literal_eval(props.get('internal', 'False')):
solution['custom_vars']['checkout_src_internal'] = True solution['custom_vars']['checkout_src_internal'] = True
if not ast.literal_eval(props.get('flash', 'False')):
solution['custom_deps'].update({
'src/third_party/adobe/flash/binaries/ppapi/linux': None,
'src/third_party/adobe/flash/binaries/ppapi/linux_x64': None,
'src/third_party/adobe/flash/binaries/ppapi/mac_64': None,
'src/third_party/adobe/flash/binaries/ppapi/win': None,
'src/third_party/adobe/flash/binaries/ppapi/win_x64': None,
'src/third_party/adobe/flash/symbols/ppapi/linux': None,
'src/third_party/adobe/flash/symbols/ppapi/linux_x64': None,
'src/third_party/adobe/flash/symbols/ppapi/mac_64': None,
'src/third_party/adobe/flash/symbols/ppapi/win': None,
'src/third_party/adobe/flash/symbols/ppapi/win_x64': None,
})
spec = { spec = {
'solutions': [solution], 'solutions': [solution],
} }
......
...@@ -18,7 +18,6 @@ class IOSInternal(config_util.Config): ...@@ -18,7 +18,6 @@ class IOSInternal(config_util.Config):
'alias': { 'alias': {
'config': 'chromium', 'config': 'chromium',
'props': [ 'props': [
'--flash=False',
'--internal=True', '--internal=True',
'--target_os=ios', '--target_os=ios',
'--target_os_only=True', '--target_os_only=True',
......
...@@ -1058,11 +1058,7 @@ class GitWrapper(SCMWrapper): ...@@ -1058,11 +1058,7 @@ class GitWrapper(SCMWrapper):
return return
if getattr(options, 'shallow', False): if getattr(options, 'shallow', False):
# HACK(hinoka): These repositories should be super shallow. depth = 10000
if 'flash' in mirror.url:
depth = 10
else:
depth = 10000
else: else:
depth = None depth = None
mirror.populate(verbose=options.verbose, mirror.populate(verbose=options.verbose,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment