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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 '../tools/skdiff_utils.cpp', | 53 '../tools/skdiff_utils.cpp', |
54 '../tools/skdiff_utils.h', | 54 '../tools/skdiff_utils.h', |
55 ], | 55 ], |
56 'dependencies': [ | 56 'dependencies': [ |
57 'skia_lib.gyp:skia_lib', | 57 'skia_lib.gyp:skia_lib', |
58 ], | 58 ], |
59 }, | 59 }, |
60 { | 60 { |
61 'target_name': 'skhello', | 61 'target_name': 'skhello', |
62 'type': 'executable', | 62 'type': 'executable', |
63 'sources': [ | |
64 '../tools/skhello.cpp', | |
65 ], | |
66 'dependencies': [ | 63 'dependencies': [ |
67 'skia_lib.gyp:skia_lib', | 64 'skia_lib.gyp:skia_lib', |
68 'pdf.gyp:pdf', | 65 ], |
69 'flags.gyp:flags', | 66 'conditions': [ |
| 67 [ 'skia_os == "nacl"', { |
| 68 'sources': [ |
| 69 '../platform_tools/nacl/src/nacl_hello.cpp', |
| 70 ], |
| 71 }, { |
| 72 'sources': [ |
| 73 '../tools/skhello.cpp', |
| 74 ], |
| 75 'dependencies': [ |
| 76 'pdf.gyp:pdf', |
| 77 'flags.gyp:flags', |
| 78 ], |
| 79 }], |
70 ], | 80 ], |
71 }, | 81 }, |
72 { | 82 { |
73 'target_name': 'skimage', | 83 'target_name': 'skimage', |
74 'type': 'executable', | 84 'type': 'executable', |
75 'sources': [ | 85 'sources': [ |
76 '../tools/skimage_main.cpp', | 86 '../tools/skimage_main.cpp', |
77 ], | 87 ], |
78 'include_dirs': [ | 88 'include_dirs': [ |
79 # For SkBitmapHasher.h | 89 # For SkBitmapHasher.h |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 }, | 343 }, |
334 ], | 344 ], |
335 ], | 345 ], |
336 } | 346 } |
337 | 347 |
338 # Local Variables: | 348 # Local Variables: |
339 # tab-width:2 | 349 # tab-width:2 |
340 # indent-tabs-mode:nil | 350 # indent-tabs-mode:nil |
341 # End: | 351 # End: |
342 # vim: set expandtab tabstop=2 shiftwidth=2: | 352 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |