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 10 matching lines...) Expand all Loading... |
21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
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 'console%': '', | |
32 # Enable support for Intel VTune. Supported on ia32/x64 only | 31 # Enable support for Intel VTune. Supported on ia32/x64 only |
33 'v8_enable_vtunejit%': 0, | 32 'v8_enable_vtunejit%': 0, |
34 'v8_enable_i18n_support%': 1, | 33 'v8_enable_i18n_support%': 1, |
35 'v8_toolset_for_d8%': 'target', | 34 'v8_toolset_for_d8%': 'target', |
36 }, | 35 }, |
37 'includes': ['../build/toolchain.gypi', '../build/features.gypi'], | 36 'includes': ['../build/toolchain.gypi', '../build/features.gypi'], |
38 'targets': [ | 37 'targets': [ |
39 { | 38 { |
40 'target_name': 'd8', | 39 'target_name': 'd8', |
41 'type': 'executable', | 40 'type': 'executable', |
(...skipping 12 matching lines...) Expand all Loading... |
54 'startup-data-util.cc' | 53 'startup-data-util.cc' |
55 ], | 54 ], |
56 'defines': [ | 55 'defines': [ |
57 # TODO(jochen): Remove again after this is globally turned on. | 56 # TODO(jochen): Remove again after this is globally turned on. |
58 'V8_IMMINENT_DEPRECATION_WARNINGS', | 57 'V8_IMMINENT_DEPRECATION_WARNINGS', |
59 ], | 58 ], |
60 'conditions': [ | 59 'conditions': [ |
61 [ 'want_separate_host_toolset==1', { | 60 [ 'want_separate_host_toolset==1', { |
62 'toolsets': [ '<(v8_toolset_for_d8)', ], | 61 'toolsets': [ '<(v8_toolset_for_d8)', ], |
63 }], | 62 }], |
64 [ 'console=="readline"', { | |
65 'libraries': [ '-lreadline', ], | |
66 'sources': [ 'd8-readline.cc' ], | |
67 }], | |
68 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ | 63 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
69 or OS=="openbsd" or OS=="solaris" or OS=="android" \ | 64 or OS=="openbsd" or OS=="solaris" or OS=="android" \ |
70 or OS=="qnx" or OS=="aix")', { | 65 or OS=="qnx" or OS=="aix")', { |
71 'sources': [ 'd8-posix.cc', ] | 66 'sources': [ 'd8-posix.cc', ] |
72 }], | 67 }], |
73 [ 'OS=="win"', { | 68 [ 'OS=="win"', { |
74 'sources': [ 'd8-windows.cc', ] | 69 'sources': [ 'd8-windows.cc', ] |
75 }], | 70 }], |
76 [ 'component!="shared_library"', { | 71 [ 'component!="shared_library"', { |
77 'sources': [ | 72 'sources': [ |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 '../tools/js2c.py', | 133 '../tools/js2c.py', |
139 '<@(_outputs)', | 134 '<@(_outputs)', |
140 'D8', | 135 'D8', |
141 '<@(js_files)' | 136 '<@(js_files)' |
142 ], | 137 ], |
143 }, | 138 }, |
144 ], | 139 ], |
145 } | 140 } |
146 ], | 141 ], |
147 } | 142 } |
OLD | NEW |