| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 | 6 |
| 7 | 7 |
| 8 DEPS = [ | 8 DEPS = [ |
| 9 'archive', | 9 'archive', |
| 10 'depot_tools/bot_update', | 10 'depot_tools/bot_update', |
| 11 'chromium', | 11 'chromium', |
| 12 'file', | 12 'file', |
| 13 'recipe_engine/json', | 13 'recipe_engine/json', |
| 14 'recipe_engine/path', | 14 'recipe_engine/path', |
| 15 'recipe_engine/platform', | 15 'recipe_engine/platform', |
| 16 'recipe_engine/properties', | 16 'recipe_engine/properties', |
| 17 'recipe_engine/python', | 17 'recipe_engine/python', |
| 18 'recipe_engine/raw_io', | 18 'recipe_engine/raw_io', |
| 19 'recipe_engine/step', | 19 'recipe_engine/step', |
| 20 'webrtc', | 20 'webrtc', |
| 21 ] | 21 ] |
| 22 | 22 |
| 23 | 23 |
| 24 BUILDERS = freeze({ | 24 BUILDERS = freeze({ |
| 25 'client.webrtc': { | 25 'client.webrtc.fyi': { |
| 26 'builders': { | 26 'builders': { |
| 27 'Linux64 Release (Libfuzzer)': { | 27 'Linux64 Release (Libfuzzer)': { |
| 28 'recipe_config': 'webrtc', | 28 'recipe_config': 'webrtc', |
| 29 'chromium_config_kwargs': { | 29 'chromium_config_kwargs': { |
| 30 'BUILD_CONFIG': 'Release', | 30 'BUILD_CONFIG': 'Release', |
| 31 'TARGET_BITS': 64, | 31 'TARGET_BITS': 64, |
| 32 }, | 32 }, |
| 33 'chromium_apply_config': ['webrtc_libfuzzer'], | 33 'chromium_apply_config': ['webrtc_libfuzzer'], |
| 34 'bot_type': 'builder', | 34 'bot_type': 'builder', |
| 35 'testing': {'platform': 'linux'}, | 35 'testing': {'platform': 'linux'}, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 api.chromium.compile(targets=targets) | 86 api.chromium.compile(targets=targets) |
| 87 | 87 |
| 88 | 88 |
| 89 def GenTests(api): | 89 def GenTests(api): |
| 90 for test in api.chromium.gen_tests_for_builders(BUILDERS): | 90 for test in api.chromium.gen_tests_for_builders(BUILDERS): |
| 91 yield (test + | 91 yield (test + |
| 92 api.step_data('calculate targets', | 92 api.step_data('calculate targets', |
| 93 stdout=api.raw_io.output('target1 target2 target3')) | 93 stdout=api.raw_io.output('target1 target2 target3')) |
| 94 ) | 94 ) |
| 95 | 95 |
| OLD | NEW |