| 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 | |
| 6 from buildbot.process.properties import WithProperties | |
| 7 from factory import SkiaFactory | |
| 8 | |
| 9 | |
| 10 class NaClFactory(SkiaFactory): | |
| 11 """ Subclass of Factory which runs in Native Client. """ | |
| 12 | |
| 13 def __init__(self, **kwargs): | |
| 14 """ Instantiates a NaClFactory with properties and build steps specific to | |
| 15 Native Client builds. """ | |
| 16 SkiaFactory.__init__(self, flavor='nacl', | |
| 17 build_targets=['skia_lib', 'debugger'], | |
| 18 **kwargs) | |
| 19 self._common_args += ['--nacl_sdk_root', | |
| 20 WithProperties('%(nacl_sdk_root)s')] | |
| OLD | NEW |