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

Side by Side Diff: tools/flags/SkCommonFlags.cpp

Issue 2077353006: Fix Mac clang linker (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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/flags/SkCommonFlags.h ('k') | no next file » | 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 2014 Google Inc. 2 * Copyright 2014 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 #include "SkCommonFlags.h" 8 #include "SkCommonFlags.h"
9 #include "SkOSFile.h" 9 #include "SkOSFile.h"
10 10
11 DEFINE_bool(cpu, true, "master switch for running CPU-bound work."); 11 DEFINE_bool(cpu, true, "master switch for running CPU-bound work.");
12 12
13 DEFINE_bool(dryRun, false, 13 DEFINE_bool(dryRun, false,
14 "just print the tests that would be run, without actually running th em."); 14 "just print the tests that would be run, without actually running th em.");
15 15
16 DEFINE_bool(gpu, true, "master switch for running GPU-bound work."); 16 DEFINE_bool(gpu, true, "master switch for running GPU-bound work.");
17 17
18 DEFINE_string(images, "", "List of images and/or directories to decode. A direct ory with no images" 18 DEFINE_string(images, "", "List of images and/or directories to decode. A direct ory with no images"
19 " is treated as a fatal error."); 19 " is treated as a fatal error.");
20 20
21 DEFINE_string(colorImages, "", "List of images and/or directories to decode with color correction. " 21 DEFINE_string(colorImages, "", "List of images and/or directories to decode with color correction. "
22 "A directory with no images is treated as a fatal error."); 22 "A directory with no images is treated as a fatal error.");
23 23
24 DEFINE_bool(simpleCodec, false, "Runs of a subset of the codec tests.");
scroggo 2016/06/21 16:16:18 nit: might be nice to specify the subset.
msarett 2016/06/21 16:27:17 Done.
25
24 DEFINE_string2(match, m, nullptr, 26 DEFINE_string2(match, m, nullptr,
25 "[~][^]substring[$] [...] of GM name to run.\n" 27 "[~][^]substring[$] [...] of GM name to run.\n"
26 "Multiple matches may be separated by spaces.\n" 28 "Multiple matches may be separated by spaces.\n"
27 "~ causes a matching GM to always be skipped\n" 29 "~ causes a matching GM to always be skipped\n"
28 "^ requires the start of the GM to match\n" 30 "^ requires the start of the GM to match\n"
29 "$ requires the end of the GM to match\n" 31 "$ requires the end of the GM to match\n"
30 "^ and $ requires an exact match\n" 32 "^ and $ requires an exact match\n"
31 "If a GM does not match any list entry,\n" 33 "If a GM does not match any list entry,\n"
32 "it is skipped unless some list entry starts with ~"); 34 "it is skipped unless some list entry starts with ~");
33 35
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 SkDebugf("No supported images found in %s!\n", flag); 94 SkDebugf("No supported images found in %s!\n", flag);
93 return false; 95 return false;
94 } 96 }
95 } else { 97 } else {
96 // Also add the value if it is a single image 98 // Also add the value if it is a single image
97 output->push_back() = flag; 99 output->push_back() = flag;
98 } 100 }
99 } 101 }
100 return true; 102 return true;
101 } 103 }
OLDNEW
« no previous file with comments | « tools/flags/SkCommonFlags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698