OLD | NEW |
| (Empty) |
1 #!/usr/bin/env python | |
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
3 # Use of this source code is governed by a BSD-style license that can be | |
4 # found in the LICENSE file. | |
5 | |
6 | |
7 """ Run the Skia render_pdfs executable. """ | |
8 | |
9 | |
10 from build_step import BuildStep | |
11 import sys | |
12 | |
13 class RenderPdfs(BuildStep): | |
14 def _Run(self): | |
15 args = ['--inputPaths', self._device_dirs.SKPDir()] | |
16 if 'Xoom' in self._builder_name: | |
17 # On the Xoom, these SKPs usually make render_pdfs run out of memory. | |
18 args.extend(['--match', '~tabl_mozilla', '~tabl_nytimes']) | |
19 self._flavor_utils.RunFlavoredCmd('render_pdfs', args) | |
20 | |
21 | |
22 if '__main__' == __name__: | |
23 sys.exit(BuildStep.RunBuildStep(RenderPdfs)) | |
OLD | NEW |