| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 { | 127 { |
| 131 'target_name': 'picture_renderer', | 128 'target_name': 'picture_renderer', |
| 132 'type': 'static_library', | 129 'type': 'static_library', |
| 133 'sources': [ | 130 'sources': [ |
| 134 '../tools/PictureRenderer.h', | 131 '../tools/PictureRenderer.h', |
| 135 '../tools/PictureRenderer.cpp', | 132 '../tools/PictureRenderer.cpp', |
| 136 '../tools/PictureRenderingFlags.h', | 133 '../tools/PictureRenderingFlags.h', |
| 137 '../tools/PictureRenderingFlags.cpp', | 134 '../tools/PictureRenderingFlags.cpp', |
| 138 '../tools/CopyTilesRenderer.h', | 135 '../tools/CopyTilesRenderer.h', |
| 139 '../tools/CopyTilesRenderer.cpp', | 136 '../tools/CopyTilesRenderer.cpp', |
| 140 '../tools/SkFlags.h', | |
| 141 '../tools/SkFlags.cpp', | |
| 142 '../src/pipe/utils/SamplePipeControllers.h', | 137 '../src/pipe/utils/SamplePipeControllers.h', |
| 143 '../src/pipe/utils/SamplePipeControllers.cpp', | 138 '../src/pipe/utils/SamplePipeControllers.cpp', |
| 144 ], | 139 ], |
| 145 'include_dirs': [ | 140 'include_dirs': [ |
| 146 '../src/core/', | 141 '../src/core/', |
| 147 '../src/pipe/utils/', | 142 '../src/pipe/utils/', |
| 148 '../src/utils/', | 143 '../src/utils/', |
| 149 ], | 144 ], |
| 150 'dependencies': [ | 145 'dependencies': [ |
| 151 'skia_base_libs.gyp:skia_base_libs', | 146 'skia_base_libs.gyp:skia_base_libs', |
| 152 'effects.gyp:effects', | 147 'effects.gyp:effects', |
| 153 'images.gyp:images', | 148 'images.gyp:images', |
| 154 'tools.gyp:picture_utils', | 149 'tools.gyp:picture_utils', |
| 150 'flags.gyp:flags', |
| 155 ], | 151 ], |
| 156 'conditions': [ | 152 'conditions': [ |
| 157 ['skia_gpu == 1', | 153 ['skia_gpu == 1', |
| 158 { | 154 { |
| 159 'include_dirs' : [ | 155 'include_dirs' : [ |
| 160 '../src/gpu', | 156 '../src/gpu', |
| 161 ], | 157 ], |
| 162 }, | 158 }, |
| 163 ], | 159 ], |
| 164 ], | 160 ], |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 }, | 286 }, |
| 291 ], | 287 ], |
| 292 ], | 288 ], |
| 293 } | 289 } |
| 294 | 290 |
| 295 # Local Variables: | 291 # Local Variables: |
| 296 # tab-width:2 | 292 # tab-width:2 |
| 297 # indent-tabs-mode:nil | 293 # indent-tabs-mode:nil |
| 298 # End: | 294 # End: |
| 299 # vim: set expandtab tabstop=2 shiftwidth=2: | 295 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |