OLD | NEW |
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 'chromium_checkout', | 7 'chromium_checkout', |
8 'commit_position', | 8 'commit_position', |
9 'depot_tools/bot_update', | 9 'depot_tools/bot_update', |
10 'depot_tools/gclient', | 10 'depot_tools/gclient', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 if not api.tryserver.is_tryserver: | 49 if not api.tryserver.is_tryserver: |
50 api.step('cleanup', [build_script, '-c'], cwd=api.path['checkout']) | 50 api.step('cleanup', [build_script, '-c'], cwd=api.path['checkout']) |
51 | 51 |
52 api.step('build', [build_script, '-r', commit_pos], cwd=api.path['checkout']) | 52 api.step('build', [build_script, '-r', commit_pos], cwd=api.path['checkout']) |
53 | 53 |
54 if not api.tryserver.is_tryserver: | 54 if not api.tryserver.is_tryserver: |
55 output_dir = api.path['checkout'].join('out_ios_libs') | 55 output_dir = api.path['checkout'].join('out_ios_libs') |
56 zip_out = api.path['slave_build'].join('webrtc_ios_api_framework.zip') | 56 zip_out = api.path['slave_build'].join('webrtc_ios_api_framework.zip') |
57 pkg = api.zip.make_package(output_dir, zip_out) | 57 pkg = api.zip.make_package(output_dir, zip_out) |
58 pkg.add_directory(output_dir.join('WebRTC.framework')) | 58 pkg.add_directory(output_dir.join('WebRTC.framework')) |
59 pkg.add_directory(output_dir.join('WebRTC.framework.dSYM')) | 59 pkg.add_directory(output_dir.join('WebRTC.dSYM')) |
60 # TODO(kjellander): Readd when bugs.webrtc.org/6372 is fixed. | 60 # TODO(kjellander): Readd when bugs.webrtc.org/6372 is fixed. |
61 #pkg.add_file(output_dir.join('LICENSE.html')) | 61 #pkg.add_file(output_dir.join('LICENSE.html')) |
62 pkg.zip('zip archive') | 62 pkg.zip('zip archive') |
63 | 63 |
64 api.gsutil.upload( | 64 api.gsutil.upload( |
65 zip_out, | 65 zip_out, |
66 'chromium-webrtc', | 66 'chromium-webrtc', |
67 'ios_api_framework/webrtc_ios_api_framework_%d.zip' % commit_pos, | 67 'ios_api_framework/webrtc_ios_api_framework_%d.zip' % commit_pos, |
68 args=['-a', 'public-read'], | 68 args=['-a', 'public-read'], |
69 unauthenticated_url=True) | 69 unauthenticated_url=True) |
(...skipping 27 matching lines...) Expand all Loading... |
97 path_config='kitchen') + | 97 path_config='kitchen') + |
98 api.step_data('build', retcode=1) | 98 api.step_data('build', retcode=1) |
99 ) | 99 ) |
100 | 100 |
101 yield ( | 101 yield ( |
102 api.test('trybot_build') + | 102 api.test('trybot_build') + |
103 api.properties.tryserver(mastername='tryserver.webrtc', | 103 api.properties.tryserver(mastername='tryserver.webrtc', |
104 buildername='ios_api_framework', | 104 buildername='ios_api_framework', |
105 path_config='kitchen') | 105 path_config='kitchen') |
106 ) | 106 ) |
OLD | NEW |