| 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 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 'msvs_use_common_release': 0, | 30 'msvs_use_common_release': 0, |
| 31 'gcc_version%': 'unknown', | 31 'gcc_version%': 'unknown', |
| 32 'target_arch%': 'ia32', | 32 'v8_target_arch%': '<(target_arch)', |
| 33 'v8_use_snapshot%': 'true', | 33 'v8_use_snapshot%': 'true', |
| 34 }, | 34 }, |
| 35 'target_defaults': { | 35 'target_defaults': { |
| 36 'defines': [ | 36 'defines': [ |
| 37 'ENABLE_LOGGING_AND_PROFILING', | 37 'ENABLE_LOGGING_AND_PROFILING', |
| 38 'ENABLE_DEBUGGER_SUPPORT', | 38 'ENABLE_DEBUGGER_SUPPORT', |
| 39 'ENABLE_VMSTATE_TRACKING', | 39 'ENABLE_VMSTATE_TRACKING', |
| 40 ], | 40 ], |
| 41 'conditions': [ | 41 'conditions': [ |
| 42 ['target_arch=="arm"', { | 42 ['v8_target_arch=="arm"', { |
| 43 'defines': [ | 43 'defines': [ |
| 44 'V8_TARGET_ARCH_ARM', | 44 'V8_TARGET_ARCH_ARM', |
| 45 ], | 45 ], |
| 46 }], | 46 }], |
| 47 ['target_arch=="ia32"', { | 47 ['v8_target_arch=="ia32"', { |
| 48 'defines': [ | 48 'defines': [ |
| 49 'V8_TARGET_ARCH_IA32', | 49 'V8_TARGET_ARCH_IA32', |
| 50 ], | 50 ], |
| 51 }], | 51 }], |
| 52 ['target_arch=="x64"', { | 52 ['v8_target_arch=="x64"', { |
| 53 'defines': [ | 53 'defines': [ |
| 54 'V8_TARGET_ARCH_X64', | 54 'V8_TARGET_ARCH_X64', |
| 55 ], | 55 ], |
| 56 }], | 56 }], |
| 57 ], | 57 ], |
| 58 'configurations': { | 58 'configurations': { |
| 59 'Debug': { | 59 'Debug': { |
| 60 'defines': [ | 60 'defines': [ |
| 61 'DEBUG', | 61 'DEBUG', |
| 62 '_DEBUG', | 62 '_DEBUG', |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 'include_dirs+': [ | 197 'include_dirs+': [ |
| 198 '../../src', | 198 '../../src', |
| 199 ], | 199 ], |
| 200 'sources': [ | 200 'sources': [ |
| 201 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 201 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 202 '../../src/snapshot-empty.cc', | 202 '../../src/snapshot-empty.cc', |
| 203 ], | 203 ], |
| 204 'conditions': [ | 204 'conditions': [ |
| 205 # The ARM assembler assumes the host is 32 bits, so force building | 205 # The ARM assembler assumes the host is 32 bits, so force building |
| 206 # 32-bit host tools. | 206 # 32-bit host tools. |
| 207 ['target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { | 207 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { |
| 208 'cflags': ['-m32'], | 208 'cflags': ['-m32'], |
| 209 'ldflags': ['-m32'], | 209 'ldflags': ['-m32'], |
| 210 }] | 210 }] |
| 211 ] | 211 ] |
| 212 }, | 212 }, |
| 213 { | 213 { |
| 214 'target_name': 'v8_base', | 214 'target_name': 'v8_base', |
| 215 'type': '<(library)', | 215 'type': '<(library)', |
| 216 'toolsets': ['host', 'target'], | 216 'toolsets': ['host', 'target'], |
| 217 'include_dirs+': [ | 217 'include_dirs+': [ |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 '../../src/contexts.h', | 257 '../../src/contexts.h', |
| 258 '../../src/conversions-inl.h', | 258 '../../src/conversions-inl.h', |
| 259 '../../src/conversions.cc', | 259 '../../src/conversions.cc', |
| 260 '../../src/conversions.h', | 260 '../../src/conversions.h', |
| 261 '../../src/counters.cc', | 261 '../../src/counters.cc', |
| 262 '../../src/counters.h', | 262 '../../src/counters.h', |
| 263 '../../src/cpu.h', | 263 '../../src/cpu.h', |
| 264 '../../src/cpu-profiler-inl.h', | 264 '../../src/cpu-profiler-inl.h', |
| 265 '../../src/cpu-profiler.cc', | 265 '../../src/cpu-profiler.cc', |
| 266 '../../src/cpu-profiler.h', | 266 '../../src/cpu-profiler.h', |
| 267 » '../../src/data-flow.cc', | 267 '../../src/data-flow.cc', |
| 268 » '../../src/data-flow.h', | 268 '../../src/data-flow.h', |
| 269 '../../src/dateparser.cc', | 269 '../../src/dateparser.cc', |
| 270 '../../src/dateparser.h', | 270 '../../src/dateparser.h', |
| 271 '../../src/dateparser-inl.h', | 271 '../../src/dateparser-inl.h', |
| 272 '../../src/debug.cc', | 272 '../../src/debug.cc', |
| 273 '../../src/debug.h', | 273 '../../src/debug.h', |
| 274 '../../src/debug-agent.cc', | 274 '../../src/debug-agent.cc', |
| 275 '../../src/debug-agent.h', | 275 '../../src/debug-agent.h', |
| 276 '../../src/disasm.h', | 276 '../../src/disasm.h', |
| 277 '../../src/disassembler.cc', | 277 '../../src/disassembler.cc', |
| 278 '../../src/disassembler.h', | 278 '../../src/disassembler.h', |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 '../../src/spaces.cc', | 389 '../../src/spaces.cc', |
| 390 '../../src/spaces.h', | 390 '../../src/spaces.h', |
| 391 '../../src/string-stream.cc', | 391 '../../src/string-stream.cc', |
| 392 '../../src/string-stream.h', | 392 '../../src/string-stream.h', |
| 393 '../../src/stub-cache.cc', | 393 '../../src/stub-cache.cc', |
| 394 '../../src/stub-cache.h', | 394 '../../src/stub-cache.h', |
| 395 '../../src/token.cc', | 395 '../../src/token.cc', |
| 396 '../../src/token.h', | 396 '../../src/token.h', |
| 397 '../../src/top.cc', | 397 '../../src/top.cc', |
| 398 '../../src/top.h', | 398 '../../src/top.h', |
| 399 » '../../src/type-info.cc', | 399 '../../src/type-info.cc', |
| 400 » '../../src/type-info.h', | 400 '../../src/type-info.h', |
| 401 '../../src/unicode-inl.h', | 401 '../../src/unicode-inl.h', |
| 402 '../../src/unicode.cc', | 402 '../../src/unicode.cc', |
| 403 '../../src/unicode.h', | 403 '../../src/unicode.h', |
| 404 '../../src/utils.cc', | 404 '../../src/utils.cc', |
| 405 '../../src/utils.h', | 405 '../../src/utils.h', |
| 406 '../../src/v8-counters.cc', | 406 '../../src/v8-counters.cc', |
| 407 '../../src/v8-counters.h', | 407 '../../src/v8-counters.h', |
| 408 '../../src/v8.cc', | 408 '../../src/v8.cc', |
| 409 '../../src/v8.h', | 409 '../../src/v8.h', |
| 410 '../../src/v8threads.cc', | 410 '../../src/v8threads.cc', |
| 411 '../../src/v8threads.h', | 411 '../../src/v8threads.h', |
| 412 '../../src/variables.cc', | 412 '../../src/variables.cc', |
| 413 '../../src/variables.h', | 413 '../../src/variables.h', |
| 414 '../../src/version.cc', | 414 '../../src/version.cc', |
| 415 '../../src/version.h', | 415 '../../src/version.h', |
| 416 '../../src/virtual-frame-inl.h', | 416 '../../src/virtual-frame-inl.h', |
| 417 '../../src/virtual-frame.cc', | 417 '../../src/virtual-frame.cc', |
| 418 '../../src/virtual-frame.h', | 418 '../../src/virtual-frame.h', |
| 419 '../../src/vm-state-inl.h', | 419 '../../src/vm-state-inl.h', |
| 420 '../../src/vm-state.cc', | 420 '../../src/vm-state.cc', |
| 421 '../../src/vm-state.h', | 421 '../../src/vm-state.h', |
| 422 '../../src/zone-inl.h', | 422 '../../src/zone-inl.h', |
| 423 '../../src/zone.cc', | 423 '../../src/zone.cc', |
| 424 '../../src/zone.h', | 424 '../../src/zone.h', |
| 425 ], | 425 ], |
| 426 'conditions': [ | 426 'conditions': [ |
| 427 ['target_arch=="arm"', { | 427 ['v8_target_arch=="arm"', { |
| 428 'include_dirs+': [ | 428 'include_dirs+': [ |
| 429 '../../src/arm', | 429 '../../src/arm', |
| 430 ], | 430 ], |
| 431 'sources': [ | 431 'sources': [ |
| 432 '../../src/fast-codegen.cc', | 432 '../../src/fast-codegen.cc', |
| 433 '../../src/jump-target-light-inl.h', | 433 '../../src/jump-target-light-inl.h', |
| 434 '../../src/jump-target-light.cc', | 434 '../../src/jump-target-light.cc', |
| 435 '../../src/virtual-frame-light-inl.h', | 435 '../../src/virtual-frame-light-inl.h', |
| 436 '../../src/virtual-frame-light.cc', | 436 '../../src/virtual-frame-light.cc', |
| 437 '../../src/arm/assembler-arm-inl.h', | 437 '../../src/arm/assembler-arm-inl.h', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 463 ], | 463 ], |
| 464 'conditions': [ | 464 'conditions': [ |
| 465 # The ARM assembler assumes the host is 32 bits, so force building | 465 # The ARM assembler assumes the host is 32 bits, so force building |
| 466 # 32-bit host tools. | 466 # 32-bit host tools. |
| 467 ['host_arch=="x64" and _toolset=="host"', { | 467 ['host_arch=="x64" and _toolset=="host"', { |
| 468 'cflags': ['-m32'], | 468 'cflags': ['-m32'], |
| 469 'ldflags': ['-m32'], | 469 'ldflags': ['-m32'], |
| 470 }] | 470 }] |
| 471 ] | 471 ] |
| 472 }], | 472 }], |
| 473 ['target_arch=="ia32"', { | 473 ['v8_target_arch=="ia32"', { |
| 474 'include_dirs+': [ | 474 'include_dirs+': [ |
| 475 '../../src/ia32', | 475 '../../src/ia32', |
| 476 ], | 476 ], |
| 477 'sources': [ | 477 'sources': [ |
| 478 '../../src/jump-target-heavy-inl.h', | 478 '../../src/jump-target-heavy-inl.h', |
| 479 '../../src/jump-target-heavy.cc', | 479 '../../src/jump-target-heavy.cc', |
| 480 '../../src/virtual-frame-heavy-inl.h', | 480 '../../src/virtual-frame-heavy-inl.h', |
| 481 '../../src/virtual-frame-heavy.cc', | 481 '../../src/virtual-frame-heavy.cc', |
| 482 '../../src/ia32/assembler-ia32-inl.h', | 482 '../../src/ia32/assembler-ia32-inl.h', |
| 483 '../../src/ia32/assembler-ia32.cc', | 483 '../../src/ia32/assembler-ia32.cc', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 498 '../../src/ia32/macro-assembler-ia32.cc', | 498 '../../src/ia32/macro-assembler-ia32.cc', |
| 499 '../../src/ia32/macro-assembler-ia32.h', | 499 '../../src/ia32/macro-assembler-ia32.h', |
| 500 '../../src/ia32/regexp-macro-assembler-ia32.cc', | 500 '../../src/ia32/regexp-macro-assembler-ia32.cc', |
| 501 '../../src/ia32/regexp-macro-assembler-ia32.h', | 501 '../../src/ia32/regexp-macro-assembler-ia32.h', |
| 502 '../../src/ia32/register-allocator-ia32.cc', | 502 '../../src/ia32/register-allocator-ia32.cc', |
| 503 '../../src/ia32/stub-cache-ia32.cc', | 503 '../../src/ia32/stub-cache-ia32.cc', |
| 504 '../../src/ia32/virtual-frame-ia32.cc', | 504 '../../src/ia32/virtual-frame-ia32.cc', |
| 505 '../../src/ia32/virtual-frame-ia32.h', | 505 '../../src/ia32/virtual-frame-ia32.h', |
| 506 ], | 506 ], |
| 507 }], | 507 }], |
| 508 ['target_arch=="x64"', { | 508 ['v8_target_arch=="x64"', { |
| 509 'include_dirs+': [ | 509 'include_dirs+': [ |
| 510 '../../src/x64', | 510 '../../src/x64', |
| 511 ], | 511 ], |
| 512 'sources': [ | 512 'sources': [ |
| 513 '../../src/fast-codegen.cc', | 513 '../../src/fast-codegen.cc', |
| 514 '../../src/jump-target-heavy-inl.h', | 514 '../../src/jump-target-heavy-inl.h', |
| 515 '../../src/jump-target-heavy.cc', | 515 '../../src/jump-target-heavy.cc', |
| 516 '../../src/virtual-frame-heavy-inl.h', | 516 '../../src/virtual-frame-heavy-inl.h', |
| 517 '../../src/virtual-frame-heavy.cc', | 517 '../../src/virtual-frame-heavy.cc', |
| 518 '../../src/x64/assembler-x64-inl.h', | 518 '../../src/x64/assembler-x64-inl.h', |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 ], | 649 ], |
| 650 'include_dirs+': [ | 650 'include_dirs+': [ |
| 651 '../../src', | 651 '../../src', |
| 652 ], | 652 ], |
| 653 'sources': [ | 653 'sources': [ |
| 654 '../../src/mksnapshot.cc', | 654 '../../src/mksnapshot.cc', |
| 655 ], | 655 ], |
| 656 'conditions': [ | 656 'conditions': [ |
| 657 # The ARM assembler assumes the host is 32 bits, so force building | 657 # The ARM assembler assumes the host is 32 bits, so force building |
| 658 # 32-bit host tools. | 658 # 32-bit host tools. |
| 659 ['target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { | 659 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { |
| 660 'cflags': ['-m32'], | 660 'cflags': ['-m32'], |
| 661 'ldflags': ['-m32'], | 661 'ldflags': ['-m32'], |
| 662 }] | 662 }] |
| 663 ] | 663 ] |
| 664 }, | 664 }, |
| 665 { | 665 { |
| 666 'target_name': 'v8_shell', | 666 'target_name': 'v8_shell', |
| 667 'type': 'executable', | 667 'type': 'executable', |
| 668 'dependencies': [ | 668 'dependencies': [ |
| 669 'v8' | 669 'v8' |
| 670 ], | 670 ], |
| 671 'sources': [ | 671 'sources': [ |
| 672 '../../samples/shell.cc', | 672 '../../samples/shell.cc', |
| 673 ], | 673 ], |
| 674 'conditions': [ | 674 'conditions': [ |
| 675 [ 'OS=="win"', { | 675 [ 'OS=="win"', { |
| 676 # This could be gotten by not setting chromium_code, if that's OK. | 676 # This could be gotten by not setting chromium_code, if that's OK. |
| 677 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 677 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 678 }], | 678 }], |
| 679 ], | 679 ], |
| 680 }, | 680 }, |
| 681 ], | 681 ], |
| 682 } | 682 } |
| OLD | NEW |