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

Unified Diff: slave/skia_slave_scripts/flavor_utils/xsan_build_step_utils.py

Issue 648353002: Remove Skia's forked buildbot code (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Address comment Created 6 years, 2 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
Index: slave/skia_slave_scripts/flavor_utils/xsan_build_step_utils.py
diff --git a/slave/skia_slave_scripts/flavor_utils/xsan_build_step_utils.py b/slave/skia_slave_scripts/flavor_utils/xsan_build_step_utils.py
deleted file mode 100644
index 682426080a3cd3dff28ce120c51a535037475dd0..0000000000000000000000000000000000000000
--- a/slave/skia_slave_scripts/flavor_utils/xsan_build_step_utils.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2013 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.
-
-""" Utilities for ASAN,TSAN,etc. build steps. """
-
-from default_build_step_utils import DefaultBuildStepUtils
-from py.utils import shell_utils
-
-import os
-
-class XsanBuildStepUtils(DefaultBuildStepUtils):
- def Compile(self, target):
- # Run the xsan_build script.
- os.environ['GYP_DEFINES'] = self._step.args['gyp_defines']
- print 'GYP_DEFINES="%s"' % os.environ['GYP_DEFINES']
- cmd = [
- os.path.join('tools', 'xsan_build'),
- self._step.args['sanitizer'],
- target,
- 'BUILDTYPE=%s' % self._step.configuration,
- ]
-
- cmd.extend(self._step.default_make_flags)
- cmd.extend(self._step.make_flags)
- shell_utils.run(cmd)
-
- def RunFlavoredCmd(self, app, args):
- os.environ['ASAN_SYMBOLIZER_PATH'] = '/usr/bin/llvm-symbolizer-3.5'
- os.environ['ASAN_OPTIONS'] = 'symbolize=1 detect_leaks=1'
- os.environ['LSAN_OPTIONS'] = \
- 'symbolize=1 suppressions=tools/lsan.supp print_suppressions=1'
- os.environ['TSAN_OPTIONS'] = 'suppressions=tools/tsan.supp'
- return shell_utils.run([self._PathToBinary(app)] + args)
« no previous file with comments | « slave/skia_slave_scripts/flavor_utils/valgrind_build_step_utils.py ('k') | slave/skia_slave_scripts/generate_doxygen.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698