Commit d05ca153 authored by John Budorick's avatar John Budorick Committed by Commit Bot

Invert ios_internal fetch spec.

Bug: 803846
Change-Id: I8431cb0e9c7684ae9302749734bb74cc924d9f25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1461236Reviewed-by: 's avatarJustin Cohen <justincohen@chromium.org>
Reviewed-by: 's avatarDirk Pranke <dpranke@chromium.org>
Reviewed-by: 's avatarAaron Gable <agable@chromium.org>
Auto-Submit: John Budorick <jbudorick@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
parent a74bd78e
......@@ -35,8 +35,14 @@ class Chromium(config_util.Config):
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 = {
'solutions': [solution],
......
......@@ -14,30 +14,21 @@ class IOSInternal(config_util.Config):
@staticmethod
def fetch_spec(props):
url = 'https://chrome-internal.googlesource.com/chrome/ios_internal.git'
solution = { 'name' :'src/ios_internal',
'url' : url,
'deps_file': 'DEPS',
'managed' : False,
'custom_deps': {},
}
spec = {
'solutions': [solution],
}
if props.get('target_os'):
spec['target_os'] = props['target_os'].split(',')
else:
spec['target_os'] = ['ios']
if props.get('target_os_only'):
spec['target_os_only'] = props['target_os_only']
return {
'type': 'gclient_git',
'gclient_git_spec': spec,
'alias': {
'config': 'chromium',
'props': [
'--flash=False',
'--internal=True',
'--target_os=ios',
'--target_os_only=True',
],
},
}
@staticmethod
def expected_root(_props):
return 'src'
return ''
def main(argv=None):
......
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