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

Unified Diff: infra/bots/recipe_modules/flavor/valgrind_flavor.py

Issue 2198173002: Re-organize Skia recipes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix missing dependency Created 4 years, 4 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 | « infra/bots/recipe_modules/flavor/pdfium_flavor.py ('k') | infra/bots/recipe_modules/flavor/xsan_flavor.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/recipe_modules/flavor/valgrind_flavor.py
diff --git a/infra/bots/recipe_modules/skia/valgrind_flavor.py b/infra/bots/recipe_modules/flavor/valgrind_flavor.py
similarity index 71%
rename from infra/bots/recipe_modules/skia/valgrind_flavor.py
rename to infra/bots/recipe_modules/flavor/valgrind_flavor.py
index 2c00566436516b0a0a6518f000951574dc39f263..2dea3e7ab4777db448188b537528374d417fbbca 100644
--- a/infra/bots/recipe_modules/skia/valgrind_flavor.py
+++ b/infra/bots/recipe_modules/flavor/valgrind_flavor.py
@@ -10,9 +10,9 @@ import default_flavor
class ValgrindFlavorUtils(default_flavor.DefaultFlavorUtils):
- def __init__(self, *args, **kwargs):
- super(ValgrindFlavorUtils, self).__init__(*args, **kwargs)
- self._suppressions_file = self._skia_api.skia_dir.join(
+ def __init__(self, m):
+ super(ValgrindFlavorUtils, self).__init__(m)
+ self._suppressions_file = self.m.vars.skia_dir.join(
'tools', 'valgrind.supp')
def step(self, name, cmd, **kwargs):
@@ -22,6 +22,6 @@ class ValgrindFlavorUtils(default_flavor.DefaultFlavorUtils):
path_to_app = self.out_dir.join(cmd[0])
new_cmd.append(path_to_app)
new_cmd.extend(cmd[1:])
- return self._skia_api.run(self._skia_api.m.step, name, cmd=new_cmd,
- **kwargs)
+ return self.m.run(self.m.step, name, cmd=new_cmd,
+ **kwargs)
« no previous file with comments | « infra/bots/recipe_modules/flavor/pdfium_flavor.py ('k') | infra/bots/recipe_modules/flavor/xsan_flavor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698