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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 if 'GalaxyS3' in bot: # skia:1699 | 181 if 'GalaxyS3' in bot: # skia:1699 |
182 match.append('~WritePixels') | 182 match.append('~WritePixels') |
183 | 183 |
184 if 'AndroidOne' in bot: # skia:4711 | 184 if 'AndroidOne' in bot: # skia:4711 |
185 match.append('~WritePixels') | 185 match.append('~WritePixels') |
186 | 186 |
187 if 'NexusPlayer' in bot: | 187 if 'NexusPlayer' in bot: |
188 match.append('~ResourceCache') | 188 match.append('~ResourceCache') |
189 | 189 |
190 if 'iOS' in bot: | |
191 match.append('~WritePixels') | |
192 | |
193 if 'GalaxyS4' in bot: # skia:4079 | 190 if 'GalaxyS4' in bot: # skia:4079 |
194 match.append('~imagefiltersclipped') | 191 match.append('~imagefiltersclipped') |
195 match.append('~imagefilterscropexpand') | 192 match.append('~imagefilterscropexpand') |
196 match.append('~scaled_tilemodes_npot') | 193 match.append('~scaled_tilemodes_npot') |
197 match.append('~bleed_image') # skia:4367 | 194 match.append('~bleed_image') # skia:4367 |
198 match.append('~ReadPixels') # skia:4368 | 195 match.append('~ReadPixels') # skia:4368 |
199 | 196 |
200 if match: | 197 if match: |
201 args.append('--match') | 198 args.append('--match') |
202 args.extend(match) | 199 args.extend(match) |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 242 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
246 self_test() | 243 self_test() |
247 sys.exit(0) | 244 sys.exit(0) |
248 | 245 |
249 if len(sys.argv) != 3: | 246 if len(sys.argv) != 3: |
250 print usage | 247 print usage |
251 sys.exit(1) | 248 sys.exit(1) |
252 | 249 |
253 with open(sys.argv[1], 'w') as out: | 250 with open(sys.argv[1], 'w') as out: |
254 json.dump(get_args(sys.argv[2]), out) | 251 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |