| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 { | 28 { |
| 29 'variables': { | 29 'variables': { |
| 30 'v8_code': 1, | 30 'v8_code': 1, |
| 31 'v8_enable_i18n_support%': 1, | 31 'v8_enable_i18n_support%': 1, |
| 32 'v8_toolset_for_shell%': 'target', |
| 32 }, | 33 }, |
| 33 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], | 34 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], |
| 34 'target_defaults': { | 35 'target_defaults': { |
| 35 'type': 'executable', | 36 'type': 'executable', |
| 36 'dependencies': [ | 37 'dependencies': [ |
| 37 '../src/v8.gyp:v8', | 38 '../src/v8.gyp:v8', |
| 38 '../src/v8.gyp:v8_libplatform', | 39 '../src/v8.gyp:v8_libplatform', |
| 39 ], | 40 ], |
| 40 'include_dirs': [ | 41 'include_dirs': [ |
| 41 '..', | 42 '..', |
| (...skipping 11 matching lines...) Expand all Loading... |
| 53 ], | 54 ], |
| 54 }], | 55 }], |
| 55 ], | 56 ], |
| 56 }, | 57 }, |
| 57 'targets': [ | 58 'targets': [ |
| 58 { | 59 { |
| 59 'target_name': 'shell', | 60 'target_name': 'shell', |
| 60 'sources': [ | 61 'sources': [ |
| 61 'shell.cc', | 62 'shell.cc', |
| 62 ], | 63 ], |
| 64 'conditions': [ |
| 65 [ 'want_separate_host_toolset==1', { |
| 66 'toolsets': [ '<(v8_toolset_for_shell)', ], |
| 67 }], |
| 68 ], |
| 63 }, | 69 }, |
| 64 { | 70 { |
| 65 'target_name': 'hello-world', | 71 'target_name': 'hello-world', |
| 66 'sources': [ | 72 'sources': [ |
| 67 'hello-world.cc', | 73 'hello-world.cc', |
| 68 ], | 74 ], |
| 69 }, | 75 }, |
| 70 { | 76 { |
| 71 'target_name': 'process', | 77 'target_name': 'process', |
| 72 'sources': [ | 78 'sources': [ |
| 73 'process.cc', | 79 'process.cc', |
| 74 ], | 80 ], |
| 75 }, | 81 }, |
| 76 ], | 82 ], |
| 77 } | 83 } |
| OLD | NEW |