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 # Bots are ordered by appearance on waterfall. | |
9 'masters': { | 10 'masters': { |
10 'client.v8': { | 11 'client.v8': { |
11 'V8 Linux - swarming staging': 'gn_swarming_release', | 12 # Linux64. |
13 'V8 Linux64 - builder': 'gyp_release_x64', | |
14 'V8 Linux64 - debug builder': 'gyp_debug_valgrind_x64', | |
15 'V8 Linux64 - custom snapshot - debug builder': 'gyp_debug_custom_x64', | |
16 'V8 Linux64 - internal snapshot': 'gyp_release_internal_x64', | |
17 # FYI. | |
18 'V8 Linux - swarming staging': 'gn_release_x64', | |
19 }, | |
20 'tryserver.v8': { | |
21 'v8_linux64_rel_ng': 'gyp_release_x64_trybot', | |
22 'v8_linux64_avx2_rel_ng': 'gyp_release_x64_trybot', | |
23 'v8_linux64_avx2_dbg': 'gyp_debug_x64_trybot', | |
12 }, | 24 }, |
13 }, | 25 }, |
14 | 26 |
15 'configs': { | 27 'configs': { |
16 'gyp_swarming_release': [ | 28 'gyp_debug_custom_x64': [ |
17 'release_bot', 'swarming', 'gyp'], | 29 'gyp', 'debug_bot', 'swarming', 'v8_snapshot_custom', 'x64'], |
18 'gn_swarming_release': [ | 30 'gyp_debug_valgrind_x64': [ |
19 'release_bot', 'swarming', 'gn'], | 31 'gyp', 'debug_bot', 'swarming', 'valgrind', 'x64'], |
32 'gyp_debug_x64_trybot': [ | |
33 'gyp', 'debug_trybot', 'swarming', 'x64'], | |
34 'gyp_release_x64': [ | |
35 'gyp', 'release_bot', 'swarming', 'x64'], | |
36 'gyp_release_x64_trybot': [ | |
37 'gyp', 'release_trybot', 'swarming', 'x64'], | |
38 'gyp_release_internal_x64': [ | |
39 'gyp', 'release_bot', 'swarming', 'v8_snapshot_internal', 'x64'], | |
40 'gn_release_x64': [ | |
41 'gn', 'release_bot', 'swarming', 'x64'], | |
20 }, | 42 }, |
21 | 43 |
22 'mixins': { | 44 'mixins': { |
45 'dcheck_always_on': { | |
46 'gn_args': 'dcheck_always_on=true', | |
47 'gyp_defines': 'dcheck_always_on=1', | |
48 }, | |
49 | |
23 'debug': { | 50 'debug': { |
51 'gyp_defines': 'v8_enable_slow_dchecks=1 v8_optimized_debug=1', | |
24 'gn_args': 'is_debug=true', | 52 'gn_args': 'is_debug=true', |
25 }, | 53 }, |
26 | 54 |
27 'debug_bot': { | 55 'debug_bot': { |
28 'mixins': ['debug', 'static', 'goma'], | 56 'mixins': [ |
57 'debug', 'static', 'goma', 'v8_enable_slow_dchecks', | |
kjellander_chromium
2016/06/16 12:45:38
I thought the default way was static for Release a
Michael Achenbach
2016/06/16 12:53:13
We use static everywhere unless specified otherwis
| |
58 'v8_optimized_debug'], | |
59 }, | |
60 | |
61 'debug_trybot': { | |
62 'mixins': ['debug_bot', 'minimal_symbols'], | |
29 }, | 63 }, |
30 | 64 |
31 'gn': {'type': 'gn'}, | 65 'gn': {'type': 'gn'}, |
32 | 66 |
33 'goma': { | 67 'goma': { |
34 # The MB code will properly escape goma_dir if necessary in the GYP | 68 # The MB code will properly escape goma_dir if necessary in the GYP |
35 # code path; the GN code path needs no escaping. | 69 # code path; the GN code path needs no escaping. |
36 'gn_args': 'use_goma=true', | 70 'gn_args': 'use_goma=true', |
37 'gyp_defines': 'use_goma=1', | 71 'gyp_defines': 'use_goma=1', |
38 }, | 72 }, |
39 | 73 |
40 'gyp': {'type': 'gyp'}, | 74 'gyp': {'type': 'gyp'}, |
41 | 75 |
76 'minimal_symbols': { | |
77 'gn_args': 'symbol_level=1', | |
78 'gyp_defines': 'fastbuild=1', | |
79 }, | |
80 | |
42 'release': { | 81 'release': { |
43 'gn_args': 'is_debug=false', | 82 'gn_args': 'is_debug=false', |
44 }, | 83 }, |
45 | 84 |
46 'release_bot': { | 85 'release_bot': { |
47 'mixins': ['release', 'static', 'goma'], | 86 'mixins': ['release', 'static', 'goma'], |
48 }, | 87 }, |
49 | 88 |
89 'release_trybot': { | |
90 'mixins': ['release_bot', 'minimal_symbols', 'dcheck_always_on'], | |
91 }, | |
92 | |
50 'shared': { | 93 'shared': { |
51 'gn_args': 'is_component_build=true', | 94 'gn_args': 'is_component_build=true', |
52 'gyp_defines': 'component=shared_library', | 95 'gyp_defines': 'component=shared_library', |
53 }, | 96 }, |
54 | 97 |
55 'static': { | 98 'static': { |
56 'gn_args': 'is_component_build=false', | 99 'gn_args': 'is_component_build=false', |
57 'gyp_defines': 'component=static_library', | 100 'gyp_defines': 'component=static_library', |
58 }, | 101 }, |
59 | 102 |
60 'swarming': { | 103 'swarming': { |
61 'gn_args': 'v8_test_isolation_mode="prepare"', | 104 'gn_args': 'v8_test_isolation_mode="prepare"', |
62 'gyp_defines': 'test_isolation_mode=prepare', | 105 'gyp_defines': 'test_isolation_mode=prepare', |
63 }, | 106 }, |
107 | |
108 'valgrind': { | |
109 # TODO(machenbach): Add this to gn. | |
kjellander_chromium
2016/06/16 12:45:38
What do you mean with this TODO?
Michael Achenbach
2016/06/16 12:53:13
There is no has_valgrind gn arg yet. We'll need it
kjellander_chromium
2016/06/17 07:22:37
OK. Be aware that GN will throw an error if you tr
| |
110 'gn_args': 'has_valgrind=true', | |
111 'gyp_defines': 'has_valgrind=1', | |
112 }, | |
113 | |
114 'v8_enable_slow_dchecks': { | |
115 'gn_args': v8_enable_slow_dchecks=true', | |
116 'gyp_defines': 'v8_enable_slow_dchecks=1', | |
117 }, | |
118 | |
119 'v8_optimized_debug': { | |
120 # This is the default in gn for debug. | |
121 'gyp_defines': 'v8_optimized_debug=1', | |
122 }, | |
123 | |
124 'v8_snapshot_custom': { | |
125 # TODO(machenbach): Add this to gn. | |
126 # Path needs to be relative to src/v8.gyp. | |
127 'gyp_defines': 'embed_script=../test/mjsunit/mjsunit.js', | |
128 }, | |
129 | |
130 'v8_snapshot_internal': { | |
131 'gn_args': 'v8_use_external_startup_data=false', | |
132 'gyp_defines': 'v8_use_external_startup_data=0', | |
133 }, | |
134 | |
135 'x64': { | |
136 'gn_args': 'target_cpu="x64"', | |
137 'gyp_defines': 'target_arch=x64', | |
138 }, | |
139 | |
140 'x86': { | |
141 'gn_args': 'target_cpu="x86"', | |
142 'gyp_defines': 'target_arch=ia32', | |
143 }, | |
64 }, | 144 }, |
65 } | 145 } |
OLD | NEW |