OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "CrashHandler.h" | 8 #include "CrashHandler.h" |
9 #include "OverwriteLine.h" | 9 #include "OverwriteLine.h" |
10 #include "Resources.h" | 10 #include "Resources.h" |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 header.appendf(" --resourcePath %s", resourcePath.c_str()); | 164 header.appendf(" --resourcePath %s", resourcePath.c_str()); |
165 } | 165 } |
166 #if DEBUG_COIN | 166 #if DEBUG_COIN |
167 if (FLAGS_coinTest) { | 167 if (FLAGS_coinTest) { |
168 header.appendf(" -c"); | 168 header.appendf(" -c"); |
169 } | 169 } |
170 #endif | 170 #endif |
171 if (FLAGS_dumpOp) { | 171 if (FLAGS_dumpOp) { |
172 header.appendf(" -d"); | 172 header.appendf(" -d"); |
173 } | 173 } |
174 #if SK_DEBUG | 174 #ifdef SK_DEBUG |
175 if (FLAGS_runFail) { | 175 if (FLAGS_runFail) { |
176 header.appendf(" -f"); | 176 header.appendf(" -f"); |
177 } | 177 } |
178 #endif | 178 #endif |
179 if (FLAGS_verbose) { | 179 if (FLAGS_verbose) { |
180 header.appendf(" -v"); | 180 header.appendf(" -v"); |
181 } | 181 } |
182 if (FLAGS_veryVerbose) { | 182 if (FLAGS_veryVerbose) { |
183 header.appendf(" -V"); | 183 header.appendf(" -V"); |
184 } | 184 } |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 | 268 |
269 return (status.failCount() == 0) ? 0 : 1; | 269 return (status.failCount() == 0) ? 0 : 1; |
270 } | 270 } |
271 | 271 |
272 #if !defined(SK_BUILD_FOR_IOS) | 272 #if !defined(SK_BUILD_FOR_IOS) |
273 int main(int argc, char** argv) { | 273 int main(int argc, char** argv) { |
274 SkCommandLineFlags::Parse(argc, argv); | 274 SkCommandLineFlags::Parse(argc, argv); |
275 return test_main(); | 275 return test_main(); |
276 } | 276 } |
277 #endif | 277 #endif |
OLD | NEW |