| OLD | NEW |
| (Empty) | |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 # |
| 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 |
| 9 # FOR DETAILS ON THIS FILE SEE THE MAIN COPY IN //tools/mb/mb_config.pyl. |
| 10 # This is configuration for standalone WebRTC bots. It is used to keep the bot |
| 11 # configurations source-side instead of in the buildbot scripts. That makes it |
| 12 # easy to try different configurations of GYP and GN in tryjob patches. |
| 13 |
| 14 { |
| 15 # This is the list of configs that you can pass to mb; each config |
| 16 # represents a particular combination of GYP_DEFINES/gn args that |
| 17 # we must support. A given config *may* be platform-specific but |
| 18 # is not necessarily so (i.e., we might have mac, win, and linux |
| 19 # bots all using the 'gn_release_bot' config). |
| 20 'configs': { |
| 21 'ios_gn_debug_bot_arm64_device': ['ios', 'gn', 'debug_bot', 'arm64', 'device
'], |
| 22 'ios_gn_release_bot_arm64_device': ['ios', 'gn', 'release_bot', 'arm64', 'de
vice'], |
| 23 'ios_gyp_debug_bot_arm_device': ['ios', 'gyp', 'debug_bot', 'arm', 'device']
, |
| 24 'ios_gyp_release_bot_arm_device': ['ios', 'gyp', 'release_bot', 'arm', 'devi
ce'], |
| 25 'ios_gyp_debug_bot_arm64_device': ['ios', 'gyp', 'debug_bot', 'arm64', 'devi
ce'], |
| 26 'ios_gyp_release_bot_arm64_device': ['ios', 'gyp', 'release_bot', 'arm64', '
device'], |
| 27 'ios_gyp_debug_bot_x86': ['ios', 'gyp', 'debug_bot', 'x86'], |
| 28 'ios_gyp_debug_bot_x64': ['ios', 'gyp', 'release_bot', 'x64'], |
| 29 }, |
| 30 |
| 31 # This is a dict mapping a given 'mixin' name to a dict of settings that |
| 32 # mb should use. See //tools/mb/docs/user_guide.md for more information. |
| 33 'mixins': { |
| 34 'ios': { |
| 35 'gn_args': 'target_os="ios"', |
| 36 'gyp_defines': 'OS=ios', |
| 37 }, |
| 38 |
| 39 'arm': { |
| 40 'gn_args': 'target_cpu="arm"', |
| 41 'gyp_defines': 'target_arch=arm', |
| 42 }, |
| 43 |
| 44 'arm64': { |
| 45 'gn_args': 'target_cpu="arm64"', |
| 46 'gyp_defines': 'target_arch=arm64', |
| 47 }, |
| 48 |
| 49 'debug': { |
| 50 'gn_args': 'is_debug=true', |
| 51 }, |
| 52 |
| 53 'debug_bot': { |
| 54 'mixins': ['debug', 'shared', 'goma'], |
| 55 }, |
| 56 |
| 57 'device': { |
| 58 'gn': 'ios_enable_code_signing=false', |
| 59 'gyp_defines': 'chromium_ios_signing=0', |
| 60 }, |
| 61 |
| 62 'gn': {'type': 'gn'}, |
| 63 |
| 64 'goma': { |
| 65 # The MB code will properly escape goma_dir if necessary in the GYP |
| 66 # code path; the GN code path needs no escaping. |
| 67 'gn_args': 'use_goma=true goma_dir="$(goma_dir)"', |
| 68 'gyp_defines': 'use_goma=1 gomadir=$(goma_dir)', |
| 69 }, |
| 70 |
| 71 'gyp': {'type': 'gyp'}, |
| 72 |
| 73 'release': { |
| 74 'gn_args': 'is_debug=false', |
| 75 }, |
| 76 |
| 77 'release_bot': { |
| 78 'mixins': ['release', 'static', 'goma'], |
| 79 }, |
| 80 |
| 81 'shared': { |
| 82 'gn_args': 'is_component_build=true', |
| 83 'gyp_defines': 'component=shared_library', |
| 84 }, |
| 85 |
| 86 'static': { |
| 87 'gn_args': 'is_component_build=false', |
| 88 'gyp_defines': 'component=static_library', |
| 89 }, |
| 90 |
| 91 'x64': { |
| 92 'gn_args': 'target_cpu="x64"', |
| 93 'gyp_defines': 'target_arch=x64', |
| 94 }, |
| 95 |
| 96 'x86': { |
| 97 'gn_args': 'target_cpu="x86"', |
| 98 'gyp_defines': 'target_arch=ia32', |
| 99 }, |
| 100 }, |
| 101 |
| 102 # This is a map of buildbot master names -> buildbot builder names -> |
| 103 # config names (where each config name is a key in the 'configs' dict, |
| 104 # above). mb uses this dict to look up which config to use for a given bot. |
| 105 # The builders should be sorted by the order they appear in the /builders |
| 106 # page on the buildbots, *not* alphabetically. |
| 107 'masters': { |
| 108 'client.webrtc': { |
| 109 'iOS32 Debug': 'ios_gyp_debug_bot_arm_device', |
| 110 'iOS32 Release': 'ios_gyp_release_bot_arm_device', |
| 111 'iOS64 Debug': 'ios_gyp_debug_bot_arm64_device', |
| 112 'iOS64 Release': 'ios_gyp_release_bot_arm64_device', |
| 113 'iOS32 Debug Simulator': 'ios_gyp_debug_bot_x86', |
| 114 'iOS64 Debug Simulator': 'ios_gyp_debug_bot_x64', |
| 115 }, |
| 116 'client.webrtc.fyi': { |
| 117 'iOS64 Debug (GN)': 'ios_gn_debug_bot_arm64_device', |
| 118 'iOS64 Release (GN)': 'ios_gn_release_bot_arm64_device', |
| 119 }, |
| 120 'tryserver.webrtc': { |
| 121 'ios_dbg': 'ios_gyp_debug_bot_arm_device', |
| 122 'ios_rel': 'ios_gyp_release_bot_arm_device', |
| 123 'ios_arm64_dbg': 'ios_gyp_debug_bot_arm64_device', |
| 124 'ios_arm64_rel': 'ios_gyp_release_bot_arm64_device', |
| 125 'ios32_sim_dbg': 'ios_gyp_debug_bot_x86', |
| 126 'ios64_sim_dbg': 'ios_gyp_debug_bot_x64', |
| 127 'ios64_gn_dbg': 'ios_gn_debug_bot_arm64_device', |
| 128 'ios64_gn_rel': 'ios_gn_release_bot_arm64_device', |
| 129 }, |
| 130 }, |
| 131 |
| 132 # These lists are assumed to exist so we need them in order to be able to run |
| 133 # the mb.py script in PRESUBMIT.py to verify our config is sane. |
| 134 'common_dev_configs': [], |
| 135 'private_configs': [], |
| 136 'unsupported_configs': [], |
| 137 } |
| OLD | NEW |