| 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 import copy | 5 import copy |
| 6 import collections | 6 import collections |
| 7 | 7 |
| 8 from . import chromium_linux | 8 from . import chromium_linux |
| 9 from . import chromium_mac | 9 from . import chromium_mac |
| 10 from . import chromium_win | 10 from . import chromium_win |
| 11 from . import chromium_webrtc | 11 from . import chromium_webrtc |
| 12 | 12 |
| 13 | 13 |
| 14 # GN builders are added first. They're setup to be as similar as possible to | 14 # GN builders are added first. They're setup to be as similar as possible to |
| 15 # the builders in Chromium, to be able to detect breakages pre-roll. | 15 # the builders in Chromium, to be able to detect breakages pre-roll. |
| 16 SPEC = { | 16 SPEC = { |
| 17 'settings': { | 17 'settings': { |
| 18 'build_gs_bucket': 'chromium-webrtc', | 18 'build_gs_bucket': 'chromium-webrtc', |
| 19 }, | 19 }, |
| 20 'builders': {}, | 20 'builders': {}, |
| 21 } | 21 } |
| 22 | 22 |
| 23 | 23 |
| 24 def AddGNBuilder(spec, name, dest_name=None): | 24 def AddGNBuilder(spec, name, dest_name=None): |
| 25 SPEC['builders'][dest_name or name] = copy.deepcopy(spec['builders'][name]) | 25 SPEC['builders'][dest_name or name] = copy.deepcopy(spec['builders'][name]) |
| 26 | 26 |
| 27 | 27 |
| 28 AddGNBuilder(chromium_linux.SPEC, 'Android GN') | |
| 29 AddGNBuilder(chromium_linux.SPEC, 'Android GN (dbg)') | |
| 30 AddGNBuilder(chromium_mac.SPEC, 'Mac GN') | 28 AddGNBuilder(chromium_mac.SPEC, 'Mac GN') |
| 31 AddGNBuilder(chromium_mac.SPEC, 'Mac GN (dbg)') | 29 AddGNBuilder(chromium_mac.SPEC, 'Mac GN (dbg)') |
| 32 AddGNBuilder(chromium_win.SPEC, 'Win x64 Builder', 'Win x64 GN') | 30 AddGNBuilder(chromium_win.SPEC, 'Win x64 Builder', 'Win x64 GN') |
| 33 AddGNBuilder(chromium_win.SPEC, 'Win x64 Builder (dbg)', 'Win x64 GN (dbg)') | 31 AddGNBuilder(chromium_win.SPEC, 'Win x64 Builder (dbg)', 'Win x64 GN (dbg)') |
| 34 | 32 |
| 35 | 33 |
| 36 for b in SPEC['builders'].itervalues(): | 34 for b in SPEC['builders'].itervalues(): |
| 37 b.setdefault('gclient_apply_config', []) | 35 b.setdefault('gclient_apply_config', []) |
| 38 b['gclient_apply_config'].append('chromium_webrtc_tot') | 36 b['gclient_apply_config'].append('chromium_webrtc_tot') |
| 39 b['tests'] = [] # These WebRTC builders only run compile. | 37 b['tests'] = [] # These WebRTC builders only run compile. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 target_bits=32, build_config='Debug') | 87 target_bits=32, build_config='Debug') |
| 90 AddTestSpec('Android Tests (dbg) (L Nexus6)', | 88 AddTestSpec('Android Tests (dbg) (L Nexus6)', |
| 91 'chromium-webrtc-trunk-tot-dbg-android-nexus6', 'android', | 89 'chromium-webrtc-trunk-tot-dbg-android-nexus6', 'android', |
| 92 target_bits=32, build_config='Debug') | 90 target_bits=32, build_config='Debug') |
| 93 AddTestSpec('Android Tests (dbg) (L Nexus7.2)', | 91 AddTestSpec('Android Tests (dbg) (L Nexus7.2)', |
| 94 'chromium-webrtc-trunk-tot-dbg-android-nexus72', 'android', | 92 'chromium-webrtc-trunk-tot-dbg-android-nexus72', 'android', |
| 95 target_bits=32, build_config='Debug') | 93 target_bits=32, build_config='Debug') |
| 96 AddTestSpec('Android Tests (dbg) (L Nexus9)', | 94 AddTestSpec('Android Tests (dbg) (L Nexus9)', |
| 97 'chromium-webrtc-trunk-tot-dbg-android-nexus9', 'android', | 95 'chromium-webrtc-trunk-tot-dbg-android-nexus9', 'android', |
| 98 build_config='Debug') | 96 build_config='Debug') |
| OLD | NEW |