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 'include_dirs': [ |
| 69 '../src/utils', |
| 70 ], |
| 71 'sources': [ |
| 72 '../platform_tools/nacl/src/nacl_hello.cpp', |
| 73 ], |
| 74 }, { |
| 75 'sources': [ |
| 76 '../tools/skhello.cpp', |
| 77 ], |
| 78 'dependencies': [ |
| 79 'pdf.gyp:pdf', |
| 80 'flags.gyp:flags', |
| 81 ], |
| 82 }], |
70 ], | 83 ], |
71 }, | 84 }, |
72 { | 85 { |
73 'target_name': 'skimage', | 86 'target_name': 'skimage', |
74 'type': 'executable', | 87 'type': 'executable', |
75 'sources': [ | 88 'sources': [ |
76 '../tools/skimage_main.cpp', | 89 '../tools/skimage_main.cpp', |
77 ], | 90 ], |
78 'include_dirs': [ | 91 'include_dirs': [ |
79 # For SkBitmapHasher.h | 92 # For SkBitmapHasher.h |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 }, | 346 }, |
334 ], | 347 ], |
335 ], | 348 ], |
336 } | 349 } |
337 | 350 |
338 # Local Variables: | 351 # Local Variables: |
339 # tab-width:2 | 352 # tab-width:2 |
340 # indent-tabs-mode:nil | 353 # indent-tabs-mode:nil |
341 # End: | 354 # End: |
342 # vim: set expandtab tabstop=2 shiftwidth=2: | 355 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |