Lines Matching refs:builder_dict
41 def gyp_defines(builder_dict): argument
45 if builder_dict['role'] == builder_name_schema.BUILDER_ROLE_BUILD:
46 arch = builder_dict['target_arch']
47 elif builder_dict['role'] == builder_name_schema.BUILDER_ROLE_HOUSEKEEPER:
50 arch = builder_dict['arch']
65 if builder_dict['role'] == builder_name_schema.BUILDER_ROLE_HOUSEKEEPER:
69 if builder_dict.get('cpu_or_gpu') == 'CPU':
74 if builder_dict['role'] == builder_name_schema.BUILDER_ROLE_BUILD:
75 if 'Win' in builder_dict.get('os', ''):
76 if not ('GDI' in builder_dict.get('extra_config', '') or
77 'Exceptions' in builder_dict.get('extra_config', '')):
79 elif ('Mac' in builder_dict.get('os', '') and
80 'Android' in builder_dict.get('extra_config', '')):
87 if 'Win' in builder_dict.get('os', ''):
91 if 'Win' in builder_dict.get('os', ''):
92 if builder_dict.get('os') == 'Win8':
98 if builder_dict.get('extra_config') == 'ANGLE':
100 if builder_dict.get('os', '') in ('Ubuntu', 'Linux'):
105 if builder_dict.get('extra_config') == 'GDI':
109 if ('Win' in builder_dict.get('os', '') and
110 builder_dict.get('extra_config') == 'Exceptions'):
114 if (builder_dict.get('os') == 'iOS' or
115 builder_dict.get('extra_config') == 'iOS'):
119 if builder_dict.get('extra_config') == 'Shared':
123 if builder_dict.get('extra_config') == 'Fast':
127 if (builder_dict.get('os') == 'Mac10.8' and
128 builder_dict.get('arch') == 'x86_64' and
129 builder_dict.get('configuration') == 'Release'):
133 if builder_dict.get('compiler') == 'Clang':
137 if 'Valgrind' in builder_dict.get('extra_config', ''):
141 if (builder_dict.get('role') == builder_name_schema.BUILDER_ROLE_BUILD and
142 builder_dict.get('compiler') == 'MSVC'):
146 if (builder_dict.get('extra_config') == 'Mesa' or
147 builder_dict.get('cpu_or_gpu_value') == 'Mesa'):
151 if builder_dict.get('extra_config') == 'VisualBench':
155 if builder_dict.get('extra_config') == 'Android_FrameworkDefs':
159 if (builder_dict.get('cpu_or_gpu') == 'GPU' and
160 builder_dict.get('role') == 'Perf'):
167 def get_extra_env_vars(builder_dict): argument
169 if builder_dict.get('configuration') == 'Coverage':
174 elif builder_dict.get('compiler') == 'Clang':
179 extra_config = builder_dict.get('extra_config', '')
187 def build_targets_from_builder_dict(builder_dict, do_test_steps, do_perf_steps): argument
189 if builder_dict['role'] in ('Test', 'Perf') and builder_dict['os'] == 'iOS':
191 if builder_dict.get('extra_config') == 'Appurify':
196 if do_perf_steps and builder_dict.get('extra_config') == 'VisualBench':
207 def device_cfg(builder_dict): argument
209 if 'Android' in builder_dict.get('extra_config', ''):
210 if 'NoNeon' in builder_dict['extra_config']:
219 }.get(builder_dict['target_arch'], 'arm_v7_neon')
220 elif builder_dict.get('os') == 'Android':
232 }[builder_dict['model']]
235 if 'CrOS' in builder_dict.get('extra_config', ''):
236 if 'Link' in builder_dict['extra_config']:
238 if 'Daisy' in builder_dict['extra_config']:
240 elif builder_dict.get('os') == 'ChromeOS':
244 }[builder_dict['model']]
251 builder_dict = builder_name_schema.DictForBuilderName(builder_name)
252 env = get_extra_env_vars(builder_dict)
253 gyp_defs = gyp_defines(builder_dict)
258 'builder_cfg': builder_dict,
263 device = device_cfg(builder_dict)
267 role = builder_dict['role']
271 configuration = builder_dict.get(
273 arch = (builder_dict.get('arch') or builder_dict.get('target_arch'))
274 if ('Win' in builder_dict.get('os', '') and arch == 'x86_64'):
287 builder_dict, rv['do_test_steps'], rv['do_perf_steps'])