OLD | NEW |
1 # GYP file to build skpdiff. | 1 # GYP file to build skpdiff. |
2 # | 2 # |
3 # To build on Linux: | 3 # To build on Linux: |
4 # ./gyp_skia skpdiff.gyp && make skpdiff | 4 # ./gyp_skia skpdiff.gyp && make skpdiff |
5 # | 5 # |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'skpdiff', | 9 'target_name': 'skpdiff', |
10 'type': 'executable', | 10 'type': 'executable', |
11 'sources': [ | 11 'sources': [ |
12 'main.cpp', | 12 'main.cpp', |
13 'SkImageDiffer.cpp', | 13 'SkImageDiffer.cpp', |
14 'SkCLImageDiffer.cpp', | 14 'SkCLImageDiffer.cpp', |
| 15 'SkPMetric.cpp', |
15 'skpdiff_util.cpp', | 16 'skpdiff_util.cpp', |
16 '../../tools/flags/SkCommandLineFlags.cpp', | 17 '../../tools/flags/SkCommandLineFlags.cpp', |
17 ], | 18 ], |
18 'include_dirs': [ | 19 'include_dirs': [ |
19 '../../tools/flags' | 20 '../../tools/flags' |
20 ], | 21 ], |
21 'dependencies': [ | 22 'dependencies': [ |
22 '../../gyp/skia_lib.gyp:skia_lib', | 23 '../../gyp/skia_lib.gyp:skia_lib', |
23 ], | 24 ], |
24 'link_settings': { | 25 'link_settings': { |
25 'libraries': [ | 26 'libraries': [ |
26 '-lOpenCL', | 27 '-lOpenCL', |
27 ], | 28 ], |
28 }, | 29 }, |
29 }, | 30 }, |
30 ], | 31 ], |
31 'conditions': [ | 32 'conditions': [ |
32 ], | 33 ], |
33 } | 34 } |
34 | 35 |
35 # Local Variables: | 36 # Local Variables: |
36 # tab-width:2 | 37 # tab-width:2 |
37 # indent-tabs-mode:nil | 38 # indent-tabs-mode:nil |
38 # End: | 39 # End: |
39 # vim: set expandtab tabstop=2 shiftwidth=2: | 40 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |