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

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

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge 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 | Annotate | Revision Log
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',
10 'file', 11 'file',
11 'gsutil', 12 'gsutil',
12 'ios', 13 'ios',
13 'recipe_engine/path', 14 'recipe_engine/path',
14 'recipe_engine/properties', 15 'recipe_engine/properties',
15 'recipe_engine/step', 16 'recipe_engine/step',
16 'webrtc', 17 'webrtc',
17 'zip', 18 'zip',
18 ] 19 ]
19 20
(...skipping 14 matching lines...) Expand all
34 "out_ios_ia32", 35 "out_ios_ia32",
35 "out_ios_libs", 36 "out_ios_libs",
36 "out_ios_x86_64"]: 37 "out_ios_x86_64"]:
37 api.file.rmtree(out_dir, api.path['checkout'].join(out_dir)) 38 api.file.rmtree(out_dir, api.path['checkout'].join(out_dir))
38 39
39 build_script = api.path['checkout'].join('webrtc', 'build', 'ios', 40 build_script = api.path['checkout'].join('webrtc', 'build', 'ios',
40 'build_ios_framework.sh') 41 'build_ios_framework.sh')
41 api.step('build', [build_script], cwd=api.path['checkout']) 42 api.step('build', [build_script], cwd=api.path['checkout'])
42 43
43 output_dir = api.path['checkout'].join('out_ios_framework') 44 output_dir = api.path['checkout'].join('out_ios_framework')
44 zip_out = api.path['slave_build'].join('webrtc_ios_api_framework.zip') 45 zip_out = api.infra_paths['slave_build'].join('webrtc_ios_api_framework.zip')
45 api.zip.directory('zip', output_dir, zip_out) 46 api.zip.directory('zip', output_dir, zip_out)
46 47
47 api.gsutil.upload( 48 api.gsutil.upload(
48 zip_out, 49 zip_out,
49 'chromium-webrtc', 50 'chromium-webrtc',
50 'ios_api_framework/webrtc_ios_api_framework_%d.zip' % commit_pos, 51 'ios_api_framework/webrtc_ios_api_framework_%d.zip' % commit_pos,
51 args=['-a', 'public-read'], 52 args=['-a', 'public-read'],
52 unauthenticated_url=True) 53 unauthenticated_url=True)
53 54
54 55
55 def GenTests(api): 56 def GenTests(api):
56 yield ( 57 yield (
57 api.test('build_ok') + 58 api.test('build_ok') +
58 api.properties.generic(mastername='client.webrtc.fyi', 59 api.properties.generic(mastername='client.webrtc.fyi',
59 buildername='iOS API Framework Builder') 60 buildername='iOS API Framework Builder')
60 ) 61 )
61 62
62 yield ( 63 yield (
63 api.test('build_failure') + 64 api.test('build_failure') +
64 api.properties.generic(mastername='client.webrtc.fyi', 65 api.properties.generic(mastername='client.webrtc.fyi',
65 buildername='iOS API Framework Builder') + 66 buildername='iOS API Framework Builder') +
66 api.step_data('build', retcode=1) 67 api.step_data('build', retcode=1)
67 ) 68 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698