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

Side by Side Diff: scripts/slave/recipe_modules/skia/api.py

Issue 1951843002: Skia: Add --colorImages to DM (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | scripts/slave/recipes/skia/skia.expected/Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 import json 6 import json
7 import os 7 import os
8 import re 8 import re
9 import sys 9 import sys
10 10
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 'patchset', self.m.properties['patchset'], 705 'patchset', self.m.properties['patchset'],
706 ]) 706 ])
707 707
708 args = [ 708 args = [
709 'dm', 709 'dm',
710 '--undefok', # This helps branches that may not know new flags. 710 '--undefok', # This helps branches that may not know new flags.
711 '--resourcePath', self.device_dirs.resource_dir, 711 '--resourcePath', self.device_dirs.resource_dir,
712 '--skps', self.device_dirs.skp_dir, 712 '--skps', self.device_dirs.skp_dir,
713 '--images', self.flavor.device_path_join( 713 '--images', self.flavor.device_path_join(
714 self.device_dirs.images_dir, 'dm'), 714 self.device_dirs.images_dir, 'dm'),
715 '--colorImages', self.flavor.device_path_join(
716 self.device_dirs.images_dir, 'colorspace'),
borenet 2016/05/04 12:09:55 I have a couple of concerns: 1. This will break fo
scroggo 2016/05/04 12:50:32 Isn't this a more general problem any time we add
borenet 2016/05/04 12:56:16 Yeah, it's a general problem. I just feel I need
715 '--nameByHash', 717 '--nameByHash',
716 '--properties' 718 '--properties'
717 ] + properties 719 ] + properties
718 720
719 args.append('--key') 721 args.append('--key')
720 args.extend(self._KeyParams()) 722 args.extend(self._KeyParams())
721 if use_hash_file: 723 if use_hash_file:
722 args.extend(['--uninterestingHashesFile', hashes_file]) 724 args.extend(['--uninterestingHashesFile', hashes_file])
723 if self.upload_dm_results: 725 if self.upload_dm_results:
724 args.extend(['--writePath', self.device_dirs.dm_dir]) 726 args.extend(['--writePath', self.device_dirs.dm_dir])
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 # Don't bother to include role, which is always Test. 890 # Don't bother to include role, which is always Test.
889 # TryBots are uploaded elsewhere so they can use the same key. 891 # TryBots are uploaded elsewhere so they can use the same key.
890 blacklist = ['role', 'is_trybot'] 892 blacklist = ['role', 'is_trybot']
891 893
892 flat = [] 894 flat = []
893 for k in sorted(self.builder_cfg.keys()): 895 for k in sorted(self.builder_cfg.keys()):
894 if k not in blacklist: 896 if k not in blacklist:
895 flat.append(k) 897 flat.append(k)
896 flat.append(self.builder_cfg[k]) 898 flat.append(self.builder_cfg[k])
897 return flat 899 return flat
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/skia/skia.expected/Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698