OLD | NEW |
1 # GYP file to build the "gm" (golden master) executable. | 1 # GYP file to build the "gm" (golden master) executable. |
2 { | 2 { |
3 'includes': [ | 3 'includes': [ |
4 'apptype_console.gypi', | 4 'apptype_console.gypi', |
5 ], | 5 ], |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'gm_expectations', | 8 'target_name': 'gm_expectations', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'include_dirs' : [ | 10 'include_dirs' : [ |
(...skipping 15 matching lines...) Expand all Loading... |
26 }, | 26 }, |
27 { | 27 { |
28 'target_name': 'gm', | 28 'target_name': 'gm', |
29 'type': 'executable', | 29 'type': 'executable', |
30 'include_dirs' : [ | 30 'include_dirs' : [ |
31 '../src/core', | 31 '../src/core', |
32 '../src/effects', | 32 '../src/effects', |
33 '../src/pipe/utils/', | 33 '../src/pipe/utils/', |
34 '../src/utils/', | 34 '../src/utils/', |
35 '../src/utils/debugger', | 35 '../src/utils/debugger', |
| 36 '../experimental/PdfViewer', |
36 ], | 37 ], |
37 'includes': [ | 38 'includes': [ |
38 'gmslides.gypi', | 39 'gmslides.gypi', |
39 ], | 40 ], |
40 'sources': [ | 41 'sources': [ |
41 '../gm/gm.cpp', | 42 '../gm/gm.cpp', |
42 '../gm/gmmain.cpp', | 43 '../gm/gmmain.cpp', |
43 '../gm/system_preferences_default.cpp', | 44 '../gm/system_preferences_default.cpp', |
44 | 45 |
45 '../src/pipe/utils/SamplePipeControllers.h', | 46 '../src/pipe/utils/SamplePipeControllers.h', |
46 '../src/pipe/utils/SamplePipeControllers.cpp', | 47 '../src/pipe/utils/SamplePipeControllers.cpp', |
47 | 48 |
48 '../src/utils/debugger/SkDrawCommand.h', | 49 '../src/utils/debugger/SkDrawCommand.h', |
49 '../src/utils/debugger/SkDrawCommand.cpp', | 50 '../src/utils/debugger/SkDrawCommand.cpp', |
50 '../src/utils/debugger/SkDebugCanvas.h', | 51 '../src/utils/debugger/SkDebugCanvas.h', |
51 '../src/utils/debugger/SkDebugCanvas.cpp', | 52 '../src/utils/debugger/SkDebugCanvas.cpp', |
52 '../src/utils/debugger/SkObjectParser.h', | 53 '../src/utils/debugger/SkObjectParser.h', |
53 '../src/utils/debugger/SkObjectParser.cpp', | 54 '../src/utils/debugger/SkObjectParser.cpp', |
54 ], | 55 ], |
55 'dependencies': [ | 56 'dependencies': [ |
56 'skia_lib.gyp:skia_lib', | 57 'skia_lib.gyp:skia_lib', |
57 'flags.gyp:flags', | 58 'flags.gyp:flags', |
58 'gm.gyp:gm_expectations', | 59 'gm.gyp:gm_expectations', |
59 'jsoncpp.gyp:jsoncpp', | 60 'jsoncpp.gyp:jsoncpp', |
60 'pdf.gyp:pdf', | 61 'pdf.gyp:pdf', |
| 62 'pdfviewer_lib.gyp:pdfviewer_lib', |
61 ], | 63 ], |
62 'conditions': [ | 64 'conditions': [ |
| 65 ['skia_run_pdfviewer_in_gm', { |
| 66 'defines': [ |
| 67 'SK_BUILD_NATIVE_PDF_RENDERER', |
| 68 ], |
| 69 }], |
63 ['skia_os in ["linux", "mac", "win"]', { | 70 ['skia_os in ["linux", "mac", "win"]', { |
64 'dependencies': [ | 71 'dependencies': [ |
65 'poppler.gyp:libpoppler-cpp-gpl', | 72 'poppler.gyp:libpoppler-cpp-gpl', |
66 ], | 73 ], |
67 'sources': [ | 74 'sources': [ |
68 '../src/utils/SkPDFRasterizer.cpp', | 75 '../src/utils/SkPDFRasterizer.cpp', |
69 ], | 76 ], |
70 'defines': [ | 77 'defines': [ |
71 'SK_BUILD_POPPLER', | 78 'SK_BUILD_POPPLER', |
72 ], | 79 ], |
(...skipping 28 matching lines...) Expand all Loading... |
101 ], | 108 ], |
102 }, | 109 }, |
103 ], | 110 ], |
104 } | 111 } |
105 | 112 |
106 # Local Variables: | 113 # Local Variables: |
107 # tab-width:2 | 114 # tab-width:2 |
108 # indent-tabs-mode:nil | 115 # indent-tabs-mode:nil |
109 # End: | 116 # End: |
110 # vim: set expandtab tabstop=2 shiftwidth=2: | 117 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |