Index: gyp/tools.gyp |
=================================================================== |
--- gyp/tools.gyp (revision 9611) |
+++ gyp/tools.gyp (working copy) |
@@ -60,14 +60,24 @@ |
{ |
'target_name': 'skhello', |
'type': 'executable', |
- 'sources': [ |
- '../tools/skhello.cpp', |
- ], |
'dependencies': [ |
'skia_lib.gyp:skia_lib', |
- 'pdf.gyp:pdf', |
- 'flags.gyp:flags', |
], |
+ 'conditions': [ |
+ [ 'skia_os == "nacl"', { |
+ 'sources': [ |
+ '../platform_tools/nacl/src/nacl_hello.cpp', |
+ ], |
+ }, { |
+ 'sources': [ |
+ '../tools/skhello.cpp', |
+ ], |
+ 'dependencies': [ |
+ 'pdf.gyp:pdf', |
+ 'flags.gyp:flags', |
+ ], |
+ }], |
+ ], |
}, |
{ |
'target_name': 'skimage', |