OLD | NEW |
1 # | 1 # |
2 # Copyright 2015 Google Inc. | 2 # Copyright 2015 Google Inc. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 # | 6 # |
7 | 7 |
8 #!/usr/bin/env python | 8 #!/usr/bin/env python |
9 | 9 |
10 usage = ''' | 10 usage = ''' |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 'NexusPlayer' not in bot and | 50 'NexusPlayer' not in bot and |
51 'Tegra3' not in bot and | 51 'Tegra3' not in bot and |
52 'iOS' not in bot): | 52 'iOS' not in bot): |
53 if 'Android' in bot: | 53 if 'Android' in bot: |
54 configs.append('msaa4') | 54 configs.append('msaa4') |
55 else: | 55 else: |
56 configs.append('msaa16') | 56 configs.append('msaa16') |
57 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. | 57 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. |
58 if 'Android' not in bot and 'Daisy' not in bot: | 58 if 'Android' not in bot and 'Daisy' not in bot: |
59 configs.append('pdf') | 59 configs.append('pdf') |
| 60 configs.append('pdf_poppler') |
60 | 61 |
61 # NP is running out of RAM when we run all these modes. skia:3255 | 62 # NP is running out of RAM when we run all these modes. skia:3255 |
62 if 'NexusPlayer' not in bot: | 63 if 'NexusPlayer' not in bot: |
63 configs.extend(mode + '-8888' for mode in | 64 configs.extend(mode + '-8888' for mode in |
64 ['serialize', 'tiles_rt', 'pipe']) | 65 ['serialize', 'tiles_rt', 'pipe']) |
65 | 66 |
66 if 'ANGLE' in bot: | 67 if 'ANGLE' in bot: |
67 configs.append('angle') | 68 configs.append('angle') |
68 args.append('--config') | 69 args.append('--config') |
69 args.extend(configs) | 70 args.extend(configs) |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 221 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
221 self_test() | 222 self_test() |
222 sys.exit(0) | 223 sys.exit(0) |
223 | 224 |
224 if len(sys.argv) != 3: | 225 if len(sys.argv) != 3: |
225 print usage | 226 print usage |
226 sys.exit(1) | 227 sys.exit(1) |
227 | 228 |
228 with open(sys.argv[1], 'w') as out: | 229 with open(sys.argv[1], 'w') as out: |
229 json.dump(get_args(sys.argv[2]), out) | 230 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |