| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright 2013 Google Inc. | 2  * Copyright 2013 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 "DMJsonWriter.h" | 9 #include "DMJsonWriter.h" | 
| 10 #include "DMSrcSink.h" | 10 #include "DMSrcSink.h" | 
| (...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1073     return nullptr; | 1073     return nullptr; | 
| 1074 } | 1074 } | 
| 1075 | 1075 | 
| 1076 #undef PORTABLE_FONT_PREFIX | 1076 #undef PORTABLE_FONT_PREFIX | 
| 1077 | 1077 | 
| 1078 extern SkTypeface* (*gCreateTypefaceDelegate)(const char [], SkTypeface::Style )
      ; | 1078 extern SkTypeface* (*gCreateTypefaceDelegate)(const char [], SkTypeface::Style )
      ; | 
| 1079 | 1079 | 
| 1080 int dm_main(); | 1080 int dm_main(); | 
| 1081 int dm_main() { | 1081 int dm_main() { | 
| 1082     SetupCrashHandler(); | 1082     SetupCrashHandler(); | 
|  | 1083     JsonWriter::DumpJson();  // It's handy for the bots to assume this is ~never
       missing. | 
| 1083     SkAutoGraphics ag; | 1084     SkAutoGraphics ag; | 
| 1084     SkTaskGroup::Enabler enabled(FLAGS_threads); | 1085     SkTaskGroup::Enabler enabled(FLAGS_threads); | 
| 1085     gCreateTypefaceDelegate = &create_from_name; | 1086     gCreateTypefaceDelegate = &create_from_name; | 
| 1086 | 1087 | 
| 1087     start_keepalive(); | 1088     start_keepalive(); | 
| 1088 | 1089 | 
| 1089     gather_gold(); | 1090     gather_gold(); | 
| 1090     gather_uninteresting_hashes(); | 1091     gather_uninteresting_hashes(); | 
| 1091 | 1092 | 
| 1092     gather_srcs(); | 1093     gather_srcs(); | 
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1244                                                            Reporter* reporter, | 1245                                                            Reporter* reporter, | 
| 1245                                                            GrContextFactory* fac
      tory); | 1246                                                            GrContextFactory* fac
      tory); | 
| 1246 } // namespace skiatest | 1247 } // namespace skiatest | 
| 1247 | 1248 | 
| 1248 #if !defined(SK_BUILD_FOR_IOS) | 1249 #if !defined(SK_BUILD_FOR_IOS) | 
| 1249 int main(int argc, char** argv) { | 1250 int main(int argc, char** argv) { | 
| 1250     SkCommandLineFlags::Parse(argc, argv); | 1251     SkCommandLineFlags::Parse(argc, argv); | 
| 1251     return dm_main(); | 1252     return dm_main(); | 
| 1252 } | 1253 } | 
| 1253 #endif | 1254 #endif | 
| OLD | NEW | 
|---|