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

Unified Diff: infra/bots/recipe_modules/skia/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/skia/ssh_devices.py ('k') | infra/bots/recipe_modules/skia/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/skia/valgrind_flavor.py
diff --git a/infra/bots/recipe_modules/skia/valgrind_flavor.py b/infra/bots/recipe_modules/skia/valgrind_flavor.py
deleted file mode 100644
index 2c00566436516b0a0a6518f000951574dc39f263..0000000000000000000000000000000000000000
--- a/infra/bots/recipe_modules/skia/valgrind_flavor.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-
-import default_flavor
-
-
-"""Utils for running under Valgrind."""
-
-
-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(
- 'tools', 'valgrind.supp')
-
- def step(self, name, cmd, **kwargs):
- new_cmd = ['valgrind', '--gen-suppressions=all', '--leak-check=full',
- '--track-origins=yes', '--error-exitcode=1', '--num-callers=40',
- '--suppressions=%s' % self._suppressions_file]
- 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)
-
« no previous file with comments | « infra/bots/recipe_modules/skia/ssh_devices.py ('k') | infra/bots/recipe_modules/skia/xsan_flavor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698