| OLD | NEW |
| 1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 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 12 matching lines...) Expand all Loading... |
| 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 'chromium_code': 1, | 30 'chromium_code': 1, |
| 31 'msvs_use_common_release': 0, | 31 'msvs_use_common_release': 0, |
| 32 'gcc_version%': 'unknown', | 32 'gcc_version%': 'unknown', |
| 33 'target_arch%': 'ia32', | 33 'base_source_files': [ |
| 34 'v8_use_snapshot%': 'true', | 34 '../../src/arm/assembler-arm-inl.h', |
| 35 '../../src/arm/assembler-arm.cc', |
| 36 '../../src/arm/assembler-arm.h', |
| 37 '../../src/arm/builtins-arm.cc', |
| 38 '../../src/arm/codegen-arm.cc', |
| 39 '../../src/arm/codegen-arm.h', |
| 40 '../../src/arm/constants-arm.h', |
| 41 '../../src/arm/cpu-arm.cc', |
| 42 '../../src/arm/debug-arm.cc', |
| 43 '../../src/arm/disasm-arm.cc', |
| 44 '../../src/arm/frames-arm.cc', |
| 45 '../../src/arm/frames-arm.h', |
| 46 '../../src/arm/ic-arm.cc', |
| 47 '../../src/arm/jump-target-arm.cc', |
| 48 '../../src/arm/macro-assembler-arm.cc', |
| 49 '../../src/arm/macro-assembler-arm.h', |
| 50 '../../src/arm/regexp-macro-assembler-arm.cc', |
| 51 '../../src/arm/regexp-macro-assembler-arm.h', |
| 52 '../../src/arm/register-allocator-arm.cc', |
| 53 '../../src/arm/simulator-arm.cc', |
| 54 '../../src/arm/stub-cache-arm.cc', |
| 55 '../../src/arm/virtual-frame-arm.cc', |
| 56 '../../src/arm/virtual-frame-arm.h', |
| 57 '../../src/ia32/assembler-ia32-inl.h', |
| 58 '../../src/ia32/assembler-ia32.cc', |
| 59 '../../src/ia32/assembler-ia32.h', |
| 60 '../../src/ia32/builtins-ia32.cc', |
| 61 '../../src/ia32/codegen-ia32.cc', |
| 62 '../../src/ia32/codegen-ia32.h', |
| 63 '../../src/ia32/cpu-ia32.cc', |
| 64 '../../src/ia32/debug-ia32.cc', |
| 65 '../../src/ia32/disasm-ia32.cc', |
| 66 '../../src/ia32/frames-ia32.cc', |
| 67 '../../src/ia32/frames-ia32.h', |
| 68 '../../src/ia32/ic-ia32.cc', |
| 69 '../../src/ia32/jump-target-ia32.cc', |
| 70 '../../src/ia32/macro-assembler-ia32.cc', |
| 71 '../../src/ia32/macro-assembler-ia32.h', |
| 72 '../../src/ia32/regexp-macro-assembler-ia32.cc', |
| 73 '../../src/ia32/regexp-macro-assembler-ia32.h', |
| 74 '../../src/ia32/register-allocator-ia32.cc', |
| 75 '../../src/ia32/stub-cache-ia32.cc', |
| 76 '../../src/ia32/virtual-frame-ia32.cc', |
| 77 '../../src/ia32/virtual-frame-ia32.h', |
| 78 '../../src/third_party/dtoa/dtoa.c', |
| 79 '../../src/accessors.cc', |
| 80 '../../src/accessors.h', |
| 81 '../../src/allocation.cc', |
| 82 '../../src/allocation.h', |
| 83 '../../src/api.cc', |
| 84 '../../src/api.h', |
| 85 '../../src/apiutils.h', |
| 86 '../../src/arguments.h', |
| 87 '../../src/assembler.cc', |
| 88 '../../src/assembler.h', |
| 89 '../../src/ast.cc', |
| 90 '../../src/ast.h', |
| 91 '../../src/bootstrapper.cc', |
| 92 '../../src/bootstrapper.h', |
| 93 '../../src/builtins.cc', |
| 94 '../../src/builtins.h', |
| 95 '../../src/bytecodes-irregexp.h', |
| 96 '../../src/char-predicates-inl.h', |
| 97 '../../src/char-predicates.h', |
| 98 '../../src/checks.cc', |
| 99 '../../src/checks.h', |
| 100 '../../src/code-stubs.cc', |
| 101 '../../src/code-stubs.h', |
| 102 '../../src/code.h', |
| 103 '../../src/codegen-inl.h', |
| 104 '../../src/codegen.cc', |
| 105 '../../src/codegen.h', |
| 106 '../../src/compilation-cache.cc', |
| 107 '../../src/compilation-cache.h', |
| 108 '../../src/compiler.cc', |
| 109 '../../src/compiler.h', |
| 110 '../../src/contexts.cc', |
| 111 '../../src/contexts.h', |
| 112 '../../src/conversions-inl.h', |
| 113 '../../src/conversions.cc', |
| 114 '../../src/conversions.h', |
| 115 '../../src/counters.cc', |
| 116 '../../src/counters.h', |
| 117 '../../src/cpu.h', |
| 118 '../../src/dateparser.cc', |
| 119 '../../src/dateparser.h', |
| 120 '../../src/dateparser-inl.h', |
| 121 '../../src/debug.cc', |
| 122 '../../src/debug.h', |
| 123 '../../src/debug-agent.cc', |
| 124 '../../src/debug-agent.h', |
| 125 '../../src/disasm.h', |
| 126 '../../src/disassembler.cc', |
| 127 '../../src/disassembler.h', |
| 128 '../../src/dtoa-config.c', |
| 129 '../../src/execution.cc', |
| 130 '../../src/execution.h', |
| 131 '../../src/factory.cc', |
| 132 '../../src/factory.h', |
| 133 '../../src/flag-definitions.h', |
| 134 '../../src/flags.cc', |
| 135 '../../src/flags.h', |
| 136 '../../src/frames-inl.h', |
| 137 '../../src/frames.cc', |
| 138 '../../src/frames.h', |
| 139 '../../src/frame-element.h', |
| 140 '../../src/func-name-inferrer.cc', |
| 141 '../../src/func-name-inferrer.h', |
| 142 '../../src/global-handles.cc', |
| 143 '../../src/global-handles.h', |
| 144 '../../src/globals.h', |
| 145 '../../src/handles-inl.h', |
| 146 '../../src/handles.cc', |
| 147 '../../src/handles.h', |
| 148 '../../src/hashmap.cc', |
| 149 '../../src/hashmap.h', |
| 150 '../../src/heap-inl.h', |
| 151 '../../src/heap.cc', |
| 152 '../../src/heap.h', |
| 153 '../../src/ic-inl.h', |
| 154 '../../src/ic.cc', |
| 155 '../../src/ic.h', |
| 156 '../../src/interpreter-irregexp.cc', |
| 157 '../../src/interpreter-irregexp.h', |
| 158 '../../src/jump-target.cc', |
| 159 '../../src/jump-target.h', |
| 160 '../../src/jump-target-inl.h', |
| 161 '../../src/jsregexp-inl.h', |
| 162 '../../src/jsregexp.cc', |
| 163 '../../src/jsregexp.h', |
| 164 '../../src/list-inl.h', |
| 165 '../../src/list.h', |
| 166 '../../src/log.cc', |
| 167 '../../src/log-inl.h', |
| 168 '../../src/log.h', |
| 169 '../../src/log-utils.cc', |
| 170 '../../src/log-utils.h', |
| 171 '../../src/macro-assembler.h', |
| 172 '../../src/mark-compact.cc', |
| 173 '../../src/mark-compact.h', |
| 174 '../../src/memory.h', |
| 175 '../../src/messages.cc', |
| 176 '../../src/messages.h', |
| 177 '../../src/natives.h', |
| 178 '../../src/objects-debug.cc', |
| 179 '../../src/objects-inl.h', |
| 180 '../../src/objects.cc', |
| 181 '../../src/objects.h', |
| 182 '../../src/oprofile-agent.h', |
| 183 '../../src/oprofile-agent.cc', |
| 184 '../../src/parser.cc', |
| 185 '../../src/parser.h', |
| 186 '../../src/platform-freebsd.cc', |
| 187 '../../src/platform-linux.cc', |
| 188 '../../src/platform-macos.cc', |
| 189 '../../src/platform-nullos.cc', |
| 190 '../../src/platform-posix.cc', |
| 191 '../../src/platform-win32.cc', |
| 192 '../../src/platform.h', |
| 193 '../../src/prettyprinter.cc', |
| 194 '../../src/prettyprinter.h', |
| 195 '../../src/property.cc', |
| 196 '../../src/property.h', |
| 197 '../../src/regexp-macro-assembler-irregexp-inl.h', |
| 198 '../../src/regexp-macro-assembler-irregexp.cc', |
| 199 '../../src/regexp-macro-assembler-irregexp.h', |
| 200 '../../src/regexp-macro-assembler-tracer.cc', |
| 201 '../../src/regexp-macro-assembler-tracer.h', |
| 202 '../../src/regexp-macro-assembler.cc', |
| 203 '../../src/regexp-macro-assembler.h', |
| 204 '../../src/regexp-stack.cc', |
| 205 '../../src/regexp-stack.h', |
| 206 '../../src/register-allocator.h', |
| 207 '../../src/register-allocator-inl.h', |
| 208 '../../src/register-allocator.cc', |
| 209 '../../src/rewriter.cc', |
| 210 '../../src/rewriter.h', |
| 211 '../../src/runtime.cc', |
| 212 '../../src/runtime.h', |
| 213 '../../src/scanner.cc', |
| 214 '../../src/scanner.h', |
| 215 '../../src/scopeinfo.cc', |
| 216 '../../src/scopeinfo.h', |
| 217 '../../src/scopes.cc', |
| 218 '../../src/scopes.h', |
| 219 '../../src/serialize.cc', |
| 220 '../../src/serialize.h', |
| 221 '../../src/shell.h', |
| 222 '../../src/smart-pointer.h', |
| 223 '../../src/snapshot-common.cc', |
| 224 '../../src/snapshot.h', |
| 225 '../../src/spaces-inl.h', |
| 226 '../../src/spaces.cc', |
| 227 '../../src/spaces.h', |
| 228 '../../src/string-stream.cc', |
| 229 '../../src/string-stream.h', |
| 230 '../../src/stub-cache.cc', |
| 231 '../../src/stub-cache.h', |
| 232 '../../src/token.cc', |
| 233 '../../src/token.h', |
| 234 '../../src/top.cc', |
| 235 '../../src/top.h', |
| 236 '../../src/unicode-inl.h', |
| 237 '../../src/unicode.cc', |
| 238 '../../src/unicode.h', |
| 239 '../../src/usage-analyzer.cc', |
| 240 '../../src/usage-analyzer.h', |
| 241 '../../src/utils.cc', |
| 242 '../../src/utils.h', |
| 243 '../../src/v8-counters.cc', |
| 244 '../../src/v8-counters.h', |
| 245 '../../src/v8.cc', |
| 246 '../../src/v8.h', |
| 247 '../../src/v8threads.cc', |
| 248 '../../src/v8threads.h', |
| 249 '../../src/variables.cc', |
| 250 '../../src/variables.h', |
| 251 '../../src/version.cc', |
| 252 '../../src/version.h', |
| 253 '../../src/virtual-frame.h', |
| 254 '../../src/virtual-frame.cc', |
| 255 '../../src/zone-inl.h', |
| 256 '../../src/zone.cc', |
| 257 '../../src/zone.h', |
| 258 ], |
| 259 'not_base_source_files': [ |
| 260 # These files are #included by others and are not meant to be compiled |
| 261 # directly. |
| 262 '../../src/third_party/dtoa/dtoa.c', |
| 263 ], |
| 264 'd8_source_files': [ |
| 265 '../../src/d8-debug.cc', |
| 266 '../../src/d8-posix.cc', |
| 267 '../../src/d8-readline.cc', |
| 268 '../../src/d8-windows.cc', |
| 269 '../../src/d8.cc', |
| 270 ], |
| 35 }, | 271 }, |
| 36 'includes': [ | 272 'includes': [ |
| 37 '../../../build/common.gypi', | 273 '../../../build/common.gypi', |
| 38 ], | 274 ], |
| 39 'target_defaults': { | 275 'target_defaults': { |
| 40 'defines': [ | 276 'defines': [ |
| 41 'ENABLE_LOGGING_AND_PROFILING', | 277 'ENABLE_LOGGING_AND_PROFILING', |
| 42 ], | 278 ], |
| 43 'conditions': [ | |
| 44 ['target_arch=="arm"', { | |
| 45 'defines': [ | |
| 46 'V8_TARGET_ARCH_ARM', | |
| 47 ], | |
| 48 }], | |
| 49 ['target_arch=="ia32"', { | |
| 50 'defines': [ | |
| 51 'V8_TARGET_ARCH_IA32', | |
| 52 'V8_NATIVE_REGEXP', | |
| 53 ], | |
| 54 }], | |
| 55 ], | |
| 56 'configurations': { | 279 'configurations': { |
| 57 'Debug': { | 280 'Debug': { |
| 58 'defines': [ | 281 'defines': [ |
| 59 'DEBUG', | 282 'DEBUG', |
| 60 '_DEBUG', | 283 '_DEBUG', |
| 61 'ENABLE_DISASSEMBLER', | 284 'ENABLE_DISASSEMBLER', |
| 62 ], | 285 ], |
| 63 'msvs_settings': { | 286 'msvs_settings': { |
| 64 'VCCLCompilerTool': { | 287 'VCCLCompilerTool': { |
| 65 'Optimizations': '0', | 288 'Optimizations': '0', |
| (...skipping 10 matching lines...) Expand all Loading... |
| 76 'cflags!': [ | 299 'cflags!': [ |
| 77 '-O2', | 300 '-O2', |
| 78 ], | 301 ], |
| 79 'cflags': [ | 302 'cflags': [ |
| 80 '-fomit-frame-pointer', | 303 '-fomit-frame-pointer', |
| 81 '-O3', | 304 '-O3', |
| 82 ], | 305 ], |
| 83 'conditions': [ | 306 'conditions': [ |
| 84 [ 'gcc_version=="44"', { | 307 [ 'gcc_version=="44"', { |
| 85 'cflags': [ | 308 'cflags': [ |
| 86 # Avoid gcc 4.4 strict aliasing issues in dtoa.c | 309 # Avoid gcc 4.4 strict aliasing issues in dtoa.c |
| 87 '-fno-strict-aliasing', | 310 '-fno-strict-aliasing', |
| 88 # Avoid crashes with gcc 4.4 in the v8 test suite. | 311 # Avoid crashes with gcc 4.4 in the v8 test suite. |
| 89 '-fno-tree-vrp', | 312 '-fno-tree-vrp', |
| 90 ], | 313 ], |
| 91 }], | 314 }], |
| 92 ], | 315 ], |
| 93 'cflags_cc': [ | 316 'cflags_cc': [ |
| 94 '-fno-rtti', | 317 '-fno-rtti', |
| 95 ], | 318 ], |
| 96 }], | 319 }], |
| 97 ['OS=="win"', { | 320 ['OS=="win"', { |
| 98 'msvs_configuration_attributes': { | 321 'msvs_configuration_attributes': { |
| 99 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)', | 322 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)', |
| (...skipping 20 matching lines...) Expand all Loading... |
| 120 }], | 343 }], |
| 121 ], | 344 ], |
| 122 }, | 345 }, |
| 123 }, | 346 }, |
| 124 'xcode_settings': { | 347 'xcode_settings': { |
| 125 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', | 348 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', |
| 126 'GCC_ENABLE_CPP_RTTI': 'NO', | 349 'GCC_ENABLE_CPP_RTTI': 'NO', |
| 127 }, | 350 }, |
| 128 }, | 351 }, |
| 129 'targets': [ | 352 'targets': [ |
| 353 # Targets that apply to any architecture. |
| 130 { | 354 { |
| 131 'target_name': 'v8', | 355 'target_name': 'js2c', |
| 132 'type': 'none', | 356 'type': 'none', |
| 133 'conditions': [ | 357 'variables': { |
| 134 ['v8_use_snapshot=="true"', { | 358 'library_files': [ |
| 135 'dependencies': ['v8_snapshot'], | 359 '../../src/runtime.js', |
| 136 }, | 360 '../../src/v8natives.js', |
| 137 { | 361 '../../src/array.js', |
| 138 'dependencies': ['v8_nosnapshot'], | 362 '../../src/string.js', |
| 139 }], | 363 '../../src/uri.js', |
| 140 ], | 364 '../../src/math.js', |
| 141 'direct_dependent_settings': { | 365 '../../src/messages.js', |
| 142 'include_dirs': [ | 366 '../../src/apinatives.js', |
| 143 '../../include', | 367 '../../src/debug-delay.js', |
| 368 '../../src/mirror-delay.js', |
| 369 '../../src/date-delay.js', |
| 370 '../../src/json-delay.js', |
| 371 '../../src/regexp-delay.js', |
| 372 '../../src/macros.py', |
| 144 ], | 373 ], |
| 145 }, | 374 }, |
| 146 }, | |
| 147 { | |
| 148 'target_name': 'v8_snapshot', | |
| 149 'type': '<(library)', | |
| 150 'dependencies': [ | |
| 151 'mksnapshot', | |
| 152 'js2c', | |
| 153 'v8_base', | |
| 154 ], | |
| 155 'include_dirs': [ | |
| 156 '../../src', | |
| 157 ], | |
| 158 'sources': [ | |
| 159 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', | |
| 160 '<(INTERMEDIATE_DIR)/snapshot.cc', | |
| 161 ], | |
| 162 'actions': [ | 375 'actions': [ |
| 163 { | 376 { |
| 164 'action_name': 'run_mksnapshot', | 377 'action_name': 'js2c', |
| 165 'inputs': [ | 378 'inputs': [ |
| 166 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 379 '../../tools/js2c.py', |
| 380 '<@(library_files)', |
| 167 ], | 381 ], |
| 168 'outputs': [ | 382 'outputs': [ |
| 169 '<(INTERMEDIATE_DIR)/snapshot.cc', | 383 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 384 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', |
| 170 ], | 385 ], |
| 171 'action': ['<@(_inputs)', '<@(_outputs)'], | 386 'action': ['python', '../../tools/js2c.py', '<@(_outputs)', 'CORE', '<
@(library_files)'], |
| 172 }, | 387 }, |
| 173 ], | 388 ], |
| 174 }, | 389 }, |
| 175 { | 390 { |
| 176 'target_name': 'v8_nosnapshot', | 391 'target_name': 'd8_js2c', |
| 177 'type': '<(library)', | 392 'type': 'none', |
| 178 'dependencies': [ | 393 'variables': { |
| 179 'js2c', | 394 'library_files': [ |
| 180 'v8_base', | 395 '../../src/d8.js', |
| 181 ], | 396 '../../src/macros.py', |
| 182 'include_dirs': [ | 397 ], |
| 183 '../../src', | 398 }, |
| 184 ], | 399 'actions': [ |
| 185 'sources': [ | 400 { |
| 186 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 401 'action_name': 'js2c', |
| 187 '../../src/snapshot-empty.cc', | 402 'inputs': [ |
| 403 '../../tools/js2c.py', |
| 404 '<@(library_files)', |
| 405 ], |
| 406 'extra_inputs': [ |
| 407 ], |
| 408 'outputs': [ |
| 409 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', |
| 410 '<(SHARED_INTERMEDIATE_DIR)/d8-js-empty.cc', |
| 411 ], |
| 412 'action': ['python', '../../tools/js2c.py', '<@(_outputs)', 'D8', '<@(
library_files)'], |
| 413 }, |
| 188 ], | 414 ], |
| 189 }, | 415 }, |
| 416 |
| 417 # Targets to build v8 for the native architecture (ia32). |
| 190 { | 418 { |
| 191 'target_name': 'v8_base', | 419 'target_name': 'v8_base', |
| 192 'type': '<(library)', | 420 'type': '<(library)', |
| 193 'include_dirs': [ | 421 'defines': [ |
| 422 'V8_TARGET_ARCH_IA32', |
| 423 'V8_NATIVE_REGEXP' |
| 424 ], |
| 425 'include_dirs+': [ |
| 194 '../../src', | 426 '../../src', |
| 427 '../../src/ia32', |
| 195 ], | 428 ], |
| 429 'msvs_guid': 'EC8B7909-62AF-470D-A75D-E1D89C837142', |
| 196 'sources': [ | 430 'sources': [ |
| 197 '../../src/accessors.cc', | 431 '<@(base_source_files)', |
| 198 '../../src/accessors.h', | 432 ], |
| 199 '../../src/allocation.cc', | 433 'sources!': [ |
| 200 '../../src/allocation.h', | 434 '<@(not_base_source_files)', |
| 201 '../../src/api.cc', | 435 ], |
| 202 '../../src/api.h', | 436 'sources/': [ |
| 203 '../../src/apiutils.h', | 437 ['exclude', '-arm\\.cc$'], |
| 204 '../../src/arguments.h', | 438 ['exclude', 'src/platform-.*\\.cc$' ], |
| 205 '../../src/assembler.cc', | |
| 206 '../../src/assembler.h', | |
| 207 '../../src/ast.cc', | |
| 208 '../../src/ast.h', | |
| 209 '../../src/bootstrapper.cc', | |
| 210 '../../src/bootstrapper.h', | |
| 211 '../../src/builtins.cc', | |
| 212 '../../src/builtins.h', | |
| 213 '../../src/bytecodes-irregexp.h', | |
| 214 '../../src/char-predicates-inl.h', | |
| 215 '../../src/char-predicates.h', | |
| 216 '../../src/checks.cc', | |
| 217 '../../src/checks.h', | |
| 218 '../../src/code-stubs.cc', | |
| 219 '../../src/code-stubs.h', | |
| 220 '../../src/code.h', | |
| 221 '../../src/codegen-inl.h', | |
| 222 '../../src/codegen.cc', | |
| 223 '../../src/codegen.h', | |
| 224 '../../src/compilation-cache.cc', | |
| 225 '../../src/compilation-cache.h', | |
| 226 '../../src/compiler.cc', | |
| 227 '../../src/compiler.h', | |
| 228 '../../src/contexts.cc', | |
| 229 '../../src/contexts.h', | |
| 230 '../../src/conversions-inl.h', | |
| 231 '../../src/conversions.cc', | |
| 232 '../../src/conversions.h', | |
| 233 '../../src/counters.cc', | |
| 234 '../../src/counters.h', | |
| 235 '../../src/cpu.h', | |
| 236 '../../src/dateparser.cc', | |
| 237 '../../src/dateparser.h', | |
| 238 '../../src/dateparser-inl.h', | |
| 239 '../../src/debug.cc', | |
| 240 '../../src/debug.h', | |
| 241 '../../src/debug-agent.cc', | |
| 242 '../../src/debug-agent.h', | |
| 243 '../../src/disasm.h', | |
| 244 '../../src/disassembler.cc', | |
| 245 '../../src/disassembler.h', | |
| 246 '../../src/dtoa-config.c', | |
| 247 '../../src/execution.cc', | |
| 248 '../../src/execution.h', | |
| 249 '../../src/factory.cc', | |
| 250 '../../src/factory.h', | |
| 251 '../../src/flag-definitions.h', | |
| 252 '../../src/flags.cc', | |
| 253 '../../src/flags.h', | |
| 254 '../../src/frames-inl.h', | |
| 255 '../../src/frames.cc', | |
| 256 '../../src/frames.h', | |
| 257 '../../src/frame-element.h', | |
| 258 '../../src/func-name-inferrer.cc', | |
| 259 '../../src/func-name-inferrer.h', | |
| 260 '../../src/global-handles.cc', | |
| 261 '../../src/global-handles.h', | |
| 262 '../../src/globals.h', | |
| 263 '../../src/handles-inl.h', | |
| 264 '../../src/handles.cc', | |
| 265 '../../src/handles.h', | |
| 266 '../../src/hashmap.cc', | |
| 267 '../../src/hashmap.h', | |
| 268 '../../src/heap-inl.h', | |
| 269 '../../src/heap.cc', | |
| 270 '../../src/heap.h', | |
| 271 '../../src/ic-inl.h', | |
| 272 '../../src/ic.cc', | |
| 273 '../../src/ic.h', | |
| 274 '../../src/interpreter-irregexp.cc', | |
| 275 '../../src/interpreter-irregexp.h', | |
| 276 '../../src/jump-target.cc', | |
| 277 '../../src/jump-target.h', | |
| 278 '../../src/jump-target-inl.h', | |
| 279 '../../src/jsregexp-inl.h', | |
| 280 '../../src/jsregexp.cc', | |
| 281 '../../src/jsregexp.h', | |
| 282 '../../src/list-inl.h', | |
| 283 '../../src/list.h', | |
| 284 '../../src/log.cc', | |
| 285 '../../src/log-inl.h', | |
| 286 '../../src/log.h', | |
| 287 '../../src/log-utils.cc', | |
| 288 '../../src/log-utils.h', | |
| 289 '../../src/macro-assembler.h', | |
| 290 '../../src/mark-compact.cc', | |
| 291 '../../src/mark-compact.h', | |
| 292 '../../src/memory.h', | |
| 293 '../../src/messages.cc', | |
| 294 '../../src/messages.h', | |
| 295 '../../src/natives.h', | |
| 296 '../../src/objects-debug.cc', | |
| 297 '../../src/objects-inl.h', | |
| 298 '../../src/objects.cc', | |
| 299 '../../src/objects.h', | |
| 300 '../../src/oprofile-agent.h', | |
| 301 '../../src/oprofile-agent.cc', | |
| 302 '../../src/parser.cc', | |
| 303 '../../src/parser.h', | |
| 304 '../../src/platform.h', | |
| 305 '../../src/prettyprinter.cc', | |
| 306 '../../src/prettyprinter.h', | |
| 307 '../../src/property.cc', | |
| 308 '../../src/property.h', | |
| 309 '../../src/regexp-macro-assembler-irregexp-inl.h', | |
| 310 '../../src/regexp-macro-assembler-irregexp.cc', | |
| 311 '../../src/regexp-macro-assembler-irregexp.h', | |
| 312 '../../src/regexp-macro-assembler-tracer.cc', | |
| 313 '../../src/regexp-macro-assembler-tracer.h', | |
| 314 '../../src/regexp-macro-assembler.cc', | |
| 315 '../../src/regexp-macro-assembler.h', | |
| 316 '../../src/regexp-stack.cc', | |
| 317 '../../src/regexp-stack.h', | |
| 318 '../../src/register-allocator.h', | |
| 319 '../../src/register-allocator-inl.h', | |
| 320 '../../src/register-allocator.cc', | |
| 321 '../../src/rewriter.cc', | |
| 322 '../../src/rewriter.h', | |
| 323 '../../src/runtime.cc', | |
| 324 '../../src/runtime.h', | |
| 325 '../../src/scanner.cc', | |
| 326 '../../src/scanner.h', | |
| 327 '../../src/scopeinfo.cc', | |
| 328 '../../src/scopeinfo.h', | |
| 329 '../../src/scopes.cc', | |
| 330 '../../src/scopes.h', | |
| 331 '../../src/serialize.cc', | |
| 332 '../../src/serialize.h', | |
| 333 '../../src/shell.h', | |
| 334 '../../src/smart-pointer.h', | |
| 335 '../../src/snapshot-common.cc', | |
| 336 '../../src/snapshot.h', | |
| 337 '../../src/spaces-inl.h', | |
| 338 '../../src/spaces.cc', | |
| 339 '../../src/spaces.h', | |
| 340 '../../src/string-stream.cc', | |
| 341 '../../src/string-stream.h', | |
| 342 '../../src/stub-cache.cc', | |
| 343 '../../src/stub-cache.h', | |
| 344 '../../src/token.cc', | |
| 345 '../../src/token.h', | |
| 346 '../../src/top.cc', | |
| 347 '../../src/top.h', | |
| 348 '../../src/unicode-inl.h', | |
| 349 '../../src/unicode.cc', | |
| 350 '../../src/unicode.h', | |
| 351 '../../src/usage-analyzer.cc', | |
| 352 '../../src/usage-analyzer.h', | |
| 353 '../../src/utils.cc', | |
| 354 '../../src/utils.h', | |
| 355 '../../src/v8-counters.cc', | |
| 356 '../../src/v8-counters.h', | |
| 357 '../../src/v8.cc', | |
| 358 '../../src/v8.h', | |
| 359 '../../src/v8threads.cc', | |
| 360 '../../src/v8threads.h', | |
| 361 '../../src/variables.cc', | |
| 362 '../../src/variables.h', | |
| 363 '../../src/version.cc', | |
| 364 '../../src/version.h', | |
| 365 '../../src/virtual-frame.h', | |
| 366 '../../src/virtual-frame.cc', | |
| 367 '../../src/zone-inl.h', | |
| 368 '../../src/zone.cc', | |
| 369 '../../src/zone.h', | |
| 370 ], | 439 ], |
| 371 'conditions': [ | 440 'conditions': [ |
| 372 ['target_arch=="arm"', { | 441 ['OS=="linux"', |
| 373 'include_dirs+': [ | 442 { |
| 374 '../../src/arm', | |
| 375 ], | |
| 376 'sources': [ | |
| 377 '../../src/arm/assembler-arm-inl.h', | |
| 378 '../../src/arm/assembler-arm.cc', | |
| 379 '../../src/arm/assembler-arm.h', | |
| 380 '../../src/arm/builtins-arm.cc', | |
| 381 '../../src/arm/codegen-arm.cc', | |
| 382 '../../src/arm/codegen-arm.h', | |
| 383 '../../src/arm/constants-arm.h', | |
| 384 '../../src/arm/cpu-arm.cc', | |
| 385 '../../src/arm/debug-arm.cc', | |
| 386 '../../src/arm/disasm-arm.cc', | |
| 387 '../../src/arm/frames-arm.cc', | |
| 388 '../../src/arm/frames-arm.h', | |
| 389 '../../src/arm/ic-arm.cc', | |
| 390 '../../src/arm/jump-target-arm.cc', | |
| 391 '../../src/arm/macro-assembler-arm.cc', | |
| 392 '../../src/arm/macro-assembler-arm.h', | |
| 393 '../../src/arm/regexp-macro-assembler-arm.cc', | |
| 394 '../../src/arm/regexp-macro-assembler-arm.h', | |
| 395 '../../src/arm/register-allocator-arm.cc', | |
| 396 '../../src/arm/simulator-arm.cc', | |
| 397 '../../src/arm/stub-cache-arm.cc', | |
| 398 '../../src/arm/virtual-frame-arm.cc', | |
| 399 '../../src/arm/virtual-frame-arm.h', | |
| 400 ], | |
| 401 }], | |
| 402 ['target_arch=="ia32"', { | |
| 403 'include_dirs+': [ | |
| 404 '../../src/ia32', | |
| 405 ], | |
| 406 'sources': [ | |
| 407 '../../src/ia32/assembler-ia32-inl.h', | |
| 408 '../../src/ia32/assembler-ia32.cc', | |
| 409 '../../src/ia32/assembler-ia32.h', | |
| 410 '../../src/ia32/builtins-ia32.cc', | |
| 411 '../../src/ia32/codegen-ia32.cc', | |
| 412 '../../src/ia32/codegen-ia32.h', | |
| 413 '../../src/ia32/cpu-ia32.cc', | |
| 414 '../../src/ia32/debug-ia32.cc', | |
| 415 '../../src/ia32/disasm-ia32.cc', | |
| 416 '../../src/ia32/frames-ia32.cc', | |
| 417 '../../src/ia32/frames-ia32.h', | |
| 418 '../../src/ia32/ic-ia32.cc', | |
| 419 '../../src/ia32/jump-target-ia32.cc', | |
| 420 '../../src/ia32/macro-assembler-ia32.cc', | |
| 421 '../../src/ia32/macro-assembler-ia32.h', | |
| 422 '../../src/ia32/regexp-macro-assembler-ia32.cc', | |
| 423 '../../src/ia32/regexp-macro-assembler-ia32.h', | |
| 424 '../../src/ia32/register-allocator-ia32.cc', | |
| 425 '../../src/ia32/stub-cache-ia32.cc', | |
| 426 '../../src/ia32/virtual-frame-ia32.cc', | |
| 427 '../../src/ia32/virtual-frame-ia32.h', | |
| 428 ], | |
| 429 }], | |
| 430 ['OS=="linux"', { | |
| 431 'link_settings': { | 443 'link_settings': { |
| 432 'libraries': [ | 444 'libraries': [ |
| 433 # Needed for clock_gettime() used by src/platform-linux.cc. | 445 # Needed for clock_gettime() used by src/platform-linux.cc. |
| 434 '-lrt', | 446 '-lrt', |
| 435 ]}, | 447 ], |
| 436 'sources': [ | 448 }, |
| 437 '../../src/platform-linux.cc', | 449 'sources/': [ |
| 438 '../../src/platform-posix.cc' | 450 ['include', 'src/platform-linux\\.cc$'], |
| 439 ], | 451 ['include', 'src/platform-posix\\.cc$'] |
| 452 ] |
| 440 } | 453 } |
| 441 ], | 454 ], |
| 442 ['OS=="mac"', { | 455 ['OS=="mac"', |
| 443 'sources': [ | 456 { |
| 444 '../../src/platform-macos.cc', | 457 'sources/': [ |
| 445 '../../src/platform-posix.cc' | 458 ['include', 'src/platform-macos\\.cc$'], |
| 446 ]}, | 459 ['include', 'src/platform-posix\\.cc$'] |
| 460 ] |
| 461 } |
| 447 ], | 462 ], |
| 448 ['OS=="win"', { | 463 ['OS=="win"', { |
| 449 'sources': [ | 464 'sources/': [['include', 'src/platform-win32\\.cc$']], |
| 450 '../../src/platform-win32.cc', | |
| 451 ], | |
| 452 # 4355, 4800 came from common.vsprops | 465 # 4355, 4800 came from common.vsprops |
| 453 # 4018, 4244 were a per file config on dtoa-config.c | 466 # 4018, 4244 were a per file config on dtoa-config.c |
| 454 # TODO: It's probably possible and desirable to stop disabling the | 467 # TODO: It's probably possible and desirable to stop disabling the |
| 455 # dtoa-specific warnings by modifying dtoa as was done in Chromium | 468 # dtoa-specific warnings by modifying dtoa as was done in Chromium |
| 456 # r9255. Refer to that revision for details. | 469 # r9255. Refer to that revision for details. |
| 457 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], | 470 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], |
| 458 'link_settings': { | 471 'link_settings': { |
| 459 'libraries': [ '-lwinmm.lib' ], | 472 'libraries': [ '-lwinmm.lib' ], |
| 460 }, | 473 }, |
| 461 }], | 474 }], |
| 462 ], | 475 ], |
| 463 }, | 476 }, |
| 464 { | 477 { |
| 465 'target_name': 'js2c', | 478 'target_name': 'v8_nosnapshot', |
| 466 'type': 'none', | 479 'type': '<(library)', |
| 467 'variables': { | 480 'defines': [ |
| 468 'library_files': [ | 481 'V8_TARGET_ARCH_IA32', |
| 469 '../../src/runtime.js', | 482 'V8_NATIVE_REGEXP' |
| 470 '../../src/v8natives.js', | 483 ], |
| 471 '../../src/array.js', | 484 'dependencies': [ |
| 472 '../../src/string.js', | 485 'js2c', |
| 473 '../../src/uri.js', | 486 'v8_base', |
| 474 '../../src/math.js', | 487 ], |
| 475 '../../src/messages.js', | 488 'include_dirs': [ |
| 476 '../../src/apinatives.js', | 489 '../../src', |
| 477 '../../src/debug-delay.js', | 490 ], |
| 478 '../../src/mirror-delay.js', | 491 'sources': [ |
| 479 '../../src/date-delay.js', | 492 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 480 '../../src/json-delay.js', | 493 '../../src/snapshot-empty.cc', |
| 481 '../../src/regexp-delay.js', | 494 ], |
| 482 '../../src/macros.py', | 495 'export_dependent_settings': [ |
| 483 ], | 496 'v8_base', |
| 484 }, | 497 ], |
| 498 }, |
| 499 { |
| 500 'target_name': 'mksnapshot', |
| 501 'type': 'executable', |
| 502 'dependencies': [ |
| 503 'v8_nosnapshot', |
| 504 ], |
| 505 'msvs_guid': '865575D0-37E2-405E-8CBA-5F6C485B5A26', |
| 506 'sources': [ |
| 507 '../../src/mksnapshot.cc', |
| 508 ], |
| 509 }, |
| 510 { |
| 511 'target_name': 'v8', |
| 512 'type': '<(library)', |
| 513 'defines': [ |
| 514 'V8_TARGET_ARCH_IA32', |
| 515 'V8_NATIVE_REGEXP' |
| 516 ], |
| 517 'dependencies': [ |
| 518 'js2c', |
| 519 'mksnapshot', |
| 520 'v8_base', |
| 521 ], |
| 522 'msvs_guid': '21E22961-22BF-4493-BD3A-868F93DA5179', |
| 485 'actions': [ | 523 'actions': [ |
| 486 { | 524 { |
| 487 'action_name': 'js2c', | 525 'action_name': 'mksnapshot', |
| 488 'inputs': [ | 526 'inputs': [ |
| 489 '../../tools/js2c.py', | 527 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
| 490 '<@(library_files)', | |
| 491 ], | 528 ], |
| 492 'outputs': [ | 529 'outputs': [ |
| 493 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 530 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 494 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', | |
| 495 ], | 531 ], |
| 496 'action': [ | 532 'action': ['<@(_inputs)', '<@(_outputs)'], |
| 497 'python', | |
| 498 '../../tools/js2c.py', | |
| 499 '<@(_outputs)', | |
| 500 'CORE', | |
| 501 '<@(library_files)' | |
| 502 ], | |
| 503 }, | 533 }, |
| 504 ], | 534 ], |
| 505 }, | |
| 506 { | |
| 507 'target_name': 'mksnapshot', | |
| 508 'type': 'executable', | |
| 509 'dependencies': [ | |
| 510 'v8_nosnapshot', | |
| 511 ], | |
| 512 'include_dirs': [ | 535 'include_dirs': [ |
| 513 '../../src', | 536 '../../src', |
| 514 ], | 537 ], |
| 515 'sources': [ | 538 'sources': [ |
| 516 '../../src/mksnapshot.cc', | 539 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', |
| 540 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 541 ], |
| 542 'direct_dependent_settings': { |
| 543 'include_dirs': [ |
| 544 '../../include', |
| 545 ], |
| 546 }, |
| 547 'export_dependent_settings': [ |
| 548 'v8_base', |
| 517 ], | 549 ], |
| 518 }, | 550 }, |
| 519 { | 551 { |
| 520 'target_name': 'v8_shell', | 552 'target_name': 'v8_shell', |
| 521 'type': 'executable', | 553 'type': 'executable', |
| 522 'dependencies': [ | 554 'defines': [ |
| 523 'v8' | 555 'V8_TARGET_ARCH_IA32', |
| 556 'V8_NATIVE_REGEXP' |
| 557 ], |
| 558 'dependencies': [ |
| 559 'v8', |
| 524 ], | 560 ], |
| 525 'sources': [ | 561 'sources': [ |
| 526 '../../samples/shell.cc', | 562 '../../samples/shell.cc', |
| 527 ], | 563 ], |
| 564 'conditions': [ |
| 565 [ 'OS=="win"', { |
| 566 # This could be gotten by not setting chromium_code, if that's OK. |
| 567 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 568 }], |
| 569 ], |
| 570 }, |
| 571 ], |
| 572 |
| 573 'conditions': [ ['OS=="mac"', { 'targets': [ |
| 574 # TODO(bradnelson): temporarily disable 'd8' target on Windows while |
| 575 # we work fix the performance regressions. |
| 576 # TODO(sgk): temporarily disable 'd8' target on Linux while |
| 577 # we work out getting the readline library on all the systems. |
| 578 { |
| 579 'target_name': 'd8', |
| 580 'type': 'executable', |
| 581 'dependencies': [ |
| 582 'd8_js2c', |
| 583 'v8', |
| 584 ], |
| 585 'defines': [ |
| 586 'V8_TARGET_ARCH_IA32', |
| 587 'V8_NATIVE_REGEXP' |
| 588 ], |
| 589 'include_dirs': [ |
| 590 '../../src', |
| 591 ], |
| 592 'sources': [ |
| 593 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', |
| 594 '<@(d8_source_files)', |
| 595 ], |
| 596 'conditions': [ |
| 597 [ 'OS=="linux"', { |
| 598 'sources!': [ '../../src/d8-windows.cc' ], |
| 599 'link_settings': { 'libraries': [ '-lreadline' ] }, |
| 600 }], |
| 601 [ 'OS=="mac"', { |
| 602 'sources!': [ '../../src/d8-windows.cc' ], |
| 603 'link_settings': { 'libraries': [ |
| 604 '$(SDKROOT)/usr/lib/libreadline.dylib' |
| 605 ]}, |
| 606 }], |
| 607 [ 'OS=="win"', { |
| 608 'sources!': [ '../../src/d8-readline.cc', '../../src/d8-posix.cc' ], |
| 609 }], |
| 610 ], |
| 611 }, |
| 612 # TODO(sgk): temporarily disable the arm targets on Linux while |
| 613 # we work out how to refactor the generator and/or add configuration |
| 614 # settings to the .gyp file to handle building both variants in |
| 615 # the same output directory. |
| 616 # |
| 617 # ARM targets, to test ARM code generation. These use an ARM simulator |
| 618 # (src/simulator-arm.cc). The ARM targets are not snapshot-enabled. |
| 619 { |
| 620 'target_name': 'v8_arm', |
| 621 'type': '<(library)', |
| 622 'dependencies': [ |
| 623 'js2c', |
| 624 ], |
| 625 'defines': [ |
| 626 'V8_TARGET_ARCH_ARM', |
| 627 ], |
| 628 'include_dirs+': [ |
| 629 '../../src', |
| 630 '../../src/arm', |
| 631 ], |
| 632 'sources': [ |
| 633 '<@(base_source_files)', |
| 634 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 635 '../../src/snapshot-empty.cc', |
| 636 ], |
| 637 'sources!': [ |
| 638 '<@(not_base_source_files)', |
| 639 ], |
| 640 'sources/': [ |
| 641 ['exclude', '-ia32\\.cc$'], |
| 642 ['exclude', 'src/platform-.*\\.cc$' ], |
| 643 ], |
| 644 'direct_dependent_settings': { |
| 645 'include_dirs': [ |
| 646 '../../include', |
| 647 ], |
| 648 }, |
| 649 'conditions': [ |
| 650 ['OS=="linux"', |
| 651 { |
| 652 'sources/': [ |
| 653 ['include', 'src/platform-linux\\.cc$'], |
| 654 ['include', 'src/platform-posix\\.cc$'] |
| 655 ] |
| 656 } |
| 657 ], |
| 658 ['OS=="mac"', |
| 659 { |
| 660 'sources/': [ |
| 661 ['include', 'src/platform-macos\\.cc$'], |
| 662 ['include', 'src/platform-posix\\.cc$'] |
| 663 ] |
| 664 } |
| 665 ], |
| 666 ['OS=="win"', { |
| 667 'sources/': [['include', 'src/platform-win32\\.cc$']], |
| 668 # 4355, 4800 came from common.vsprops |
| 669 # 4018, 4244 were a per file config on dtoa-config.c |
| 670 # TODO: It's probably possible and desirable to stop disabling the |
| 671 # dtoa-specific warnings by modifying dtoa as was done in Chromium |
| 672 # r9255. Refer to that revision for details. |
| 673 'msvs_disabled_warnings': [4355, 4800, 4018, 4244], |
| 674 }], |
| 675 ], |
| 676 }, |
| 677 { |
| 678 'target_name': 'v8_shell_arm', |
| 679 'type': 'executable', |
| 680 'dependencies': [ |
| 681 'v8_arm', |
| 682 ], |
| 683 'defines': [ |
| 684 'V8_TARGET_ARCH_ARM', |
| 685 ], |
| 686 'sources': [ |
| 687 '../../samples/shell.cc', |
| 688 ], |
| 528 'conditions': [ | 689 'conditions': [ |
| 529 [ 'OS=="win"', { | 690 [ 'OS=="win"', { |
| 530 # This could be gotten by not setting chromium_code, if that's OK. | 691 # This could be gotten by not setting chromium_code, if that's OK. |
| 531 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 692 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 532 }], | 693 }], |
| 533 ], | 694 ], |
| 534 }, | 695 }, |
| 696 { |
| 697 'target_name': 'd8_arm', |
| 698 'type': 'executable', |
| 699 'dependencies': [ |
| 700 'd8_js2c', |
| 701 'v8_arm', |
| 702 ], |
| 703 'defines': [ |
| 704 'V8_TARGET_ARCH_ARM', |
| 705 ], |
| 706 'include_dirs': [ |
| 707 '../../src', |
| 708 ], |
| 709 'sources': [ |
| 710 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', |
| 711 '<@(d8_source_files)', |
| 712 ], |
| 713 'conditions': [ |
| 714 [ 'OS=="linux"', { |
| 715 'sources!': [ '../../src/d8-windows.cc' ], |
| 716 'link_settings': { 'libraries': [ '-lreadline' ] }, |
| 717 }], |
| 718 [ 'OS=="mac"', { |
| 719 'sources!': [ '../../src/d8-windows.cc' ], |
| 720 'link_settings': { 'libraries': [ |
| 721 '$(SDKROOT)/usr/lib/libreadline.dylib' |
| 722 ]}, |
| 723 }], |
| 724 [ 'OS=="win"', { |
| 725 'sources!': [ '../../src/d8-readline.cc', '../../src/d8-posix.cc' ], |
| 726 }], |
| 727 ], |
| 728 }, |
| 729 ]}], # OS != "linux" (temporary, TODO(sgk)) |
| 730 |
| 731 |
| 732 ['OS=="win"', { |
| 733 'target_defaults': { |
| 734 'defines': [ |
| 735 '_USE_32BIT_TIME_T', |
| 736 '_CRT_SECURE_NO_DEPRECATE', |
| 737 '_CRT_NONSTDC_NO_DEPRECATE', |
| 738 ], |
| 739 'msvs_settings': { |
| 740 'VCLinkerTool': { |
| 741 'AdditionalOptions': '/IGNORE:4221 /NXCOMPAT', |
| 742 }, |
| 743 }, |
| 744 }, |
| 745 }], |
| 535 ], | 746 ], |
| 536 } | 747 } |
| OLD | NEW |