Index: samples/samples.gyp |
diff --git a/samples/samples.gyp b/samples/samples.gyp |
index f383ee20f7394443bbdf8f0b0ba2e06a2627ffc5..7023e0aec3642ebfb130343f75c59477d92fe748 100644 |
--- a/samples/samples.gyp |
+++ b/samples/samples.gyp |
@@ -1,4 +1,4 @@ |
-# Copyright 2010 the V8 project authors. All rights reserved. |
+# Copyright 2011 the V8 project authors. All rights reserved. |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
# met: |
@@ -26,23 +26,24 @@ |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
{ |
+ 'target_defaults': { |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../tools/gyp/v8.gyp:v8', |
+ ], |
+ 'include_dirs': [ |
+ '../include', |
+ ], |
+ }, |
'targets': [ |
{ |
'target_name': 'shell', |
- 'type': 'executable', |
- 'dependencies': [ |
- '../tools/gyp/v8.gyp:v8', |
- ], |
'sources': [ |
'shell.cc', |
], |
}, |
{ |
'target_name': 'process', |
- 'type': 'executable', |
- 'dependencies': [ |
- '../tools/gyp/v8.gyp:v8', |
- ], |
'sources': [ |
'process.cc', |
], |