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

Side by Side Diff: gyp/gm.gyp

Issue 68533003: pdfviewer: compile pdfviewer in gm, only if the flag is set (currently we compile pdfviewer, even i… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: changes to utils too Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | gyp/utils.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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',
37 ], 36 ],
38 'includes': [ 37 'includes': [
39 'gmslides.gypi', 38 'gmslides.gypi',
40 ], 39 ],
41 'sources': [ 40 'sources': [
42 '../gm/gm.cpp', 41 '../gm/gm.cpp',
43 '../gm/gmmain.cpp', 42 '../gm/gmmain.cpp',
44 '../gm/system_preferences_default.cpp', 43 '../gm/system_preferences_default.cpp',
45 44
46 '../src/pipe/utils/SamplePipeControllers.h', 45 '../src/pipe/utils/SamplePipeControllers.h',
47 '../src/pipe/utils/SamplePipeControllers.cpp', 46 '../src/pipe/utils/SamplePipeControllers.cpp',
48 47
49 '../src/utils/debugger/SkDrawCommand.h', 48 '../src/utils/debugger/SkDrawCommand.h',
50 '../src/utils/debugger/SkDrawCommand.cpp', 49 '../src/utils/debugger/SkDrawCommand.cpp',
51 '../src/utils/debugger/SkDebugCanvas.h', 50 '../src/utils/debugger/SkDebugCanvas.h',
52 '../src/utils/debugger/SkDebugCanvas.cpp', 51 '../src/utils/debugger/SkDebugCanvas.cpp',
53 '../src/utils/debugger/SkObjectParser.h', 52 '../src/utils/debugger/SkObjectParser.h',
54 '../src/utils/debugger/SkObjectParser.cpp', 53 '../src/utils/debugger/SkObjectParser.cpp',
55 ], 54 ],
56 'dependencies': [ 55 'dependencies': [
57 'skia_lib.gyp:skia_lib', 56 'skia_lib.gyp:skia_lib',
58 'flags.gyp:flags', 57 'flags.gyp:flags',
59 'gm.gyp:gm_expectations', 58 'gm.gyp:gm_expectations',
60 'jsoncpp.gyp:jsoncpp', 59 'jsoncpp.gyp:jsoncpp',
61 'pdf.gyp:pdf', 60 'pdf.gyp:pdf',
62 'pdfviewer_lib.gyp:pdfviewer_lib',
63 ], 61 ],
64 'conditions': [ 62 'conditions': [
65 ['skia_run_pdfviewer_in_gm', { 63 ['skia_run_pdfviewer_in_gm', {
66 'defines': [ 64 'defines': [
67 'SK_BUILD_NATIVE_PDF_RENDERER', 65 'SK_BUILD_NATIVE_PDF_RENDERER',
68 ], 66 ],
67 'include_dirs' : [
68 '../experimental/PdfViewer',
69 ],
70 'dependencies': [
71 'pdfviewer_lib.gyp:pdfviewer_lib',
72 ],
69 }], 73 }],
70 ['skia_os in ["linux", "mac", "win"]', { 74 ['skia_os in ["linux", "mac", "win"]', {
71 'dependencies': [ 75 'dependencies': [
72 'poppler.gyp:libpoppler-cpp-gpl', 76 'poppler.gyp:libpoppler-cpp-gpl',
73 ], 77 ],
74 'sources': [ 78 'sources': [
75 '../src/utils/SkPDFRasterizer.cpp', 79 '../src/utils/SkPDFRasterizer.cpp',
76 ], 80 ],
77 'defines': [ 81 'defines': [
78 'SK_BUILD_POPPLER', 82 'SK_BUILD_POPPLER',
(...skipping 29 matching lines...) Expand all
108 ], 112 ],
109 }, 113 },
110 ], 114 ],
111 } 115 }
112 116
113 # Local Variables: 117 # Local Variables:
114 # tab-width:2 118 # tab-width:2
115 # indent-tabs-mode:nil 119 # indent-tabs-mode:nil
116 # End: 120 # End:
117 # vim: set expandtab tabstop=2 shiftwidth=2: 121 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | gyp/utils.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698