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 26 matching lines...) Expand all Loading... |
37 'chromium_config': 'chromium_ios_device', | 37 'chromium_config': 'chromium_ios_device', |
38 'chromium_config_kwargs': { | 38 'chromium_config_kwargs': { |
39 'BUILD_CONFIG': 'Release', | 39 'BUILD_CONFIG': 'Release', |
40 'TARGET_PLATFORM': 'ios', | 40 'TARGET_PLATFORM': 'ios', |
41 'TARGET_BITS': 32, | 41 'TARGET_BITS': 32, |
42 }, | 42 }, |
43 'gclient_config': 'ios', | 43 'gclient_config': 'ios', |
44 'platform': 'mac', | 44 'platform': 'mac', |
45 }, | 45 }, |
46 'Linux deterministic build': { | 46 'Linux deterministic build': { |
47 'chromium_config': 'chromium_no_goma', | 47 'chromium_config': 'chromium', |
48 'gclient_config': 'chromium', | 48 'gclient_config': 'chromium', |
49 'platform': 'linux', | 49 'platform': 'linux', |
50 }, | 50 }, |
51 'Mac deterministic build': { | 51 'Mac deterministic build': { |
52 'chromium_config': 'chromium_no_goma', | 52 'chromium_config': 'chromium', |
53 'gclient_config': 'chromium', | 53 'gclient_config': 'chromium', |
54 'platform': 'mac', | 54 'platform': 'mac', |
55 }, | 55 }, |
56 'Windows deterministic build': { | 56 'Windows deterministic build': { |
57 'chromium_config': 'chromium_no_goma', | 57 'chromium_config': 'chromium', |
58 'gclient_config': 'chromium', | 58 'gclient_config': 'chromium', |
59 'platform': 'win', | 59 'platform': 'win', |
60 }, | 60 }, |
61 } | 61 } |
62 | 62 |
63 | 63 |
64 def MoveBuildDirectory(api, src_dir, dst_dir): | 64 def MoveBuildDirectory(api, src_dir, dst_dir): |
65 api.python.inline('Move %s to %s' % (src_dir, dst_dir), | 65 api.python.inline('Move %s to %s' % (src_dir, dst_dir), |
66 """ | 66 """ |
67 import os | 67 import os |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 test_name = 'full_%s_%s' % (_sanitize_nonalpha(mastername), | 128 test_name = 'full_%s_%s' % (_sanitize_nonalpha(mastername), |
129 _sanitize_nonalpha(buildername)) | 129 _sanitize_nonalpha(buildername)) |
130 yield ( | 130 yield ( |
131 api.test(test_name) + | 131 api.test(test_name) + |
132 api.properties.scheduled() + | 132 api.properties.scheduled() + |
133 api.properties.generic(buildername=buildername, | 133 api.properties.generic(buildername=buildername, |
134 mastername=mastername) + | 134 mastername=mastername) + |
135 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 135 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
136 api.properties(configuration='Release') | 136 api.properties(configuration='Release') |
137 ) | 137 ) |
OLD | NEW |