| 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 TODO(sebmarchand): This recipe has been moved to the recipe's root directory. | 9 TODO(sebmarchand): This recipe has been moved to the recipe's root directory. |
| 10 Remove this copy once all the master have been updated. | 10 Remove this copy once all the master have been updated. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 'TARGET_BITS': 32, | 34 'TARGET_BITS': 32, |
| 35 'TARGET_PLATFORM': 'android', | 35 'TARGET_PLATFORM': 'android', |
| 36 }, | 36 }, |
| 37 'platform': 'linux', | 37 'platform': 'linux', |
| 38 'targets': ['all'], | 38 'targets': ['all'], |
| 39 }, | 39 }, |
| 40 'Linux deterministic': { | 40 'Linux deterministic': { |
| 41 'chromium_config': 'chromium', | 41 'chromium_config': 'chromium', |
| 42 'gclient_config': 'chromium', | 42 'gclient_config': 'chromium', |
| 43 'platform': 'linux', | 43 'platform': 'linux', |
| 44 'targets': ['all'], |
| 44 }, | 45 }, |
| 45 'Mac deterministic': { | 46 'Mac deterministic': { |
| 46 'chromium_config': 'chromium', | 47 'chromium_config': 'chromium', |
| 47 'gclient_config': 'chromium', | 48 'gclient_config': 'chromium', |
| 48 'platform': 'mac', | 49 'platform': 'mac', |
| 50 'targets': ['all'], |
| 49 }, | 51 }, |
| 50 'Windows deterministic': { | 52 'Windows deterministic': { |
| 51 'chromium_config': 'chromium', | 53 'chromium_config': 'chromium', |
| 52 'gclient_config': 'chromium', | 54 'gclient_config': 'chromium', |
| 53 'platform': 'win', | 55 'platform': 'win', |
| 56 'targets': ['all'], |
| 54 }, | 57 }, |
| 55 'Windows Clang deterministic': { | 58 'Windows Clang deterministic': { |
| 56 'chromium_config': 'chromium_win_clang', | 59 'chromium_config': 'chromium_win_clang', |
| 57 'gclient_config': 'chromium', | 60 'gclient_config': 'chromium', |
| 58 'platform': 'win', | 61 'platform': 'win', |
| 62 'targets': ['all'], |
| 59 }, | 63 }, |
| 60 }) | 64 }) |
| 61 | 65 |
| 62 | 66 |
| 63 def MoveBuildDirectory(api, src_dir, dst_dir): | 67 def MoveBuildDirectory(api, src_dir, dst_dir): |
| 64 api.python.inline('Move %s to %s' % (src_dir, dst_dir), | 68 api.python.inline('Move %s to %s' % (src_dir, dst_dir), |
| 65 """ | 69 """ |
| 66 import os | 70 import os |
| 67 import shutil | 71 import shutil |
| 68 import sys | 72 import sys |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 _sanitize_nonalpha(buildername)) | 168 _sanitize_nonalpha(buildername)) |
| 165 yield ( | 169 yield ( |
| 166 api.test(test_name) + | 170 api.test(test_name) + |
| 167 api.properties.scheduled() + | 171 api.properties.scheduled() + |
| 168 api.properties.generic(buildername=buildername, | 172 api.properties.generic(buildername=buildername, |
| 169 mastername=mastername) + | 173 mastername=mastername) + |
| 170 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 174 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
| 171 api.properties(configuration='Release') + | 175 api.properties(configuration='Release') + |
| 172 api.step_data('remove_build_metadata', retcode=1) | 176 api.step_data('remove_build_metadata', retcode=1) |
| 173 ) | 177 ) |
| OLD | NEW |