| 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 DEPS = [ | 10 DEPS = [ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 'chromium_config_kwargs': { | 39 'chromium_config_kwargs': { |
| 40 'BUILD_CONFIG': 'Release', | 40 'BUILD_CONFIG': 'Release', |
| 41 'TARGET_PLATFORM': 'ios', | 41 'TARGET_PLATFORM': 'ios', |
| 42 'TARGET_BITS': 32, | 42 'TARGET_BITS': 32, |
| 43 }, | 43 }, |
| 44 'gclient_config': 'ios', | 44 'gclient_config': 'ios', |
| 45 'platform': 'mac', | 45 'platform': 'mac', |
| 46 'targets': ['all'], | 46 'targets': ['all'], |
| 47 }, | 47 }, |
| 48 'Linux deterministic build': { | 48 'Linux deterministic build': { |
| 49 'chromium_config': 'chromium', | 49 # TODO(sebmarchand): Reactivate goma once the indeterminism coming from |
| 50 # it has been fixed. |
| 51 'chromium_config': 'chromium_no_goma', |
| 50 'gclient_config': 'chromium', | 52 'gclient_config': 'chromium', |
| 51 'platform': 'linux', | 53 'platform': 'linux', |
| 52 }, | 54 }, |
| 53 'Mac deterministic build': { | 55 'Mac deterministic build': { |
| 54 'chromium_config': 'chromium', | 56 'chromium_config': 'chromium', |
| 55 'gclient_config': 'chromium', | 57 'gclient_config': 'chromium', |
| 56 'platform': 'mac', | 58 'platform': 'mac', |
| 57 }, | 59 }, |
| 58 'Windows deterministic build': { | 60 'Windows deterministic build': { |
| 59 'chromium_config': 'chromium', | 61 # TODO(sebmarchand): Reactivate goma once the indeterminism coming from |
| 62 # it has been fixed. |
| 63 'chromium_config': 'chromium_no_goma', |
| 60 'gclient_config': 'chromium', | 64 'gclient_config': 'chromium', |
| 61 'platform': 'win', | 65 'platform': 'win', |
| 62 }, | 66 }, |
| 63 } | 67 } |
| 64 | 68 |
| 65 | 69 |
| 66 def MoveBuildDirectory(api, src_dir, dst_dir): | 70 def MoveBuildDirectory(api, src_dir, dst_dir): |
| 67 api.python.inline('Move %s to %s' % (src_dir, dst_dir), | 71 api.python.inline('Move %s to %s' % (src_dir, dst_dir), |
| 68 """ | 72 """ |
| 69 import os | 73 import os |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 _sanitize_nonalpha(buildername)) | 133 _sanitize_nonalpha(buildername)) |
| 130 yield ( | 134 yield ( |
| 131 api.test(test_name) + | 135 api.test(test_name) + |
| 132 api.properties.scheduled() + | 136 api.properties.scheduled() + |
| 133 api.properties.generic(buildername=buildername, | 137 api.properties.generic(buildername=buildername, |
| 134 mastername=mastername) + | 138 mastername=mastername) + |
| 135 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 139 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
| 136 api.properties(configuration='Release') + | 140 api.properties(configuration='Release') + |
| 137 api.step_data('remove_build_metadata', retcode=1) | 141 api.step_data('remove_build_metadata', retcode=1) |
| 138 ) | 142 ) |
| OLD | NEW |