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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 match.append('~desk_yahoonews_0') | 163 match.append('~desk_yahoonews_0') |
164 | 164 |
165 if 'NexusPlayer' in bot: | 165 if 'NexusPlayer' in bot: |
166 match.append('~ResourceCache') | 166 match.append('~ResourceCache') |
167 | 167 |
168 if 'iOS' in bot: | 168 if 'iOS' in bot: |
169 match.append('~WritePixels') | 169 match.append('~WritePixels') |
170 | 170 |
171 if 'GalaxyS4' in bot: # skia:4079 | 171 if 'GalaxyS4' in bot: # skia:4079 |
172 match.append('~imagefiltersclipped') | 172 match.append('~imagefiltersclipped') |
| 173 match.append('~scaled_tilemodes_npot') |
173 | 174 |
174 if match: | 175 if match: |
175 args.append('--match') | 176 args.append('--match') |
176 args.extend(match) | 177 args.extend(match) |
177 | 178 |
178 return args | 179 return args |
179 cov_end = lineno() # Don't care about code coverage past here. | 180 cov_end = lineno() # Don't care about code coverage past here. |
180 | 181 |
181 | 182 |
182 def self_test(): | 183 def self_test(): |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 218 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
218 self_test() | 219 self_test() |
219 sys.exit(0) | 220 sys.exit(0) |
220 | 221 |
221 if len(sys.argv) != 3: | 222 if len(sys.argv) != 3: |
222 print usage | 223 print usage |
223 sys.exit(1) | 224 sys.exit(1) |
224 | 225 |
225 with open(sys.argv[1], 'w') as out: | 226 with open(sys.argv[1], 'w') as out: |
226 json.dump(get_args(sys.argv[2]), out) | 227 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |