Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: scripts/slave/recipe_modules/v8/api.py

Issue 2048333002: V8: Run MB on staging bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/recipe_modules/chromium/api.py ('k') | scripts/slave/recipe_modules/v8/builders.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « scripts/slave/recipe_modules/chromium/api.py ('k') | scripts/slave/recipe_modules/v8/builders.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698