| 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 'includes': ['../build/common.gypi'], | 29 'includes': ['../build/common.gypi'], |
| 30 'variables': { | 30 'variables': { |
| 31 'console%': '', | 31 'console%': '', |
| 32 # Enable support for Intel VTune. Supported on ia32/x64 only |
| 33 'v8_enable_vtunejit%': 0, |
| 32 }, | 34 }, |
| 33 'targets': [ | 35 'targets': [ |
| 34 { | 36 { |
| 35 'target_name': 'd8', | 37 'target_name': 'd8', |
| 36 'type': 'executable', | 38 'type': 'executable', |
| 37 'dependencies': [ | 39 'dependencies': [ |
| 38 '../tools/gyp/v8.gyp:v8', | 40 '../tools/gyp/v8.gyp:v8', |
| 39 ], | 41 ], |
| 40 # Generated source files need this explicitly: | 42 # Generated source files need this explicitly: |
| 41 'include_dirs+': [ | 43 'include_dirs+': [ |
| (...skipping 21 matching lines...) Expand all Loading... |
| 63 }], | 65 }], |
| 64 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ | 66 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
| 65 or OS=="openbsd" or OS=="solaris" or OS=="android")', { | 67 or OS=="openbsd" or OS=="solaris" or OS=="android")', { |
| 66 'sources': [ 'd8-posix.cc', ] | 68 'sources': [ 'd8-posix.cc', ] |
| 67 }], | 69 }], |
| 68 [ 'OS=="win"', { | 70 [ 'OS=="win"', { |
| 69 'sources': [ 'd8-windows.cc', ] | 71 'sources': [ 'd8-windows.cc', ] |
| 70 }], | 72 }], |
| 71 ], | 73 ], |
| 72 }], | 74 }], |
| 75 ['v8_enable_vtunejit==1', { |
| 76 'dependencies': [ |
| 77 '../src/third_party/vtune/v8vtune.gyp:v8_vtune', |
| 78 ], |
| 79 }], |
| 73 ], | 80 ], |
| 74 }, | 81 }, |
| 75 { | 82 { |
| 76 'target_name': 'd8_js2c', | 83 'target_name': 'd8_js2c', |
| 77 'type': 'none', | 84 'type': 'none', |
| 78 'variables': { | 85 'variables': { |
| 79 'js_files': [ | 86 'js_files': [ |
| 80 'd8.js', | 87 'd8.js', |
| 81 'macros.py', | 88 'macros.py', |
| 82 ], | 89 ], |
| (...skipping 21 matching lines...) Expand all Loading... |
| 104 '<@(_outputs)', | 111 '<@(_outputs)', |
| 105 'D8', | 112 'D8', |
| 106 'off', # compress startup data | 113 'off', # compress startup data |
| 107 '<@(js_files)' | 114 '<@(js_files)' |
| 108 ], | 115 ], |
| 109 }, | 116 }, |
| 110 ], | 117 ], |
| 111 } | 118 } |
| 112 ], | 119 ], |
| 113 } | 120 } |
| OLD | NEW |