| 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 # Building on other platforms not tested yet. | |
| 7 # | |
| 8 { | 6 { |
| 9 'includes': [ | 7 'includes': [ |
| 10 'apptype_console.gypi', | 8 'apptype_console.gypi', |
| 11 ], | 9 ], |
| 12 'targets': [ | 10 'targets': [ |
| 13 { | 11 { |
| 14 # Build all executable targets defined below. | 12 # Build all executable targets defined below. |
| 15 'target_name': 'tools', | 13 'target_name': 'tools', |
| 16 'type': 'none', | 14 'type': 'none', |
| 17 'dependencies': [ | 15 'dependencies': [ |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 'skia_base_libs.gyp:skia_base_libs', | 57 'skia_base_libs.gyp:skia_base_libs', |
| 60 'effects.gyp:effects', | 58 'effects.gyp:effects', |
| 61 'images.gyp:images', | 59 'images.gyp:images', |
| 62 ], | 60 ], |
| 63 }, | 61 }, |
| 64 { | 62 { |
| 65 'target_name': 'skhello', | 63 'target_name': 'skhello', |
| 66 'type': 'executable', | 64 'type': 'executable', |
| 67 'sources': [ | 65 'sources': [ |
| 68 '../tools/skhello.cpp', | 66 '../tools/skhello.cpp', |
| 69 '../tools/SkFlags.h', | |
| 70 '../tools/SkFlags.cpp', | |
| 71 ], | 67 ], |
| 72 'dependencies': [ | 68 'dependencies': [ |
| 73 'skia_base_libs.gyp:skia_base_libs', | 69 'skia_base_libs.gyp:skia_base_libs', |
| 74 'effects.gyp:effects', | 70 'effects.gyp:effects', |
| 71 'flags.gyp:flags', |
| 75 'images.gyp:images', | 72 'images.gyp:images', |
| 76 ], | 73 ], |
| 77 }, | 74 }, |
| 78 { | 75 { |
| 79 'target_name': 'skimage', | 76 'target_name': 'skimage', |
| 80 'type': 'executable', | 77 'type': 'executable', |
| 81 'sources': [ | 78 'sources': [ |
| 82 '../tools/skimage_main.cpp', | 79 '../tools/skimage_main.cpp', |
| 83 ], | 80 ], |
| 84 'dependencies': [ | 81 'dependencies': [ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 { | 125 { |
| 129 'target_name': 'picture_renderer', | 126 'target_name': 'picture_renderer', |
| 130 'type': 'static_library', | 127 'type': 'static_library', |
| 131 'sources': [ | 128 'sources': [ |
| 132 '../tools/PictureRenderer.h', | 129 '../tools/PictureRenderer.h', |
| 133 '../tools/PictureRenderer.cpp', | 130 '../tools/PictureRenderer.cpp', |
| 134 '../tools/PictureRenderingFlags.h', | 131 '../tools/PictureRenderingFlags.h', |
| 135 '../tools/PictureRenderingFlags.cpp', | 132 '../tools/PictureRenderingFlags.cpp', |
| 136 '../tools/CopyTilesRenderer.h', | 133 '../tools/CopyTilesRenderer.h', |
| 137 '../tools/CopyTilesRenderer.cpp', | 134 '../tools/CopyTilesRenderer.cpp', |
| 138 '../tools/SkFlags.h', | |
| 139 '../tools/SkFlags.cpp', | |
| 140 '../src/pipe/utils/SamplePipeControllers.h', | 135 '../src/pipe/utils/SamplePipeControllers.h', |
| 141 '../src/pipe/utils/SamplePipeControllers.cpp', | 136 '../src/pipe/utils/SamplePipeControllers.cpp', |
| 142 ], | 137 ], |
| 143 'include_dirs': [ | 138 'include_dirs': [ |
| 144 '../src/core/', | 139 '../src/core/', |
| 145 '../src/pipe/utils/', | 140 '../src/pipe/utils/', |
| 146 '../src/utils/', | 141 '../src/utils/', |
| 147 ], | 142 ], |
| 148 'dependencies': [ | 143 'dependencies': [ |
| 149 'skia_base_libs.gyp:skia_base_libs', | 144 'skia_base_libs.gyp:skia_base_libs', |
| 150 'effects.gyp:effects', | 145 'effects.gyp:effects', |
| 151 'images.gyp:images', | 146 'images.gyp:images', |
| 152 'tools.gyp:picture_utils', | 147 'tools.gyp:picture_utils', |
| 148 'flags.gyp:flags', |
| 153 ], | 149 ], |
| 154 'conditions': [ | 150 'conditions': [ |
| 155 ['skia_gpu == 1', | 151 ['skia_gpu == 1', |
| 156 { | 152 { |
| 157 'include_dirs' : [ | 153 'include_dirs' : [ |
| 158 '../src/gpu', | 154 '../src/gpu', |
| 159 ], | 155 ], |
| 160 }, | 156 }, |
| 161 ], | 157 ], |
| 162 ], | 158 ], |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 }, | 284 }, |
| 289 ], | 285 ], |
| 290 ], | 286 ], |
| 291 } | 287 } |
| 292 | 288 |
| 293 # Local Variables: | 289 # Local Variables: |
| 294 # tab-width:2 | 290 # tab-width:2 |
| 295 # indent-tabs-mode:nil | 291 # indent-tabs-mode:nil |
| 296 # End: | 292 # End: |
| 297 # vim: set expandtab tabstop=2 shiftwidth=2: | 293 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |