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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 'NexusPlayer' not in bot and | 56 'NexusPlayer' not in bot and |
57 'Tegra3' not in bot and | 57 'Tegra3' not in bot and |
58 'iOS' not in bot): | 58 'iOS' not in bot): |
59 if 'Android' in bot: | 59 if 'Android' in bot: |
60 configs.append('msaa4') | 60 configs.append('msaa4') |
61 else: | 61 else: |
62 configs.append('msaa16') | 62 configs.append('msaa16') |
63 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. | 63 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. |
64 if 'Android' not in bot and 'Daisy' not in bot: | 64 if 'Android' not in bot and 'Daisy' not in bot: |
65 configs.append('pdf') | 65 configs.append('pdf') |
66 configs.append('pdf_poppler') | |
67 | 66 |
68 # NP is running out of RAM when we run all these modes. skia:3255 | 67 # NP is running out of RAM when we run all these modes. skia:3255 |
69 if 'NexusPlayer' not in bot: | 68 if 'NexusPlayer' not in bot: |
70 configs.extend(mode + '-8888' for mode in | 69 configs.extend(mode + '-8888' for mode in |
71 ['serialize', 'tiles_rt', 'pic']) | 70 ['serialize', 'tiles_rt', 'pic']) |
72 | 71 |
73 if 'ANGLE' in bot: | 72 if 'ANGLE' in bot: |
74 configs.append('angle') | 73 configs.append('angle') |
75 | 74 |
76 # We want to run gpudft on atleast the mali 400 | 75 # We want to run gpudft on atleast the mali 400 |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 285 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
287 self_test() | 286 self_test() |
288 sys.exit(0) | 287 sys.exit(0) |
289 | 288 |
290 if len(sys.argv) != 3: | 289 if len(sys.argv) != 3: |
291 print usage | 290 print usage |
292 sys.exit(1) | 291 sys.exit(1) |
293 | 292 |
294 with open(sys.argv[1], 'w') as out: | 293 with open(sys.argv[1], 'w') as out: |
295 json.dump(get_args(sys.argv[2]), out) | 294 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |