OLD | NEW |
| (Empty) |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 from skia_master_scripts import factory as skia_factory | |
6 | |
7 class XsanFactory(skia_factory.SkiaFactory): | |
8 def __init__(self, sanitizer, **kwargs): | |
9 """ Sets up a factory for builds using one of Clang's sanitizer modes. | |
10 | |
11 sanitizer: name of the sanitizer to use (e.g. address, thread, undefined) | |
12 """ | |
13 skia_factory.SkiaFactory.__init__(self, flavor='xsan', **kwargs) | |
14 self._common_args += ['--sanitizer', sanitizer] | |
15 | |
OLD | NEW |