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 'skpdiff_util.cpp', | 15 'skpdiff_util.cpp', |
| 16 '../../tools/flags/SkCommandLineFlags.cpp', |
| 17 ], |
| 18 'include_dirs': [ |
| 19 '../../tools/flags' |
16 ], | 20 ], |
17 'dependencies': [ | 21 'dependencies': [ |
18 '../../gyp/skia_lib.gyp:skia_lib', | 22 '../../gyp/skia_lib.gyp:skia_lib', |
19 ], | 23 ], |
20 'link_settings': { | 24 'link_settings': { |
21 'libraries': [ | 25 'libraries': [ |
22 '-lOpenCL', | 26 '-lOpenCL', |
23 ], | 27 ], |
24 }, | 28 }, |
25 }, | 29 }, |
26 ], | 30 ], |
27 'conditions': [ | 31 'conditions': [ |
28 ], | 32 ], |
29 } | 33 } |
30 | 34 |
31 # Local Variables: | 35 # Local Variables: |
32 # tab-width:2 | 36 # tab-width:2 |
33 # indent-tabs-mode:nil | 37 # indent-tabs-mode:nil |
34 # End: | 38 # End: |
35 # vim: set expandtab tabstop=2 shiftwidth=2: | 39 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |