| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| from .. import bot_spec |
| |
| |
| def _chromium_mac_spec(**kwargs): |
| return bot_spec.BotSpec.create( |
| build_gs_bucket='chromium-mac-archive', **kwargs) |
| |
| |
| SPEC = { |
| 'ios-device': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| 'mac_toolchain', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='ios', |
| gclient_apply_config=[], |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_BITS': 64, |
| 'TARGET_PLATFORM': 'ios', |
| 'HOST_PLATFORM': 'mac', |
| }, |
| simulation_platform='mac', |
| ), |
| 'ios-simulator-full-configs': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| 'mac_toolchain', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='ios', |
| gclient_apply_config=['use_clang_coverage'], |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Debug', |
| 'TARGET_BITS': 64, |
| 'TARGET_PLATFORM': 'ios', |
| 'HOST_PLATFORM': 'mac', |
| }, |
| simulation_platform='mac', |
| ), |
| 'ios-simulator-noncq': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| 'mac_toolchain', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='ios', |
| gclient_apply_config=[], |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Debug', |
| 'TARGET_BITS': 64, |
| 'TARGET_PLATFORM': 'ios', |
| 'HOST_PLATFORM': 'mac', |
| }, |
| simulation_platform='mac', |
| ), |
| 'ios-simulator': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| 'mac_toolchain', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='ios', |
| gclient_apply_config=['use_clang_coverage'], |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Debug', |
| 'TARGET_BITS': 64, |
| 'TARGET_PLATFORM': 'ios', |
| 'HOST_PLATFORM': 'mac', |
| }, |
| simulation_platform='mac', |
| ), |
| 'Mac Builder': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| gclient_apply_config=['use_clang_coverage'], |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_BITS': 64, |
| }, |
| simulation_platform='mac', |
| ), |
| 'mac-arm64-rel': |
| bot_spec.BotSpec.create( |
| chromium_config='chromium', |
| gclient_config='chromium', |
| gclient_apply_config=['use_xcode_12_beta'], |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_ARCH': 'arm', |
| 'TARGET_BITS': 64, |
| }, |
| simulation_platform='mac', |
| ), |
| 'Mac10.10 Tests': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_BITS': 64, |
| }, |
| execution_mode=bot_spec.TEST, |
| parent_buildername='Mac Builder', |
| simulation_platform='mac', |
| ), |
| 'Mac10.11 Tests': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_BITS': 64, |
| }, |
| execution_mode=bot_spec.TEST, |
| parent_buildername='Mac Builder', |
| simulation_platform='mac', |
| ), |
| 'Mac10.12 Tests': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_BITS': 64, |
| }, |
| execution_mode=bot_spec.TEST, |
| parent_buildername='Mac Builder', |
| simulation_platform='mac', |
| ), |
| 'Mac10.13 Tests': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| gclient_apply_config=['use_clang_coverage'], |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_BITS': 64, |
| }, |
| execution_mode=bot_spec.TEST, |
| parent_buildername='Mac Builder', |
| simulation_platform='mac', |
| ), |
| 'Mac10.14 Tests': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_BITS': 64, |
| }, |
| execution_mode=bot_spec.TEST, |
| parent_buildername='Mac Builder', |
| simulation_platform='mac', |
| ), |
| 'Mac10.15 Tests': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Release', |
| 'TARGET_BITS': 64, |
| }, |
| execution_mode=bot_spec.TEST, |
| parent_buildername='Mac Builder', |
| simulation_platform='mac', |
| ), |
| 'Mac Builder (dbg)': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Debug', |
| 'TARGET_BITS': 64, |
| }, |
| simulation_platform='mac', |
| ), |
| 'Mac10.13 Tests (dbg)': |
| _chromium_mac_spec( |
| chromium_config='chromium', |
| chromium_apply_config=[ |
| 'mb', |
| ], |
| isolate_server='https://isolateserver.appspot.com', |
| gclient_config='chromium', |
| chromium_config_kwargs={ |
| 'BUILD_CONFIG': 'Debug', |
| 'TARGET_BITS': 64, |
| }, |
| execution_mode=bot_spec.TEST, |
| parent_buildername='Mac Builder (dbg)', |
| simulation_platform='mac', |
| ), |
| } |