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

Side by Side Diff: experimental/skpdiff/skpdiff.gyp

Issue 19608005: move skpdiff into tools (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « experimental/skpdiff/main.cpp ('k') | experimental/skpdiff/skpdiff_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # GYP file to build skpdiff.
2 #
3 # To build on Linux:
4 # ./gyp_skia skpdiff.gyp && make skpdiff
5 #
6 {
7 'targets': [
8 {
9 'target_name': 'skpdiff',
10 'type': 'executable',
11 'sources': [
12 'main.cpp',
13 'SkDiffContext.cpp',
14 'SkImageDiffer.cpp',
15 'SkPMetric.cpp',
16 'skpdiff_util.cpp',
17 '../../tools/flags/SkCommandLineFlags.cpp',
18 ],
19 'include_dirs': [
20 '../../tools/flags'
21 ],
22 'dependencies': [
23 '../../gyp/skia_lib.gyp:skia_lib',
24 ],
25 'cflags': [
26 '-O3',
27 ],
28 'conditions': [
29 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
30 'link_settings': {
31 'libraries': [
32 '-lrt',
33 ],
34 },
35 }],
36 ['skia_opencl', {
37 'sources': [
38 'SkCLImageDiffer.cpp',
39 'SkDifferentPixelsMetric_opencl.cpp',
40 ],
41 'conditions': [
42 [ 'skia_os == "mac"', {
43 'link_settings': {
44 'libraries': [
45 '$(SDKROOT)/System/Library/Frameworks/OpenCL.framework',
46 ]
47 }
48 }, {
49 'link_settings': {
50 'libraries': [
51 '-lOpenCL',
52 ],
53 },
54 }],
55 ],
56 }, { # !skia_opencl
57 'sources': [
58 'SkDifferentPixelsMetric_cpu.cpp',
59 ],
60 }],
61 ],
62 },
63 ],
64 }
65
66 # Local Variables:
67 # tab-width:2
68 # indent-tabs-mode:nil
69 # End:
70 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « experimental/skpdiff/main.cpp ('k') | experimental/skpdiff/skpdiff_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698