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