| 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 from recipe_engine.types import freeze | 5 from recipe_engine.types import freeze |
| 6 from recipe_engine.recipe_api import Property | 6 from recipe_engine.recipe_api import Property |
| 7 | 7 |
| 8 DEPS = [ | 8 DEPS = [ |
| 9 'cronet', | 9 'cronet', |
| 10 'recipe_engine/path', | 10 'recipe_engine/path', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 'Android Cronet Builder (dbg)': { | 30 'Android Cronet Builder (dbg)': { |
| 31 'recipe_config': 'main_builder_mb', | 31 'recipe_config': 'main_builder_mb', |
| 32 'run_tests': True, | 32 'run_tests': True, |
| 33 'kwargs': { | 33 'kwargs': { |
| 34 'BUILD_CONFIG': 'Debug', | 34 'BUILD_CONFIG': 'Debug', |
| 35 }, | 35 }, |
| 36 'cronet_kwargs': { | 36 'cronet_kwargs': { |
| 37 'PERF_ID': 'android_cronet_builder_dbg', | 37 'PERF_ID': 'android_cronet_builder_dbg', |
| 38 }, | 38 }, |
| 39 }, | 39 }, |
| 40 'Android Cronet Builder': { | 40 'Android Cronet KitKat Builder': { |
| 41 'recipe_config': 'main_builder_mb', | 41 'recipe_config': 'main_builder_mb', |
| 42 'run_tests': True, | 42 'run_tests': True, |
| 43 'kwargs': { | 43 'kwargs': { |
| 44 'BUILD_CONFIG': 'Release', | 44 'BUILD_CONFIG': 'Release', |
| 45 'REPO_NAME': 'src', | 45 'REPO_NAME': 'src', |
| 46 }, | 46 }, |
| 47 'cronet_kwargs': { | 47 'cronet_kwargs': { |
| 48 'PERF_ID': 'android_cronet_builder', | 48 'PERF_ID': 'android_cronet_builder', |
| 49 }, | 49 }, |
| 50 }, | 50 }, |
| 51 'Android Cronet Lollipop Builder': { |
| 52 'recipe_config': 'main_builder_mb', |
| 53 'run_tests': True, |
| 54 'kwargs': { |
| 55 'BUILD_CONFIG': 'Release', |
| 56 'REPO_NAME': 'src', |
| 57 }, |
| 58 'cronet_kwargs': { |
| 59 'PERF_ID': 'android_cronet_builder', |
| 60 }, |
| 61 }, |
| 62 'Android Cronet Marshmallow 64bit Builder': { |
| 63 'recipe_config': 'arm64_builder_mb', |
| 64 'run_tests': True, |
| 65 'kwargs': { |
| 66 'BUILD_CONFIG': 'Release', |
| 67 'REPO_NAME': 'src', |
| 68 }, |
| 69 'cronet_kwargs': { |
| 70 'PERF_ID': 'android_cronet_builder', |
| 71 }, |
| 72 }, |
| 51 'Android Cronet Builder Asan': { | 73 'Android Cronet Builder Asan': { |
| 52 'recipe_config': 'base_config', | 74 'recipe_config': 'base_config', |
| 53 'run_tests': True, | 75 'run_tests': True, |
| 54 'kwargs': { | 76 'kwargs': { |
| 55 'BUILD_CONFIG': 'Release', | 77 'BUILD_CONFIG': 'Release', |
| 56 'REPO_NAME': 'src', | 78 'REPO_NAME': 'src', |
| 57 'asan_symbolize': True, | 79 'asan_symbolize': True, |
| 58 }, | 80 }, |
| 59 'chromium_apply_config': ['mb', 'chromium_asan'], | 81 'chromium_apply_config': ['mb', 'chromium_asan'], |
| 60 }, | 82 }, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 'cronet_kwargs': { | 159 'cronet_kwargs': { |
| 138 'PERF_ID': 'android_cronet_data_reduction_proxy_builder', | 160 'PERF_ID': 'android_cronet_data_reduction_proxy_builder', |
| 139 }, | 161 }, |
| 140 'kwargs': { | 162 'kwargs': { |
| 141 'BUILD_CONFIG': 'Release', | 163 'BUILD_CONFIG': 'Release', |
| 142 }, | 164 }, |
| 143 'gyp_defs': { | 165 'gyp_defs': { |
| 144 'enable_data_reduction_proxy_support': 1, | 166 'enable_data_reduction_proxy_support': 1, |
| 145 } | 167 } |
| 146 }, | 168 }, |
| 169 'Android Cronet Marshmallow 64bit Perf': { |
| 170 'recipe_config': 'arm64_builder_mb', |
| 171 'run_tests': True, |
| 172 'kwargs': { |
| 173 'BUILD_CONFIG': 'Release', |
| 174 'REPO_NAME': 'src', |
| 175 }, |
| 176 'cronet_kwargs': { |
| 177 'PERF_ID': 'android_cronet_builder', |
| 178 }, |
| 179 }, |
| 147 }) | 180 }) |
| 148 | 181 |
| 149 | 182 |
| 150 PROPERTIES = { | 183 PROPERTIES = { |
| 151 'buildername': Property(), | 184 'buildername': Property(), |
| 152 } | 185 } |
| 153 | 186 |
| 154 | 187 |
| 155 def RunSteps(api, buildername): | 188 def RunSteps(api, buildername): |
| 156 builder_config = BUILDERS.get(buildername, {}) | 189 builder_config = BUILDERS.get(buildername, {}) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 182 repository='https://chromium.googlesource.com/chromium/src', | 215 repository='https://chromium.googlesource.com/chromium/src', |
| 183 branch='master', | 216 branch='master', |
| 184 project='src', | 217 project='src', |
| 185 ) | 218 ) |
| 186 yield api.test(_sanitize_nonalpha(bot_id)) + props | 219 yield api.test(_sanitize_nonalpha(bot_id)) + props |
| 187 | 220 |
| 188 yield ( | 221 yield ( |
| 189 api.test('cronet_try') + | 222 api.test('cronet_try') + |
| 190 api.properties.tryserver(buildername="android_cronet_tester") | 223 api.properties.tryserver(buildername="android_cronet_tester") |
| 191 ) | 224 ) |
| OLD | NEW |