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 | 4 |
5 from master import master_config | 5 from master import master_config |
6 from master.factory import chromium_factory | 6 from master.factory import chromium_factory |
7 | 7 |
8 defaults = {} | 8 defaults = {} |
9 | 9 |
10 helper = master_config.Helper(defaults) | 10 helper = master_config.Helper(defaults) |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
304 # | 304 # |
305 B('iOS Device', 'ios_rel', gatekeeper='ios_rel', scheduler='ios', | 305 B('iOS Device', 'ios_rel', gatekeeper='ios_rel', scheduler='ios', |
306 auto_reboot=True, notify_on_missing=True) | 306 auto_reboot=True, notify_on_missing=True) |
307 F('ios_rel', ios().ChromiumFactory( | 307 F('ios_rel', ios().ChromiumFactory( |
308 # TODO(lliabraa): Need to upstream support for running tests on devices | 308 # TODO(lliabraa): Need to upstream support for running tests on devices |
309 # before we can actually run any tests. | 309 # before we can actually run any tests. |
310 clobber=True, | 310 clobber=True, |
311 tests=[], | 311 tests=[], |
312 options = [ | 312 options = [ |
313 '--', '-project', '../build/all.xcodeproj', '-sdk', | 313 '--', '-project', '../build/all.xcodeproj', '-sdk', |
314 'iphoneos6.1', '-target' , 'All'], | 314 'iphoneos6.1', '-target' , 'All'], # for xcode 4.6. Use 'iphoneos' for 5. |
315 factory_properties={ | 315 factory_properties={ |
316 'app_name': 'Chromium.app', | 316 'app_name': 'Chromium.app', |
317 'gclient_deps': 'ios', | 317 'gclient_deps': 'ios', |
318 'gclient_env': { | 318 'gclient_env': { |
319 'GYP_DEFINES': 'component=static_library OS=ios chromium_ios_signing=0', | 319 'GYP_DEFINES': 'component=static_library OS=ios chromium_ios_signing=0', |
320 'GYP_GENERATOR_FLAGS': 'xcode_project_version=3.2', | 320 'GYP_GENERATOR_FLAGS': 'xcode_project_version=3.2', |
321 }, | 321 }, |
322 })) | 322 })) |
323 | 323 |
324 B('iOS Device ninja', 'ios_rel_ninja', gatekeeper='ios_rel_ninja', | |
ghost stip (do not use)
2013/11/22 23:18:03
we'll need to add a config to master_gatekeeper_cf
| |
325 scheduler='ios', auto_reboot=True, notify_on_missing=True) | |
326 F('ios_rel_ninja', mac_out().ChromiumFactory( | |
327 tests=[], | |
328 options=['--build-tool=ninja'], | |
329 factory_properties={ | |
330 'app_name': 'Chromium.app', | |
331 'gclient_deps': 'ios', | |
332 'gclient_env': { | |
333 'GYP_CROSSCOMPILE': '1', | |
334 'GYP_GENERATORS': 'ninja', | |
335 'GYP_DEFINES': 'component=static_library OS=ios clang=1', | |
336 }, | |
337 })) | |
338 | |
324 # | 339 # |
325 # iOS Debug iphonesimulator BuilderTester | 340 # iOS Debug iphonesimulator BuilderTester |
326 # | 341 # |
327 B('iOS Simulator (dbg)', 'ios_dbg', gatekeeper='ios_dbg', scheduler='ios', | 342 B('iOS Simulator (dbg)', 'ios_dbg', gatekeeper='ios_dbg', scheduler='ios', |
328 auto_reboot=True, notify_on_missing=True) | 343 auto_reboot=True, notify_on_missing=True) |
329 F('ios_dbg', ios().ChromiumFactory( | 344 F('ios_dbg', ios().ChromiumFactory( |
330 clobber=True, | 345 clobber=True, |
331 target='Debug', | 346 target='Debug', |
332 tests=[ | 347 tests=[ |
333 'base_unittests', | 348 'base_unittests', |
(...skipping 13 matching lines...) Expand all Loading... | |
347 'test_platform': 'ios-simulator', | 362 'test_platform': 'ios-simulator', |
348 'gclient_deps': 'ios', | 363 'gclient_deps': 'ios', |
349 'gclient_env': { | 364 'gclient_env': { |
350 'GYP_DEFINES': 'component=static_library OS=ios chromium_ios_signing=0', | 365 'GYP_DEFINES': 'component=static_library OS=ios chromium_ios_signing=0', |
351 'GYP_GENERATOR_FLAGS': 'xcode_project_version=3.2', | 366 'GYP_GENERATOR_FLAGS': 'xcode_project_version=3.2', |
352 }, | 367 }, |
353 })) | 368 })) |
354 | 369 |
355 def Update(config, active_master, c): | 370 def Update(config, active_master, c): |
356 return helper.Update(c) | 371 return helper.Update(c) |
OLD | NEW |