OLD | NEW |
1 # GYP file to build various tools. | 1 # GYP file to build various tools. |
2 # | 2 # |
3 # To build on Linux: | 3 # To build on Linux: |
4 # ./gyp_skia tools.gyp && make tools | 4 # ./gyp_skia tools.gyp && make tools |
5 # | 5 # |
6 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 'type': 'executable', | 163 'type': 'executable', |
164 'sources': [ | 164 'sources': [ |
165 '../tools/skpdiff/skpdiff_main.cpp', | 165 '../tools/skpdiff/skpdiff_main.cpp', |
166 '../tools/skpdiff/SkDiffContext.cpp', | 166 '../tools/skpdiff/SkDiffContext.cpp', |
167 '../tools/skpdiff/SkImageDiffer.cpp', | 167 '../tools/skpdiff/SkImageDiffer.cpp', |
168 '../tools/skpdiff/SkPMetric.cpp', | 168 '../tools/skpdiff/SkPMetric.cpp', |
169 '../tools/skpdiff/skpdiff_util.cpp', | 169 '../tools/skpdiff/skpdiff_util.cpp', |
170 ], | 170 ], |
171 'include_dirs': [ | 171 'include_dirs': [ |
172 '../src/core/', # needed for SkTLList.h | 172 '../src/core/', # needed for SkTLList.h |
| 173 '../tools/', # needed for picture_utils::replace_char |
173 ], | 174 ], |
174 'dependencies': [ | 175 'dependencies': [ |
175 'flags.gyp:flags', | 176 'flags.gyp:flags', |
176 'skia_lib.gyp:skia_lib', | 177 'skia_lib.gyp:skia_lib', |
| 178 'tools.gyp:picture_utils', |
177 ], | 179 ], |
178 'cflags': [ | 180 'cflags': [ |
179 '-O3', | 181 '-O3', |
180 ], | 182 ], |
181 'conditions': [ | 183 'conditions': [ |
182 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 184 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
183 'link_settings': { | 185 'link_settings': { |
184 'libraries': [ | 186 'libraries': [ |
185 '-lrt', | 187 '-lrt', |
186 ], | 188 ], |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 'flags.gyp:flags', | 743 'flags.gyp:flags', |
742 'skia_lib.gyp:skia_lib', | 744 'skia_lib.gyp:skia_lib', |
743 'resources', | 745 'resources', |
744 ], | 746 ], |
745 }, | 747 }, |
746 ], | 748 ], |
747 }, | 749 }, |
748 ], | 750 ], |
749 ], | 751 ], |
750 } | 752 } |
OLD | NEW |