| OLD | NEW |
| 1 # Copyright 2016 The V8 project authors. All rights reserved. | 1 # Copyright 2016 The V8 project 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 { | 5 { |
| 6 # This is a map of buildbot master names -> buildbot builder names -> | 6 # This is a map of buildbot master names -> buildbot builder names -> |
| 7 # config names (where each config name is a key in the 'configs' dict, | 7 # config names (where each config name is a key in the 'configs' dict, |
| 8 # below). MB uses this dict to look up which config to use for a given bot. | 8 # below). MB uses this dict to look up which config to use for a given bot. |
| 9 'masters': { | 9 'masters': { |
| 10 'client.v8': { | 10 'client.v8': { |
| 11 'V8 Linux - swarming staging': 'gn_swarming_release', | 11 'V8 Linux - swarming staging': 'gn_swarming_release', |
| 12 }, | 12 }, |
| 13 }, | 13 }, |
| 14 | 14 |
| 15 'configs': { | 15 'configs': { |
| 16 'gyp_swarming_release': [ | 16 'gyp_swarming_release': [ |
| 17 'release_bot', 'swarming_bot', 'gyp'], | 17 'release_bot', 'swarming', 'gyp'], |
| 18 'gn_swarming_release': [ | 18 'gn_swarming_release': [ |
| 19 'release_bot', 'swarming_bot', 'gn'], | 19 'release_bot', 'swarming', 'gn'], |
| 20 }, | 20 }, |
| 21 | 21 |
| 22 'mixins': { | 22 'mixins': { |
| 23 'debug': { | 23 'debug': { |
| 24 'gn_args': 'is_debug=true', | 24 'gn_args': 'is_debug=true', |
| 25 }, | 25 }, |
| 26 | 26 |
| 27 'debug_bot': { | 27 'debug_bot': { |
| 28 'mixins': ['debug', 'static', 'goma'], | 28 'mixins': ['debug', 'static', 'goma'], |
| 29 }, | 29 }, |
| 30 | 30 |
| 31 'gn': {'type': 'gn'}, | 31 'gn': {'type': 'gn'}, |
| 32 | 32 |
| 33 'goma': { | 33 'goma': { |
| 34 # The MB code will properly escape goma_dir if necessary in the GYP | 34 # The MB code will properly escape goma_dir if necessary in the GYP |
| 35 # code path; the GN code path needs no escaping. | 35 # code path; the GN code path needs no escaping. |
| 36 'gn_args': 'use_goma=true', | 36 'gn_args': 'use_goma=true', |
| 37 'gyp_defines': 'use_goma=1', | 37 'gyp_defines': 'use_goma=1', |
| 38 }, | 38 }, |
| 39 | 39 |
| 40 'gyp': {'type': 'gyp'}, | 40 'gyp': {'type': 'gyp'}, |
| 41 | 41 |
| 42 # TODO(machenbach): Remove the following two configs, once the v8 default | |
| 43 # has changed. | |
| 44 'no_sysroot': { | |
| 45 'gn_args': 'use_sysroot=false', | |
| 46 }, | |
| 47 | |
| 48 'no_icu_data_file': { | |
| 49 'gn_args': 'icu_use_data_file=false', | |
| 50 }, | |
| 51 | |
| 52 'release': { | 42 'release': { |
| 53 'gn_args': 'is_debug=false', | 43 'gn_args': 'is_debug=false', |
| 54 }, | 44 }, |
| 55 | 45 |
| 56 'release_bot': { | 46 'release_bot': { |
| 57 'mixins': ['release', 'static', 'goma'], | 47 'mixins': ['release', 'static', 'goma'], |
| 58 }, | 48 }, |
| 59 | 49 |
| 60 'shared': { | 50 'shared': { |
| 61 'gn_args': 'is_component_build=true', | 51 'gn_args': 'is_component_build=true', |
| 62 'gyp_defines': 'component=shared_library', | 52 'gyp_defines': 'component=shared_library', |
| 63 }, | 53 }, |
| 64 | 54 |
| 65 'static': { | 55 'static': { |
| 66 'gn_args': 'is_component_build=false', | 56 'gn_args': 'is_component_build=false', |
| 67 'gyp_defines': 'component=static_library', | 57 'gyp_defines': 'component=static_library', |
| 68 }, | 58 }, |
| 69 | 59 |
| 70 'swarming': { | 60 'swarming': { |
| 71 'gn_args': 'v8_test_isolation_mode="prepare"', | 61 'gn_args': 'v8_test_isolation_mode="prepare"', |
| 72 'gyp_defines': 'test_isolation_mode=prepare', | 62 'gyp_defines': 'test_isolation_mode=prepare', |
| 73 }, | 63 }, |
| 74 | |
| 75 'swarming_bot': { | |
| 76 'mixins': ['swarming', 'no_sysroot', 'no_icu_data_file'], | |
| 77 }, | |
| 78 }, | 64 }, |
| 79 } | 65 } |
| OLD | NEW |