aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-17 15:39:43 +0000
committerGravatar borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-17 15:39:43 +0000
commitbb5228888253b21ce81f0a89b605cdd7f88c0efc (patch)
tree921ac84bf3e0a05287c7b563148437456cf3084c /gyp
parent344cf45a40c7de3c4664f8a048d4017af88adfee (diff)
SkHello for NaCl
Not ready to submit. R=reed@google.com Review URL: https://codereview.chromium.org/16904003 git-svn-id: http://skia.googlecode.com/svn/trunk@9639 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r--gyp/tools.gyp20
1 files changed, 15 insertions, 5 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index 2b0550a81d..d960cdc128 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -60,13 +60,23 @@
{
'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',
+ ],
+ }],
],
},
{