Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: tools/dm_flags.py

Issue 1852713002: DM/PDF: stop adding unused rasterizer keywords (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/dm_flags.json ('k') | tools/flags/SkCommonFlagsConfig.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « tools/dm_flags.json ('k') | tools/flags/SkCommonFlagsConfig.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698