Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: scripts/slave/recipes/webrtc/ios_api_framework.py

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 DEPS = [ 5 DEPS = [
6 'archive', 6 'archive',
7 'commit_position', 7 'commit_position',
8 'depot_tools/bot_update', 8 'depot_tools/bot_update',
9 'depot_tools/gclient', 9 'depot_tools/gclient',
10 'depot_tools/infra_paths',
11 'file', 10 'file',
12 'gsutil', 11 'gsutil',
13 'ios', 12 'ios',
14 'recipe_engine/path', 13 'recipe_engine/path',
15 'recipe_engine/properties', 14 'recipe_engine/properties',
16 'recipe_engine/step', 15 'recipe_engine/step',
17 'webrtc', 16 'webrtc',
18 'zip', 17 'zip',
19 ] 18 ]
20 19
(...skipping 14 matching lines...) Expand all
35 "out_ios_ia32", 34 "out_ios_ia32",
36 "out_ios_libs", 35 "out_ios_libs",
37 "out_ios_x86_64"]: 36 "out_ios_x86_64"]:
38 api.file.rmtree(out_dir, api.path['checkout'].join(out_dir)) 37 api.file.rmtree(out_dir, api.path['checkout'].join(out_dir))
39 38
40 build_script = api.path['checkout'].join('webrtc', 'build', 'ios', 39 build_script = api.path['checkout'].join('webrtc', 'build', 'ios',
41 'build_ios_framework.sh') 40 'build_ios_framework.sh')
42 api.step('build', [build_script], cwd=api.path['checkout']) 41 api.step('build', [build_script], cwd=api.path['checkout'])
43 42
44 output_dir = api.path['checkout'].join('out_ios_framework') 43 output_dir = api.path['checkout'].join('out_ios_framework')
45 zip_out = api.infra_paths['slave_build'].join('webrtc_ios_api_framework.zip') 44 zip_out = api.path['slave_build'].join('webrtc_ios_api_framework.zip')
46 api.zip.directory('zip', output_dir, zip_out) 45 api.zip.directory('zip', output_dir, zip_out)
47 46
48 api.gsutil.upload( 47 api.gsutil.upload(
49 zip_out, 48 zip_out,
50 'chromium-webrtc', 49 'chromium-webrtc',
51 'ios_api_framework/webrtc_ios_api_framework_%d.zip' % commit_pos, 50 'ios_api_framework/webrtc_ios_api_framework_%d.zip' % commit_pos,
52 args=['-a', 'public-read'], 51 args=['-a', 'public-read'],
53 unauthenticated_url=True) 52 unauthenticated_url=True)
54 53
55 54
56 def GenTests(api): 55 def GenTests(api):
57 yield ( 56 yield (
58 api.test('build_ok') + 57 api.test('build_ok') +
59 api.properties.generic(mastername='client.webrtc.fyi', 58 api.properties.generic(mastername='client.webrtc.fyi',
60 buildername='iOS API Framework Builder') 59 buildername='iOS API Framework Builder')
61 ) 60 )
62 61
63 yield ( 62 yield (
64 api.test('build_failure') + 63 api.test('build_failure') +
65 api.properties.generic(mastername='client.webrtc.fyi', 64 api.properties.generic(mastername='client.webrtc.fyi',
66 buildername='iOS API Framework Builder') + 65 buildername='iOS API Framework Builder') +
67 api.step_data('build', retcode=1) 66 api.step_data('build', retcode=1)
68 ) 67 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698