OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 """Recipe to test the deterministic build. | 5 """Recipe to test the deterministic build. |
6 | 6 |
7 Waterfall page: https://build.chromium.org/p/chromium.swarm/waterfall | 7 Waterfall page: https://build.chromium.org/p/chromium.swarm/waterfall |
8 | 8 |
9 """ | 9 """ |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 'gclient_config': 'chromium', | 54 'gclient_config': 'chromium', |
55 'platform': 'win', | 55 'platform': 'win', |
56 'targets': ['all'], | 56 'targets': ['all'], |
57 }, | 57 }, |
58 'Windows Clang deterministic': { | 58 'Windows Clang deterministic': { |
59 'chromium_config': 'chromium_win_clang', | 59 'chromium_config': 'chromium_win_clang', |
60 'gclient_config': 'chromium', | 60 'gclient_config': 'chromium', |
61 'platform': 'win', | 61 'platform': 'win', |
62 'targets': ['all'], | 62 'targets': ['all'], |
63 }, | 63 }, |
| 64 |
| 65 # Debug builder. |
| 66 'Android deterministic (dbg)': { |
| 67 'chromium_config': 'android', |
| 68 'chromium_config_kwargs': { |
| 69 'BUILD_CONFIG': 'Debug', |
| 70 'TARGET_BITS': 32, |
| 71 'TARGET_PLATFORM': 'android', |
| 72 }, |
| 73 'platform': 'linux', |
| 74 'targets': ['all'], |
| 75 }, |
| 76 'Linux deterministic (dbg)': { |
| 77 'chromium_config': 'chromium', |
| 78 'gclient_config': 'chromium', |
| 79 'platform': 'linux', |
| 80 'targets': ['all'], |
| 81 }, |
| 82 'Mac deterministic (dbg)': { |
| 83 'chromium_config': 'chromium', |
| 84 'gclient_config': 'chromium', |
| 85 'platform': 'mac', |
| 86 'targets': ['all'], |
| 87 }, |
64 }) | 88 }) |
65 | 89 |
66 | 90 |
67 def MoveBuildDirectory(api, src_dir, dst_dir): | 91 def MoveBuildDirectory(api, src_dir, dst_dir): |
68 api.python.inline('Move %s to %s' % (src_dir, dst_dir), | 92 api.python.inline('Move %s to %s' % (src_dir, dst_dir), |
69 """ | 93 """ |
70 import os | 94 import os |
71 import shutil | 95 import shutil |
72 import sys | 96 import sys |
73 if os.path.exists(sys.argv[2]): | 97 if os.path.exists(sys.argv[2]): |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 _sanitize_nonalpha(buildername)) | 203 _sanitize_nonalpha(buildername)) |
180 yield ( | 204 yield ( |
181 api.test(test_name) + | 205 api.test(test_name) + |
182 api.properties.scheduled() + | 206 api.properties.scheduled() + |
183 api.properties.generic(buildername=buildername, | 207 api.properties.generic(buildername=buildername, |
184 mastername=mastername) + | 208 mastername=mastername) + |
185 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 209 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
186 api.properties(configuration='Release') + | 210 api.properties(configuration='Release') + |
187 api.step_data('remove_build_metadata', retcode=1) | 211 api.step_data('remove_build_metadata', retcode=1) |
188 ) | 212 ) |
OLD | NEW |