OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 """Define the supported projects.""" | 4 """Define the supported projects.""" |
5 | 5 |
6 import json | 6 import json |
7 import logging | 7 import logging |
8 import os | 8 import os |
9 import re | 9 import re |
10 import sys | 10 import sys |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 'nacl_integration', | 231 'nacl_integration', |
232 'remoting_unittests', | 232 'remoting_unittests', |
233 'sync_integration_tests', | 233 'sync_integration_tests', |
234 ], | 234 ], |
235 'win': ['compile'], | 235 'win': ['compile'], |
236 'linux_clang': ['compile'], | 236 'linux_clang': ['compile'], |
237 'linux_chromeos': standard_tests + [ | 237 'linux_chromeos': standard_tests + [ |
238 'sandbox_linux_unittests', | 238 'sandbox_linux_unittests', |
239 ], | 239 ], |
240 'android_dbg': ['build'], | 240 'android_dbg': ['build'], |
241 'ios_rel_device': ['compile'], | 241 #'ios_rel_device': [], |
242 'ios_dbg_simulator': [ | 242 'ios_dbg_simulator': [ |
243 'compile', | |
244 'base_unittests', | 243 'base_unittests', |
245 'crypto_unittests', | 244 'crypto_unittests', |
246 'googleurl_unittests', | 245 'googleurl_unittests', |
247 'sql_unittests', | 246 'sql_unittests', |
248 ], | 247 ], |
249 } | 248 } |
250 triggered_builders_and_tests = [ | 249 triggered_builders_and_tests = [ |
251 ('android_dbg_triggered_tests', 'android_dbg', ['build']), | 250 ('android_dbg_triggered_tests', 'android_dbg', ['build']), |
252 ] | 251 ] |
253 | 252 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 """List the projects that can be managed by the commit queue.""" | 466 """List the projects that can be managed by the commit queue.""" |
468 return sorted( | 467 return sorted( |
469 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) | 468 x[5:] for x in dir(sys.modules[__name__]) if x.startswith('_gen_')) |
470 | 469 |
471 | 470 |
472 def load_project(project, user, root_dir, rietveld_obj, no_try): | 471 def load_project(project, user, root_dir, rietveld_obj, no_try): |
473 """Loads the specified project.""" | 472 """Loads the specified project.""" |
474 assert os.path.isabs(root_dir) | 473 assert os.path.isabs(root_dir) |
475 return getattr(sys.modules[__name__], '_gen_' + project)( | 474 return getattr(sys.modules[__name__], '_gen_' + project)( |
476 user, root_dir, rietveld_obj, no_try) | 475 user, root_dir, rietveld_obj, no_try) |
OLD | NEW |