diff options
Diffstat (limited to 'deps/v8/samples/samples.gyp')
-rw-r--r-- | deps/v8/samples/samples.gyp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/deps/v8/samples/samples.gyp b/deps/v8/samples/samples.gyp index 7e0608b213..e5e9ef0f8c 100644 --- a/deps/v8/samples/samples.gyp +++ b/deps/v8/samples/samples.gyp @@ -29,13 +29,14 @@ 'variables': { 'v8_code': 1, 'v8_enable_i18n_support%': 1, + 'v8_toolset_for_shell%': 'target', }, - 'includes': ['../build/toolchain.gypi', '../build/features.gypi'], + 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], 'target_defaults': { 'type': 'executable', 'dependencies': [ - '../tools/gyp/v8.gyp:v8', - '../tools/gyp/v8.gyp:v8_libplatform', + '../src/v8.gyp:v8', + '../src/v8.gyp:v8_libplatform', ], 'include_dirs': [ '..', @@ -56,10 +57,15 @@ }, 'targets': [ { - 'target_name': 'shell', + 'target_name': 'v8_shell', 'sources': [ 'shell.cc', ], + 'conditions': [ + [ 'want_separate_host_toolset==1', { + 'toolsets': [ '<(v8_toolset_for_shell)', ], + }], + ], }, { 'target_name': 'hello-world', |