| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "SkCanvas.h" | 8 #include "SkCanvas.h" |
| 9 #include "SkDevice.h" | 9 #include "SkDevice.h" |
| 10 #include "SkForceLinking.h" |
| 10 #include "SkGraphics.h" | 11 #include "SkGraphics.h" |
| 11 #include "SkImageDecoder.h" | 12 #include "SkImageDecoder.h" |
| 12 #include "SkImageEncoder.h" | 13 #include "SkImageEncoder.h" |
| 13 #include "SkOSFile.h" | 14 #include "SkOSFile.h" |
| 14 #include "SkPicture.h" | 15 #include "SkPicture.h" |
| 15 #include "SkStream.h" | 16 #include "SkStream.h" |
| 16 #include "SkTArray.h" | 17 #include "SkTArray.h" |
| 17 #include "PdfRenderer.h" | 18 #include "PdfRenderer.h" |
| 18 #include "picture_utils.h" | 19 #include "picture_utils.h" |
| 19 | 20 |
| 21 __SK_FORCE_IMAGE_DECODER_LINKING; |
| 22 |
| 20 #ifdef SK_USE_CDB | 23 #ifdef SK_USE_CDB |
| 21 #include "win_dbghelp.h" | 24 #include "win_dbghelp.h" |
| 22 #endif | 25 #endif |
| 23 | 26 |
| 24 /** | 27 /** |
| 25 * render_pdfs | 28 * render_pdfs |
| 26 * | 29 * |
| 27 * Given list of directories and files to use as input, expects to find .skp | 30 * Given list of directories and files to use as input, expects to find .skp |
| 28 * files and it will convert them to .pdf files writing them in the output | 31 * files and it will convert them to .pdf files writing them in the output |
| 29 * directory. | 32 * directory. |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 } | 301 } |
| 299 #endif | 302 #endif |
| 300 return 0; | 303 return 0; |
| 301 } | 304 } |
| 302 | 305 |
| 303 #if !defined SK_BUILD_FOR_IOS | 306 #if !defined SK_BUILD_FOR_IOS |
| 304 int main(int argc, char * const argv[]) { | 307 int main(int argc, char * const argv[]) { |
| 305 return tool_main(argc, (char**) argv); | 308 return tool_main(argc, (char**) argv); |
| 306 } | 309 } |
| 307 #endif | 310 #endif |
| OLD | NEW |