| 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 19 matching lines...) Expand all Loading... |
| 30 '../tools/skdiff.cpp', | 30 '../tools/skdiff.cpp', |
| 31 '../tools/skdiff.h', | 31 '../tools/skdiff.h', |
| 32 '../tools/skdiff_html.cpp', | 32 '../tools/skdiff_html.cpp', |
| 33 '../tools/skdiff_html.h', | 33 '../tools/skdiff_html.h', |
| 34 '../tools/skdiff_main.cpp', | 34 '../tools/skdiff_main.cpp', |
| 35 '../tools/skdiff_utils.cpp', | 35 '../tools/skdiff_utils.cpp', |
| 36 '../tools/skdiff_utils.h', | 36 '../tools/skdiff_utils.h', |
| 37 ], | 37 ], |
| 38 'dependencies': [ | 38 'dependencies': [ |
| 39 'skia_base_libs.gyp:skia_base_libs', | 39 'skia_base_libs.gyp:skia_base_libs', |
| 40 'effects.gyp:effects', | |
| 41 'images.gyp:images', | |
| 42 ], | 40 ], |
| 43 }, | 41 }, |
| 44 { | 42 { |
| 45 'target_name': 'skimagediff', | 43 'target_name': 'skimagediff', |
| 46 'type': 'executable', | 44 'type': 'executable', |
| 47 'sources': [ | 45 'sources': [ |
| 48 '../tools/skdiff.cpp', | 46 '../tools/skdiff.cpp', |
| 49 '../tools/skdiff.h', | 47 '../tools/skdiff.h', |
| 50 '../tools/skdiff_html.cpp', | 48 '../tools/skdiff_html.cpp', |
| 51 '../tools/skdiff_html.h', | 49 '../tools/skdiff_html.h', |
| 52 '../tools/skdiff_image.cpp', | 50 '../tools/skdiff_image.cpp', |
| 53 '../tools/skdiff_utils.cpp', | 51 '../tools/skdiff_utils.cpp', |
| 54 '../tools/skdiff_utils.h', | 52 '../tools/skdiff_utils.h', |
| 55 ], | 53 ], |
| 56 'dependencies': [ | 54 'dependencies': [ |
| 57 'skia_base_libs.gyp:skia_base_libs', | 55 'skia_base_libs.gyp:skia_base_libs', |
| 58 'effects.gyp:effects', | |
| 59 'images.gyp:images', | |
| 60 ], | 56 ], |
| 61 }, | 57 }, |
| 62 { | 58 { |
| 63 'target_name': 'skhello', | 59 'target_name': 'skhello', |
| 64 'type': 'executable', | 60 'type': 'executable', |
| 65 'sources': [ | 61 'sources': [ |
| 66 '../tools/skhello.cpp', | 62 '../tools/skhello.cpp', |
| 67 ], | 63 ], |
| 68 'dependencies': [ | 64 'dependencies': [ |
| 69 'skia_base_libs.gyp:skia_base_libs', | 65 'skia_base_libs.gyp:skia_base_libs', |
| 70 'effects.gyp:effects', | |
| 71 'flags.gyp:flags', | 66 'flags.gyp:flags', |
| 72 'images.gyp:images', | |
| 73 ], | 67 ], |
| 74 }, | 68 }, |
| 75 { | 69 { |
| 76 'target_name': 'skimage', | 70 'target_name': 'skimage', |
| 77 'type': 'executable', | 71 'type': 'executable', |
| 78 'sources': [ | 72 'sources': [ |
| 79 '../tools/skimage_main.cpp', | 73 '../tools/skimage_main.cpp', |
| 80 ], | 74 ], |
| 81 'include_dirs': [ | 75 'include_dirs': [ |
| 82 # For SkBitmapHasher.h | 76 # For SkBitmapHasher.h |
| 83 '../src/utils/', | 77 '../src/utils/', |
| 84 ], | 78 ], |
| 85 'dependencies': [ | 79 'dependencies': [ |
| 86 'skia_base_libs.gyp:skia_base_libs', | 80 'skia_base_libs.gyp:skia_base_libs', |
| 87 'effects.gyp:effects', | |
| 88 'flags.gyp:flags', | 81 'flags.gyp:flags', |
| 89 'gm.gyp:gm_expectations', | 82 'gm.gyp:gm_expectations', |
| 90 'images.gyp:images', | |
| 91 'jsoncpp.gyp:jsoncpp', | 83 'jsoncpp.gyp:jsoncpp', |
| 92 'utils.gyp:utils', | 84 'utils.gyp:utils', |
| 93 ], | 85 ], |
| 94 }, | 86 }, |
| 95 { | 87 { |
| 96 'target_name': 'render_pictures', | 88 'target_name': 'render_pictures', |
| 97 'type': 'executable', | 89 'type': 'executable', |
| 98 'sources': [ | 90 'sources': [ |
| 99 '../tools/render_pictures_main.cpp', | 91 '../tools/render_pictures_main.cpp', |
| 100 ], | 92 ], |
| 101 'include_dirs': [ | 93 'include_dirs': [ |
| 102 '../src/pipe/utils/', | 94 '../src/pipe/utils/', |
| 103 ], | 95 ], |
| 104 'dependencies': [ | 96 'dependencies': [ |
| 105 'skia_base_libs.gyp:skia_base_libs', | 97 'skia_base_libs.gyp:skia_base_libs', |
| 106 'tools.gyp:picture_renderer', | 98 'tools.gyp:picture_renderer', |
| 107 'tools.gyp:picture_utils', | 99 'tools.gyp:picture_utils', |
| 108 'ports.gyp:ports', | |
| 109 'flags.gyp:flags', | 100 'flags.gyp:flags', |
| 110 ], | 101 ], |
| 111 }, | 102 }, |
| 112 { | 103 { |
| 113 'target_name': 'bench_pictures', | 104 'target_name': 'bench_pictures', |
| 114 'type': 'executable', | 105 'type': 'executable', |
| 115 'sources': [ | 106 'sources': [ |
| 116 '../bench/SkBenchLogger.h', | 107 '../bench/SkBenchLogger.h', |
| 117 '../bench/SkBenchLogger.cpp', | 108 '../bench/SkBenchLogger.cpp', |
| 118 '../bench/TimerData.h', | 109 '../bench/TimerData.h', |
| 119 '../bench/TimerData.cpp', | 110 '../bench/TimerData.cpp', |
| 120 '../tools/bench_pictures_main.cpp', | 111 '../tools/bench_pictures_main.cpp', |
| 121 '../tools/PictureBenchmark.cpp', | 112 '../tools/PictureBenchmark.cpp', |
| 122 ], | 113 ], |
| 123 'include_dirs': [ | 114 'include_dirs': [ |
| 124 '../bench', | 115 '../bench', |
| 125 '../src/lazy/', | 116 '../src/lazy/', |
| 126 ], | 117 ], |
| 127 'dependencies': [ | 118 'dependencies': [ |
| 128 'skia_base_libs.gyp:skia_base_libs', | 119 'skia_base_libs.gyp:skia_base_libs', |
| 129 'effects.gyp:effects', | |
| 130 'tools.gyp:picture_utils', | 120 'tools.gyp:picture_utils', |
| 131 'tools.gyp:picture_renderer', | 121 'tools.gyp:picture_renderer', |
| 132 'bench.gyp:bench_timer', | 122 'bench.gyp:bench_timer', |
| 133 'ports.gyp:ports', | |
| 134 'flags.gyp:flags', | 123 'flags.gyp:flags', |
| 135 ], | 124 ], |
| 136 }, | 125 }, |
| 137 { | 126 { |
| 138 'target_name': 'picture_renderer', | 127 'target_name': 'picture_renderer', |
| 139 'type': 'static_library', | 128 'type': 'static_library', |
| 140 'sources': [ | 129 'sources': [ |
| 141 '../tools/PictureRenderer.h', | 130 '../tools/PictureRenderer.h', |
| 142 '../tools/PictureRenderer.cpp', | 131 '../tools/PictureRenderer.cpp', |
| 143 '../tools/PictureRenderingFlags.h', | 132 '../tools/PictureRenderingFlags.h', |
| 144 '../tools/PictureRenderingFlags.cpp', | 133 '../tools/PictureRenderingFlags.cpp', |
| 145 '../tools/CopyTilesRenderer.h', | 134 '../tools/CopyTilesRenderer.h', |
| 146 '../tools/CopyTilesRenderer.cpp', | 135 '../tools/CopyTilesRenderer.cpp', |
| 147 '../src/pipe/utils/SamplePipeControllers.h', | 136 '../src/pipe/utils/SamplePipeControllers.h', |
| 148 '../src/pipe/utils/SamplePipeControllers.cpp', | 137 '../src/pipe/utils/SamplePipeControllers.cpp', |
| 149 ], | 138 ], |
| 150 'include_dirs': [ | 139 'include_dirs': [ |
| 151 '../src/core/', | 140 '../src/core/', |
| 152 '../src/pipe/utils/', | 141 '../src/pipe/utils/', |
| 153 '../src/utils/', | 142 '../src/utils/', |
| 154 ], | 143 ], |
| 155 'dependencies': [ | 144 'dependencies': [ |
| 156 'skia_base_libs.gyp:skia_base_libs', | 145 'skia_base_libs.gyp:skia_base_libs', |
| 157 'effects.gyp:effects', | |
| 158 'images.gyp:images', | |
| 159 'tools.gyp:picture_utils', | 146 'tools.gyp:picture_utils', |
| 160 'flags.gyp:flags', | 147 'flags.gyp:flags', |
| 161 ], | 148 ], |
| 162 'conditions': [ | 149 'conditions': [ |
| 163 ['skia_gpu == 1', | 150 ['skia_gpu == 1', |
| 164 { | 151 { |
| 165 'include_dirs' : [ | 152 'include_dirs' : [ |
| 166 '../src/gpu', | 153 '../src/gpu', |
| 167 ], | 154 ], |
| 168 }, | 155 }, |
| 169 ], | 156 ], |
| 170 ], | 157 ], |
| 171 'export_dependent_settings': [ | |
| 172 'images.gyp:images', | |
| 173 ], | |
| 174 }, | 158 }, |
| 175 { | 159 { |
| 176 'target_name': 'render_pdfs', | 160 'target_name': 'render_pdfs', |
| 177 'type': 'executable', | 161 'type': 'executable', |
| 178 'sources': [ | 162 'sources': [ |
| 179 '../tools/render_pdfs_main.cpp', | 163 '../tools/render_pdfs_main.cpp', |
| 180 '../tools/PdfRenderer.cpp', | 164 '../tools/PdfRenderer.cpp', |
| 181 '../tools/PdfRenderer.h', | 165 '../tools/PdfRenderer.h', |
| 182 ], | 166 ], |
| 183 'include_dirs': [ | 167 'include_dirs': [ |
| 184 '../src/pipe/utils/', | 168 '../src/pipe/utils/', |
| 185 '../src/utils/', | 169 '../src/utils/', |
| 186 ], | 170 ], |
| 187 'dependencies': [ | 171 'dependencies': [ |
| 188 'core.gyp:core', | 172 'skia_base_libs.gyp:skia_base_libs', |
| 189 'effects.gyp:effects', | |
| 190 'images.gyp:images', | |
| 191 'pdf.gyp:pdf', | 173 'pdf.gyp:pdf', |
| 192 'ports.gyp:ports', | |
| 193 'tools.gyp:picture_utils', | 174 'tools.gyp:picture_utils', |
| 194 ], | 175 ], |
| 195 'conditions': [ | 176 'conditions': [ |
| 196 ['skia_win_debuggers_path and skia_os == "win"', | 177 ['skia_win_debuggers_path and skia_os == "win"', |
| 197 { | 178 { |
| 198 'dependencies': [ | 179 'dependencies': [ |
| 199 'tools.gyp:win_dbghelp', | 180 'tools.gyp:win_dbghelp', |
| 200 ], | 181 ], |
| 201 }, | 182 }, |
| 202 ], | 183 ], |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 ], | 221 ], |
| 241 }, | 222 }, |
| 242 { | 223 { |
| 243 'target_name': 'pinspect', | 224 'target_name': 'pinspect', |
| 244 'type': 'executable', | 225 'type': 'executable', |
| 245 'sources': [ | 226 'sources': [ |
| 246 '../tools/pinspect.cpp', | 227 '../tools/pinspect.cpp', |
| 247 ], | 228 ], |
| 248 'dependencies': [ | 229 'dependencies': [ |
| 249 'skia_base_libs.gyp:skia_base_libs', | 230 'skia_base_libs.gyp:skia_base_libs', |
| 250 'effects.gyp:effects', | |
| 251 'images.gyp:images', | |
| 252 ], | 231 ], |
| 253 }, | 232 }, |
| 254 { | 233 { |
| 255 'target_name': 'filter', | 234 'target_name': 'filter', |
| 256 'type': 'executable', | 235 'type': 'executable', |
| 257 'include_dirs' : [ | 236 'include_dirs' : [ |
| 258 '../src/core', | 237 '../src/core', |
| 259 '../debugger', | 238 '../debugger', |
| 260 ], | 239 ], |
| 261 'sources': [ | 240 'sources': [ |
| 262 '../tools/filtermain.cpp', | 241 '../tools/filtermain.cpp', |
| 263 '../tools/path_utils.h', | 242 '../tools/path_utils.h', |
| 264 '../tools/path_utils.cpp', | 243 '../tools/path_utils.cpp', |
| 265 '../debugger/SkDrawCommand.h', | 244 '../debugger/SkDrawCommand.h', |
| 266 '../debugger/SkDrawCommand.cpp', | 245 '../debugger/SkDrawCommand.cpp', |
| 267 '../debugger/SkDebugCanvas.h', | 246 '../debugger/SkDebugCanvas.h', |
| 268 '../debugger/SkDebugCanvas.cpp', | 247 '../debugger/SkDebugCanvas.cpp', |
| 269 '../debugger/SkObjectParser.h', | 248 '../debugger/SkObjectParser.h', |
| 270 '../debugger/SkObjectParser.cpp', | 249 '../debugger/SkObjectParser.cpp', |
| 271 ], | 250 ], |
| 272 'dependencies': [ | 251 'dependencies': [ |
| 273 'skia_base_libs.gyp:skia_base_libs', | 252 'skia_base_libs.gyp:skia_base_libs', |
| 274 'effects.gyp:effects', | |
| 275 'images.gyp:images', | |
| 276 'tools.gyp:picture_utils', | 253 'tools.gyp:picture_utils', |
| 277 ], | 254 ], |
| 278 }, | 255 }, |
| 279 ], | 256 ], |
| 280 'conditions': [ | 257 'conditions': [ |
| 281 ['skia_win_debuggers_path and skia_os == "win"', | 258 ['skia_win_debuggers_path and skia_os == "win"', |
| 282 { | 259 { |
| 283 'targets': [ | 260 'targets': [ |
| 284 { | 261 { |
| 285 'target_name': 'win_dbghelp', | 262 'target_name': 'win_dbghelp', |
| (...skipping 23 matching lines...) Expand all Loading... |
| 309 }, | 286 }, |
| 310 ], | 287 ], |
| 311 ], | 288 ], |
| 312 } | 289 } |
| 313 | 290 |
| 314 # Local Variables: | 291 # Local Variables: |
| 315 # tab-width:2 | 292 # tab-width:2 |
| 316 # indent-tabs-mode:nil | 293 # indent-tabs-mode:nil |
| 317 # End: | 294 # End: |
| 318 # vim: set expandtab tabstop=2 shiftwidth=2: | 295 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |