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

Side by Side Diff: gyp/tools.gyp

Issue 1502173003: When was SkPDiff last used? (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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 | « gyp/common_variables.gypi ('k') | tools/skpdiff/README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # GYP file to build various tools. 5 # GYP file to build various tools.
6 # 6 #
7 # To build on Linux: 7 # To build on Linux:
8 # ./gyp_skia tools.gyp && make tools 8 # ./gyp_skia tools.gyp && make tools
9 # 9 #
10 { 10 {
(...skipping 10 matching lines...) Expand all
21 'dump_record', 21 'dump_record',
22 'gpuveto', 22 'gpuveto',
23 'imgblur', 23 'imgblur',
24 'imgconv', 24 'imgconv',
25 'imgslice', 25 'imgslice',
26 'lua_app', 26 'lua_app',
27 'lua_pictures', 27 'lua_pictures',
28 'pinspect', 28 'pinspect',
29 'skdiff', 29 'skdiff',
30 'skhello', 30 'skhello',
31 'skpdiff',
32 'skpinfo', 31 'skpinfo',
33 'skpmaker', 32 'skpmaker',
34 'test_image_decoder', 33 'test_image_decoder',
35 'test_public_includes', 34 'test_public_includes',
36 'whitelist_typefaces', 35 'whitelist_typefaces',
37 ], 36 ],
38 'conditions': [ 37 'conditions': [
39 ['skia_shared_lib', 38 ['skia_shared_lib',
40 { 39 {
41 'dependencies': [ 40 'dependencies': [
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 '../tools/skdiff_html.h', 145 '../tools/skdiff_html.h',
147 '../tools/skdiff_main.cpp', 146 '../tools/skdiff_main.cpp',
148 '../tools/skdiff_utils.cpp', 147 '../tools/skdiff_utils.cpp',
149 '../tools/skdiff_utils.h', 148 '../tools/skdiff_utils.h',
150 ], 149 ],
151 'dependencies': [ 150 'dependencies': [
152 'skia_lib.gyp:skia_lib', 151 'skia_lib.gyp:skia_lib',
153 ], 152 ],
154 }, 153 },
155 { 154 {
156 'target_name': 'skpdiff',
157 'type': 'executable',
158 'sources': [
159 '../tools/skpdiff/skpdiff_main.cpp',
160 '../tools/skpdiff/SkDiffContext.cpp',
161 '../tools/skpdiff/SkImageDiffer.cpp',
162 '../tools/skpdiff/SkPMetric.cpp',
163 '../tools/skpdiff/skpdiff_util.cpp',
164 ],
165 'include_dirs': [
166 '../include/private',
167 '../src/core/', # needed for SkTLList.h
168 '../tools/', # needed for picture_utils::replace_char
169 ],
170 'dependencies': [
171 'flags.gyp:flags',
172 'skia_lib.gyp:skia_lib',
173 'tools.gyp:picture_utils',
174 ],
175 'cflags': [
176 '-O3',
177 ],
178 'conditions': [
179 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
180 'link_settings': {
181 'libraries': [
182 '-lrt',
183 '-pthread',
184 ],
185 },
186 }],
187 ['skia_opencl', {
188 'sources': [
189 '../tools/skpdiff/SkCLImageDiffer.cpp',
190 '../tools/skpdiff/SkDifferentPixelsMetric_opencl.cpp',
191 ],
192 'conditions': [
193 [ 'skia_os == "mac"', {
194 'link_settings': {
195 'libraries': [
196 '$(SDKROOT)/System/Library/Frameworks/OpenCL.framework',
197 ]
198 }
199 }, {
200 'link_settings': {
201 'libraries': [
202 '-lOpenCL',
203 ],
204 },
205 }],
206 ],
207 }, { # !skia_opencl
208 'sources': [
209 '../tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp',
210 ],
211 }],
212 ],
213 },
214 {
215 'target_name': 'skpmaker', 155 'target_name': 'skpmaker',
216 'type': 'executable', 156 'type': 'executable',
217 'sources': [ 157 'sources': [
218 '../tools/skpmaker.cpp', 158 '../tools/skpmaker.cpp',
219 ], 159 ],
220 'include_dirs': [ 160 'include_dirs': [
221 '../include/private', 161 '../include/private',
222 '../src/core', 162 '../src/core',
223 ], 163 ],
224 'dependencies': [ 164 'dependencies': [
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 'flags.gyp:flags', 545 'flags.gyp:flags',
606 'skia_lib.gyp:skia_lib', 546 'skia_lib.gyp:skia_lib',
607 'resources', 547 'resources',
608 ], 548 ],
609 }, 549 },
610 ], 550 ],
611 }, 551 },
612 ], 552 ],
613 ], 553 ],
614 } 554 }
OLDNEW
« no previous file with comments | « gyp/common_variables.gypi ('k') | tools/skpdiff/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698