| Index: scripts/slave/recipe_modules/v8/api.py
|
| diff --git a/scripts/slave/recipe_modules/v8/api.py b/scripts/slave/recipe_modules/v8/api.py
|
| index 4a5d9218d16c024453c0f6856e6a6de87d503f82..15ca7b3d85f38cdbce96e80e839c386548c74741 100644
|
| --- a/scripts/slave/recipe_modules/v8/api.py
|
| +++ b/scripts/slave/recipe_modules/v8/api.py
|
| @@ -391,8 +391,17 @@ class V8Api(recipe_api.RecipeApi):
|
| self.upload_isolated_json()
|
|
|
| def compile(self, **kwargs):
|
| - if self.m.chromium.c.project_generator.tool == 'gn':
|
| - self.m.chromium.run_gn(use_goma=True)
|
| + if self.m.chromium.c.project_generator.tool == 'mb':
|
| + use_goma = (self.m.chromium.c.compile_py.compiler and
|
| + 'goma' in self.m.chromium.c.compile_py.compiler)
|
| + self.m.chromium.run_mb(
|
| + self.m.properties['mastername'],
|
| + self.m.properties['buildername'],
|
| + use_goma=use_goma,
|
| + mb_config_path=self.m.path['checkout'].join(
|
| + 'infra', 'mb', 'mb_config.pyl'),
|
| + gyp_script=self.m.path.join('gypfiles', 'gyp_v8'),
|
| + )
|
| self.m.chromium.compile(**kwargs)
|
| self.isolate_tests()
|
|
|
|
|