| 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 from infra.libs.infra_types import freeze | 10 from infra.libs.infra_types import freeze |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 'chromium_config_kwargs': { | 41 'chromium_config_kwargs': { |
| 42 'BUILD_CONFIG': 'Release', | 42 'BUILD_CONFIG': 'Release', |
| 43 'TARGET_PLATFORM': 'ios', | 43 'TARGET_PLATFORM': 'ios', |
| 44 'TARGET_BITS': 32, | 44 'TARGET_BITS': 32, |
| 45 }, | 45 }, |
| 46 'gclient_config': 'ios', | 46 'gclient_config': 'ios', |
| 47 'platform': 'mac', | 47 'platform': 'mac', |
| 48 'targets': ['all'], | 48 'targets': ['all'], |
| 49 }, | 49 }, |
| 50 'Linux deterministic build': { | 50 'Linux deterministic build': { |
| 51 # TODO(sebmarchand): Reactivate goma once the indeterminism coming from | 51 'chromium_config': 'chromium', |
| 52 # it has been fixed. | |
| 53 'chromium_config': 'chromium_no_goma', | |
| 54 'gclient_config': 'chromium', | 52 'gclient_config': 'chromium', |
| 55 'platform': 'linux', | 53 'platform': 'linux', |
| 56 }, | 54 }, |
| 57 'Mac deterministic build': { | 55 'Mac deterministic build': { |
| 58 # TODO(sebmarchand): Reactivate goma once the indeterminism coming from | 56 # TODO(sebmarchand): Reactivate goma once the indeterminism coming from |
| 59 # it has been fixed. | 57 # it has been fixed. |
| 60 'chromium_config': 'chromium_no_goma', | 58 'chromium_config': 'chromium_no_goma', |
| 61 'gclient_config': 'chromium', | 59 'gclient_config': 'chromium', |
| 62 'platform': 'mac', | 60 'platform': 'mac', |
| 63 }, | 61 }, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 _sanitize_nonalpha(buildername)) | 135 _sanitize_nonalpha(buildername)) |
| 138 yield ( | 136 yield ( |
| 139 api.test(test_name) + | 137 api.test(test_name) + |
| 140 api.properties.scheduled() + | 138 api.properties.scheduled() + |
| 141 api.properties.generic(buildername=buildername, | 139 api.properties.generic(buildername=buildername, |
| 142 mastername=mastername) + | 140 mastername=mastername) + |
| 143 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 141 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
| 144 api.properties(configuration='Release') + | 142 api.properties(configuration='Release') + |
| 145 api.step_data('remove_build_metadata', retcode=1) | 143 api.step_data('remove_build_metadata', retcode=1) |
| 146 ) | 144 ) |
| OLD | NEW |