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

Side by Side Diff: gyp/SampleApp.gyp

Issue 346453002: Refactor how we handle resources path in Tests. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix rebase conflict Created 6 years, 6 months 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
« no previous file with comments | « gm/gmmain.cpp ('k') | gyp/bench.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 # 1 #
2 { 2 {
3 'variables': { 3 'variables': {
4 #manually set sample_pdf_file_viewer to 1 to have the PdfViewer in SampleApp 4 #manually set sample_pdf_file_viewer to 1 to have the PdfViewer in SampleApp
5 'sample_pdf_file_viewer%': 0, 5 'sample_pdf_file_viewer%': 0,
6 }, 6 },
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'SampleApp', 9 'target_name': 'SampleApp',
10 'type': 'executable', 10 'type': 'executable',
11 'mac_bundle' : 1, 11 'mac_bundle' : 1,
12 'include_dirs' : [ 12 'include_dirs' : [
13 '../src/core', 13 '../src/core',
14 '../src/effects', #needed for BlurMask.h 14 '../src/effects', #needed for BlurMask.h
15 '../src/gpu', # needed by SkLua.cpp 15 '../src/gpu', # needed by SkLua.cpp
16 '../src/images', 16 '../src/images',
17 '../src/lazy', 17 '../src/lazy',
18 '../gm', # needed to pull gm.h 18 '../gm', # needed to pull gm.h
19 '../samplecode', # To pull SampleApp.h and SampleCode.h 19 '../samplecode', # To pull SampleApp.h and SampleCode.h
20 '../src/pipe/utils', # For TiledPipeController 20 '../src/pipe/utils', # For TiledPipeController
21 '../src/utils/debugger', 21 '../src/utils/debugger',
22 '../tools',
23 ], 22 ],
24 'includes': [ 23 'includes': [
25 'gmslides.gypi', 24 'gmslides.gypi',
26 ], 25 ],
27 'sources': [ 26 'sources': [
28 '../samplecode/GMSampleView.h', 27 '../samplecode/GMSampleView.h',
29 '../samplecode/ClockFaceView.cpp', 28 '../samplecode/ClockFaceView.cpp',
30 '../samplecode/OverView.cpp', 29 '../samplecode/OverView.cpp',
31 '../samplecode/OverView.h', 30 '../samplecode/OverView.h',
32 '../samplecode/Sample2PtRadial.cpp', 31 '../samplecode/Sample2PtRadial.cpp',
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 #'../experimental/Networking/SkSockets.cpp', 127 #'../experimental/Networking/SkSockets.cpp',
129 #'../experimental/Networking/SkSockets.h', 128 #'../experimental/Networking/SkSockets.h',
130 129
131 # TiledPipeController 130 # TiledPipeController
132 '../src/pipe/utils/SamplePipeControllers.h', 131 '../src/pipe/utils/SamplePipeControllers.h',
133 '../src/pipe/utils/SamplePipeControllers.cpp', 132 '../src/pipe/utils/SamplePipeControllers.cpp',
134 133
135 # Lua 134 # Lua
136 '../src/utils/SkLuaCanvas.cpp', 135 '../src/utils/SkLuaCanvas.cpp',
137 '../src/utils/SkLua.cpp', 136 '../src/utils/SkLua.cpp',
138 137
139 # tools 138 # tools
140 '../tools/sk_tool_utils.cpp', 139 '../tools/sk_tool_utils.cpp',
141 ], 140 ],
142 'sources!': [ 141 'sources!': [
143 '../samplecode/SampleSkLayer.cpp', #relies on SkMatrix44 which doesn't c ompile 142 '../samplecode/SampleSkLayer.cpp', #relies on SkMatrix44 which doesn't c ompile
144 '../samplecode/SampleWarp.cpp', 143 '../samplecode/SampleWarp.cpp',
145 '../samplecode/SampleFontCache.cpp', 144 '../samplecode/SampleFontCache.cpp',
146 ], 145 ],
147 'dependencies': [ 146 'dependencies': [
147 'animator.gyp:animator',
148 'etc1.gyp:libetc1',
149 'experimental.gyp:experimental',
150 'flags.gyp:flags',
151 'lua.gyp:lua',
152 'pdf.gyp:pdf',
153 'resources.gyp:resources',
148 'skia_lib.gyp:skia_lib', 154 'skia_lib.gyp:skia_lib',
149 'views.gyp:views', 155 'views.gyp:views',
150 'animator.gyp:animator', 156 'views_animated.gyp:views_animated',
151 'xml.gyp:xml', 157 'xml.gyp:xml',
152 'experimental.gyp:experimental',
153 'pdf.gyp:pdf',
154 'views_animated.gyp:views_animated',
155 'lua.gyp:lua',
156 'etc1.gyp:libetc1',
157 ], 158 ],
158 'conditions' : [ 159 'conditions' : [
159 [ 'sample_pdf_file_viewer == 1', { 160 [ 'sample_pdf_file_viewer == 1', {
160 'defines': [ 161 'defines': [
161 'SAMPLE_PDF_FILE_VIEWER', 162 'SAMPLE_PDF_FILE_VIEWER',
162 ], 163 ],
163 'dependencies': [ 164 'dependencies': [
164 'pdfviewer_lib.gyp:pdfviewer_lib', 165 'pdfviewer_lib.gyp:pdfviewer_lib',
165 ], 166 ],
166 'include_dirs' : [ 167 'include_dirs' : [
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 }], 302 }],
302 ], 303 ],
303 'msvs_settings': { 304 'msvs_settings': {
304 'VCLinkerTool': { 305 'VCLinkerTool': {
305 'SubSystem': '2', 306 'SubSystem': '2',
306 }, 307 },
307 }, 308 },
308 }, 309 },
309 ], 310 ],
310 } 311 }
OLDNEW
« no previous file with comments | « gm/gmmain.cpp ('k') | gyp/bench.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698