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