| OLD | NEW |
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 # of 'false' will avoid VFP instructions in the snapshot and use CPU feature | 47 # of 'false' will avoid VFP instructions in the snapshot and use CPU feature |
| 48 # probing when running on the target. | 48 # probing when running on the target. |
| 49 'v8_can_use_vfp_instructions%': 'false', | 49 'v8_can_use_vfp_instructions%': 'false', |
| 50 | 50 |
| 51 # Setting v8_use_arm_eabi_hardfloat to true will turn on V8 support for ARM | 51 # Setting v8_use_arm_eabi_hardfloat to true will turn on V8 support for ARM |
| 52 # EABI calling convention where double arguments are passed in VFP | 52 # EABI calling convention where double arguments are passed in VFP |
| 53 # registers. Note that the GCC flag '-mfloat-abi=hard' should be used as | 53 # registers. Note that the GCC flag '-mfloat-abi=hard' should be used as |
| 54 # well when compiling for the ARM target. | 54 # well when compiling for the ARM target. |
| 55 'v8_use_arm_eabi_hardfloat%': 'false', | 55 'v8_use_arm_eabi_hardfloat%': 'false', |
| 56 | 56 |
| 57 'v8_enable_debugger_support%': 1, |
| 58 |
| 59 # Chrome needs this definition unconditionally. For standalone V8 builds, |
| 60 # it's handled in common.gypi. |
| 61 'want_separate_host_toolset%': 1, |
| 62 |
| 57 'v8_use_snapshot%': 'true', | 63 'v8_use_snapshot%': 'true', |
| 58 'host_os%': '<(OS)', | 64 'host_os%': '<(OS)', |
| 59 'v8_use_liveobjectlist%': 'false', | 65 'v8_use_liveobjectlist%': 'false', |
| 60 }, | 66 }, |
| 61 'conditions': [ | 67 'conditions': [ |
| 62 ['use_system_v8==0', { | 68 ['use_system_v8==0', { |
| 63 'target_defaults': { | 69 'target_defaults': { |
| 64 'defines': [ | |
| 65 'ENABLE_DEBUGGER_SUPPORT', | |
| 66 ], | |
| 67 'conditions': [ | 70 'conditions': [ |
| 71 ['v8_enable_debugger_support==1', { |
| 72 'defines': ['ENABLE_DEBUGGER_SUPPORT',], |
| 73 }, |
| 74 ], |
| 68 ['OS!="mac"', { | 75 ['OS!="mac"', { |
| 69 # TODO(mark): The OS!="mac" conditional is temporary. It can be | 76 # TODO(mark): The OS!="mac" conditional is temporary. It can be |
| 70 # removed once the Mac Chromium build stops setting target_arch to | 77 # removed once the Mac Chromium build stops setting target_arch to |
| 71 # ia32 and instead sets it to mac. Other checks in this file for | 78 # ia32 and instead sets it to mac. Other checks in this file for |
| 72 # OS=="mac" can be removed at that time as well. This can be cleaned | 79 # OS=="mac" can be removed at that time as well. This can be cleaned |
| 73 # up once http://crbug.com/44205 is fixed. | 80 # up once http://crbug.com/44205 is fixed. |
| 74 'conditions': [ | 81 'conditions': [ |
| 75 ['v8_target_arch=="arm"', { | 82 ['v8_target_arch=="arm"', { |
| 76 'defines': [ | 83 'defines': [ |
| 77 'V8_TARGET_ARCH_ARM', | 84 'V8_TARGET_ARCH_ARM', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 90 [ 'v8_can_use_vfp_instructions=="true"', { | 97 [ 'v8_can_use_vfp_instructions=="true"', { |
| 91 'defines': [ | 98 'defines': [ |
| 92 'CAN_USE_VFP_INSTRUCTIONS', | 99 'CAN_USE_VFP_INSTRUCTIONS', |
| 93 ], | 100 ], |
| 94 }], | 101 }], |
| 95 [ 'v8_use_arm_eabi_hardfloat=="true"', { | 102 [ 'v8_use_arm_eabi_hardfloat=="true"', { |
| 96 'defines': [ | 103 'defines': [ |
| 97 'USE_EABI_HARDFLOAT=1', | 104 'USE_EABI_HARDFLOAT=1', |
| 98 'CAN_USE_VFP_INSTRUCTIONS', | 105 'CAN_USE_VFP_INSTRUCTIONS', |
| 99 ], | 106 ], |
| 107 'cflags': [ |
| 108 '-mfloat-abi=hard', |
| 109 ], |
| 110 }, { |
| 111 'defines': [ |
| 112 'USE_EABI_HARDFLOAT=0', |
| 113 ], |
| 114 }], |
| 115 # The ARM assembler assumes the host is 32 bits, |
| 116 # so force building 32-bit host tools. |
| 117 [ 'host_arch=="x64"', { |
| 118 'cflags': ['-m32'], |
| 119 'ldflags': ['-m32'], |
| 100 }], | 120 }], |
| 101 ], | 121 ], |
| 102 }], | 122 }], |
| 103 ['v8_target_arch=="ia32"', { | 123 ['v8_target_arch=="ia32"', { |
| 104 'defines': [ | 124 'defines': [ |
| 105 'V8_TARGET_ARCH_IA32', | 125 'V8_TARGET_ARCH_IA32', |
| 106 ], | 126 ], |
| 107 }], | 127 }], |
| 108 ['v8_target_arch=="x64"', { | 128 ['v8_target_arch=="x64"', { |
| 109 'defines': [ | 129 'defines': [ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 'conditions': [ | 162 'conditions': [ |
| 143 ['OS=="win" and component=="shared_library"', { | 163 ['OS=="win" and component=="shared_library"', { |
| 144 'RuntimeLibrary': '3', # /MDd | 164 'RuntimeLibrary': '3', # /MDd |
| 145 }, { | 165 }, { |
| 146 'RuntimeLibrary': '1', # /MTd | 166 'RuntimeLibrary': '1', # /MTd |
| 147 }], | 167 }], |
| 148 ], | 168 ], |
| 149 }, | 169 }, |
| 150 'VCLinkerTool': { | 170 'VCLinkerTool': { |
| 151 'LinkIncremental': '2', | 171 'LinkIncremental': '2', |
| 172 # For future reference, the stack size needs to be increased |
| 173 # when building for Windows 64-bit, otherwise some test cases |
| 174 # can cause stack overflow. |
| 175 # 'StackReserveSize': '297152', |
| 152 }, | 176 }, |
| 153 }, | 177 }, |
| 154 'conditions': [ | 178 'conditions': [ |
| 155 ['OS=="freebsd" or OS=="openbsd"', { | 179 ['OS=="freebsd" or OS=="openbsd"', { |
| 156 'cflags': [ '-I/usr/local/include' ], | 180 'cflags': [ '-I/usr/local/include' ], |
| 157 }], | 181 }], |
| 182 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
| 183 'cflags': [ '-Wall', '-Werror', '-W', '-Wno-unused-parameter', |
| 184 '-Wnon-virtual-dtor' ], |
| 185 }], |
| 158 ], | 186 ], |
| 159 }, | 187 }, |
| 160 'Release': { | 188 'Release': { |
| 161 'conditions': [ | 189 'conditions': [ |
| 162 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 190 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
| 163 'cflags!': [ | 191 'cflags!': [ |
| 164 '-O2', | 192 '-O2', |
| 165 '-Os', | 193 '-Os', |
| 166 ], | 194 ], |
| 167 'cflags': [ | 195 'cflags': [ |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 }, { | 240 }, { |
| 213 'RuntimeLibrary': '0', #/MT | 241 'RuntimeLibrary': '0', #/MT |
| 214 }], | 242 }], |
| 215 ], | 243 ], |
| 216 }, | 244 }, |
| 217 'VCLinkerTool': { | 245 'VCLinkerTool': { |
| 218 'LinkIncremental': '1', | 246 'LinkIncremental': '1', |
| 219 'OptimizeReferences': '2', | 247 'OptimizeReferences': '2', |
| 220 'OptimizeForWindows98': '1', | 248 'OptimizeForWindows98': '1', |
| 221 'EnableCOMDATFolding': '2', | 249 'EnableCOMDATFolding': '2', |
| 250 # For future reference, the stack size needs to be |
| 251 # increased when building for Windows 64-bit, otherwise |
| 252 # some test cases can cause stack overflow. |
| 253 # 'StackReserveSize': '297152', |
| 222 }, | 254 }, |
| 223 }, | 255 }, |
| 224 }], | 256 }], |
| 225 ], | 257 ], |
| 226 }, | 258 }, |
| 227 }, | 259 }, |
| 228 }, | 260 }, |
| 229 'targets': [ | 261 'targets': [ |
| 230 { | 262 { |
| 231 'target_name': 'v8', | 263 'target_name': 'v8', |
| 232 'toolsets': ['host', 'target'], | |
| 233 'conditions': [ | 264 'conditions': [ |
| 265 ['want_separate_host_toolset==1', { |
| 266 'toolsets': ['host', 'target'], |
| 267 }, { |
| 268 'toolsets': ['target'], |
| 269 }], |
| 234 ['v8_use_snapshot=="true"', { | 270 ['v8_use_snapshot=="true"', { |
| 235 'dependencies': ['v8_snapshot'], | 271 'dependencies': ['v8_snapshot'], |
| 236 }, | 272 }, |
| 237 { | 273 { |
| 238 'dependencies': ['v8_nosnapshot'], | 274 'dependencies': ['v8_nosnapshot'], |
| 239 }], | 275 }], |
| 240 ['component=="shared_library"', { | 276 ['component=="shared_library"', { |
| 241 'type': '<(component)', | 277 'type': '<(component)', |
| 242 'sources': [ | 278 'sources': [ |
| 243 # Note: on non-Windows we still build this file so that gyp | 279 # Note: on non-Windows we still build this file so that gyp |
| (...skipping 21 matching lines...) Expand all Loading... |
| 265 }, | 301 }, |
| 266 }], | 302 }], |
| 267 ], | 303 ], |
| 268 }, | 304 }, |
| 269 { | 305 { |
| 270 'type': 'none', | 306 'type': 'none', |
| 271 }], | 307 }], |
| 272 ], | 308 ], |
| 273 'direct_dependent_settings': { | 309 'direct_dependent_settings': { |
| 274 'include_dirs': [ | 310 'include_dirs': [ |
| 275 '../../include', | 311 '../../include', |
| 276 ], | 312 ], |
| 277 }, | 313 }, |
| 278 }, | 314 }, |
| 279 { | 315 { |
| 280 'target_name': 'v8_snapshot', | 316 'target_name': 'v8_snapshot', |
| 281 'type': '<(library)', | 317 'type': '<(library)', |
| 282 'toolsets': ['host', 'target'], | |
| 283 'conditions': [ | 318 'conditions': [ |
| 319 ['want_separate_host_toolset==1', { |
| 320 'toolsets': ['host', 'target'], |
| 321 'dependencies': ['mksnapshot#host', 'js2c#host'], |
| 322 }, { |
| 323 'toolsets': ['target'], |
| 324 'dependencies': ['mksnapshot', 'js2c'], |
| 325 }], |
| 284 ['component=="shared_library"', { | 326 ['component=="shared_library"', { |
| 285 'conditions': [ | 327 'conditions': [ |
| 286 # The ARM assembler assumes the host is 32 bits, so force buildi
ng | |
| 287 # 32-bit host tools. | |
| 288 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host
"', { | |
| 289 'cflags': ['-m32'], | |
| 290 'ldflags': ['-m32'], | |
| 291 }], | |
| 292 ['OS=="win"', { | 328 ['OS=="win"', { |
| 293 'defines': [ | 329 'defines': [ |
| 294 'BUILDING_V8_SHARED', | 330 'BUILDING_V8_SHARED', |
| 295 ], | 331 ], |
| 296 'direct_dependent_settings': { | 332 'direct_dependent_settings': { |
| 297 'defines': [ | 333 'defines': [ |
| 298 'USING_V8_SHARED', | 334 'USING_V8_SHARED', |
| 299 ], | 335 ], |
| 300 }, | 336 }, |
| 301 }, { | 337 }, { |
| 302 'defines': [ | 338 'defines': [ |
| 303 'V8_SHARED', | 339 'V8_SHARED', |
| 304 ], | 340 ], |
| 305 'direct_dependent_settings': { | 341 'direct_dependent_settings': { |
| 306 'defines': [ | 342 'defines': [ |
| 307 'V8_SHARED', | 343 'V8_SHARED', |
| 308 ], | 344 ], |
| 309 }, | 345 }, |
| 310 }], | 346 }], |
| 311 ], | 347 ], |
| 312 }], | 348 }], |
| 313 ], | 349 ], |
| 314 'dependencies': [ | 350 'dependencies': [ |
| 315 'mksnapshot#host', | |
| 316 'js2c#host', | |
| 317 'v8_base', | 351 'v8_base', |
| 318 ], | 352 ], |
| 319 'include_dirs+': [ | 353 'include_dirs+': [ |
| 320 '../../src', | 354 '../../src', |
| 321 ], | 355 ], |
| 322 'sources': [ | 356 'sources': [ |
| 323 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 357 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 324 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 358 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 325 '<(INTERMEDIATE_DIR)/snapshot.cc', | 359 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 326 ], | 360 ], |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 '<@(_inputs)', | 407 '<@(_inputs)', |
| 374 '<@(mksnapshot_flags)', | 408 '<@(mksnapshot_flags)', |
| 375 '<@(_outputs)' | 409 '<@(_outputs)' |
| 376 ], | 410 ], |
| 377 }, | 411 }, |
| 378 ], | 412 ], |
| 379 }, | 413 }, |
| 380 { | 414 { |
| 381 'target_name': 'v8_nosnapshot', | 415 'target_name': 'v8_nosnapshot', |
| 382 'type': '<(library)', | 416 'type': '<(library)', |
| 383 'toolsets': ['host', 'target'], | |
| 384 'dependencies': [ | 417 'dependencies': [ |
| 385 'js2c#host', | |
| 386 'v8_base', | 418 'v8_base', |
| 387 ], | 419 ], |
| 388 'include_dirs+': [ | 420 'include_dirs+': [ |
| 389 '../../src', | 421 '../../src', |
| 390 ], | 422 ], |
| 391 'sources': [ | 423 'sources': [ |
| 392 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 424 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 393 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 425 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 394 '../../src/snapshot-empty.cc', | 426 '../../src/snapshot-empty.cc', |
| 395 ], | 427 ], |
| 396 'conditions': [ | 428 'conditions': [ |
| 397 # The ARM assembler assumes the host is 32 bits, so force building | 429 ['want_separate_host_toolset==1', { |
| 398 # 32-bit host tools. | 430 'toolsets': ['host', 'target'], |
| 399 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"',
{ | 431 'dependencies': ['js2c#host'], |
| 400 'cflags': ['-m32'], | 432 }, { |
| 401 'ldflags': ['-m32'], | 433 'toolsets': ['target'], |
| 434 'dependencies': ['js2c'], |
| 402 }], | 435 }], |
| 403 ['component=="shared_library"', { | 436 ['component=="shared_library"', { |
| 404 'defines': [ | 437 'defines': [ |
| 405 'BUILDING_V8_SHARED', | 438 'BUILDING_V8_SHARED', |
| 406 'V8_SHARED', | 439 'V8_SHARED', |
| 407 ], | 440 ], |
| 408 }], | 441 }], |
| 409 ] | 442 ] |
| 410 }, | 443 }, |
| 411 { | 444 { |
| 412 'target_name': 'v8_base', | 445 'target_name': 'v8_base', |
| 413 'type': '<(library)', | 446 'type': '<(library)', |
| 414 'toolsets': ['host', 'target'], | |
| 415 'include_dirs+': [ | 447 'include_dirs+': [ |
| 416 '../../src', | 448 '../../src', |
| 417 ], | 449 ], |
| 418 'sources': [ | 450 'sources': [ |
| 419 '../../src/accessors.cc', | 451 '../../src/accessors.cc', |
| 420 '../../src/accessors.h', | 452 '../../src/accessors.h', |
| 421 '../../src/allocation.cc', | 453 '../../src/allocation.cc', |
| 422 '../../src/allocation.h', | 454 '../../src/allocation.h', |
| 423 '../../src/api.cc', | 455 '../../src/api.cc', |
| 424 '../../src/api.h', | 456 '../../src/api.h', |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 '../../src/deoptimizer.cc', | 513 '../../src/deoptimizer.cc', |
| 482 '../../src/deoptimizer.h', | 514 '../../src/deoptimizer.h', |
| 483 '../../src/disasm.h', | 515 '../../src/disasm.h', |
| 484 '../../src/disassembler.cc', | 516 '../../src/disassembler.cc', |
| 485 '../../src/disassembler.h', | 517 '../../src/disassembler.h', |
| 486 '../../src/dtoa.cc', | 518 '../../src/dtoa.cc', |
| 487 '../../src/dtoa.h', | 519 '../../src/dtoa.h', |
| 488 '../../src/diy-fp.cc', | 520 '../../src/diy-fp.cc', |
| 489 '../../src/diy-fp.h', | 521 '../../src/diy-fp.h', |
| 490 '../../src/double.h', | 522 '../../src/double.h', |
| 523 '../../src/elements.cc', |
| 524 '../../src/elements.h', |
| 491 '../../src/execution.cc', | 525 '../../src/execution.cc', |
| 492 '../../src/execution.h', | 526 '../../src/execution.h', |
| 493 '../../src/factory.cc', | 527 '../../src/factory.cc', |
| 494 '../../src/factory.h', | 528 '../../src/factory.h', |
| 495 '../../src/fast-dtoa.cc', | 529 '../../src/fast-dtoa.cc', |
| 496 '../../src/fast-dtoa.h', | 530 '../../src/fast-dtoa.h', |
| 497 '../../src/flag-definitions.h', | 531 '../../src/flag-definitions.h', |
| 498 '../../src/fixed-dtoa.cc', | 532 '../../src/fixed-dtoa.cc', |
| 499 '../../src/fixed-dtoa.h', | 533 '../../src/fixed-dtoa.h', |
| 500 '../../src/flags.cc', | 534 '../../src/flags.cc', |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 '../../src/scanner-base.cc', | 639 '../../src/scanner-base.cc', |
| 606 '../../src/scanner-base.h', | 640 '../../src/scanner-base.h', |
| 607 '../../src/scanner.cc', | 641 '../../src/scanner.cc', |
| 608 '../../src/scanner.h', | 642 '../../src/scanner.h', |
| 609 '../../src/scopeinfo.cc', | 643 '../../src/scopeinfo.cc', |
| 610 '../../src/scopeinfo.h', | 644 '../../src/scopeinfo.h', |
| 611 '../../src/scopes.cc', | 645 '../../src/scopes.cc', |
| 612 '../../src/scopes.h', | 646 '../../src/scopes.h', |
| 613 '../../src/serialize.cc', | 647 '../../src/serialize.cc', |
| 614 '../../src/serialize.h', | 648 '../../src/serialize.h', |
| 615 '../../src/shell.h', | |
| 616 '../../src/small-pointer-list.h', | 649 '../../src/small-pointer-list.h', |
| 617 '../../src/smart-pointer.h', | 650 '../../src/smart-pointer.h', |
| 618 '../../src/snapshot-common.cc', | 651 '../../src/snapshot-common.cc', |
| 619 '../../src/snapshot.h', | 652 '../../src/snapshot.h', |
| 620 '../../src/spaces-inl.h', | 653 '../../src/spaces-inl.h', |
| 621 '../../src/spaces.cc', | 654 '../../src/spaces.cc', |
| 622 '../../src/spaces.h', | 655 '../../src/spaces.h', |
| 623 '../../src/store-buffer-inl.h', | 656 '../../src/store-buffer-inl.h', |
| 624 '../../src/store-buffer.cc', | 657 '../../src/store-buffer.cc', |
| 625 '../../src/store-buffer.h', | 658 '../../src/store-buffer.h', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 '../../src/vm-state.h', | 697 '../../src/vm-state.h', |
| 665 '../../src/zone-inl.h', | 698 '../../src/zone-inl.h', |
| 666 '../../src/zone.cc', | 699 '../../src/zone.cc', |
| 667 '../../src/zone.h', | 700 '../../src/zone.h', |
| 668 '../../src/extensions/externalize-string-extension.cc', | 701 '../../src/extensions/externalize-string-extension.cc', |
| 669 '../../src/extensions/externalize-string-extension.h', | 702 '../../src/extensions/externalize-string-extension.h', |
| 670 '../../src/extensions/gc-extension.cc', | 703 '../../src/extensions/gc-extension.cc', |
| 671 '../../src/extensions/gc-extension.h', | 704 '../../src/extensions/gc-extension.h', |
| 672 ], | 705 ], |
| 673 'conditions': [ | 706 'conditions': [ |
| 707 ['want_separate_host_toolset==1', { |
| 708 'toolsets': ['host', 'target'], |
| 709 }, { |
| 710 'toolsets': ['target'], |
| 711 }], |
| 674 ['v8_target_arch=="arm"', { | 712 ['v8_target_arch=="arm"', { |
| 675 'include_dirs+': [ | |
| 676 '../../src/arm', | |
| 677 ], | |
| 678 'sources': [ | 713 'sources': [ |
| 679 '../../src/arm/assembler-arm-inl.h', | 714 '../../src/arm/assembler-arm-inl.h', |
| 680 '../../src/arm/assembler-arm.cc', | 715 '../../src/arm/assembler-arm.cc', |
| 681 '../../src/arm/assembler-arm.h', | 716 '../../src/arm/assembler-arm.h', |
| 682 '../../src/arm/builtins-arm.cc', | 717 '../../src/arm/builtins-arm.cc', |
| 683 '../../src/arm/code-stubs-arm.cc', | 718 '../../src/arm/code-stubs-arm.cc', |
| 684 '../../src/arm/code-stubs-arm.h', | 719 '../../src/arm/code-stubs-arm.h', |
| 685 '../../src/arm/codegen-arm.cc', | 720 '../../src/arm/codegen-arm.cc', |
| 686 '../../src/arm/codegen-arm.h', | 721 '../../src/arm/codegen-arm.h', |
| 687 '../../src/arm/constants-arm.h', | 722 '../../src/arm/constants-arm.h', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 700 '../../src/arm/lithium-codegen-arm.h', | 735 '../../src/arm/lithium-codegen-arm.h', |
| 701 '../../src/arm/lithium-gap-resolver-arm.cc', | 736 '../../src/arm/lithium-gap-resolver-arm.cc', |
| 702 '../../src/arm/lithium-gap-resolver-arm.h', | 737 '../../src/arm/lithium-gap-resolver-arm.h', |
| 703 '../../src/arm/macro-assembler-arm.cc', | 738 '../../src/arm/macro-assembler-arm.cc', |
| 704 '../../src/arm/macro-assembler-arm.h', | 739 '../../src/arm/macro-assembler-arm.h', |
| 705 '../../src/arm/regexp-macro-assembler-arm.cc', | 740 '../../src/arm/regexp-macro-assembler-arm.cc', |
| 706 '../../src/arm/regexp-macro-assembler-arm.h', | 741 '../../src/arm/regexp-macro-assembler-arm.h', |
| 707 '../../src/arm/simulator-arm.cc', | 742 '../../src/arm/simulator-arm.cc', |
| 708 '../../src/arm/stub-cache-arm.cc', | 743 '../../src/arm/stub-cache-arm.cc', |
| 709 ], | 744 ], |
| 710 'conditions': [ | |
| 711 # The ARM assembler assumes the host is 32 bits, | |
| 712 # so force building 32-bit host tools. | |
| 713 ['host_arch=="x64" and _toolset=="host"', { | |
| 714 'cflags': ['-m32'], | |
| 715 'ldflags': ['-m32'], | |
| 716 }] | |
| 717 ] | |
| 718 }], | 745 }], |
| 719 ['v8_target_arch=="ia32" or v8_target_arch=="mac" or OS=="mac"', { | 746 ['v8_target_arch=="ia32" or v8_target_arch=="mac" or OS=="mac"', { |
| 720 'include_dirs+': [ | |
| 721 '../../src/ia32', | |
| 722 ], | |
| 723 'sources': [ | 747 'sources': [ |
| 724 '../../src/ia32/assembler-ia32-inl.h', | 748 '../../src/ia32/assembler-ia32-inl.h', |
| 725 '../../src/ia32/assembler-ia32.cc', | 749 '../../src/ia32/assembler-ia32.cc', |
| 726 '../../src/ia32/assembler-ia32.h', | 750 '../../src/ia32/assembler-ia32.h', |
| 727 '../../src/ia32/builtins-ia32.cc', | 751 '../../src/ia32/builtins-ia32.cc', |
| 728 '../../src/ia32/code-stubs-ia32.cc', | 752 '../../src/ia32/code-stubs-ia32.cc', |
| 729 '../../src/ia32/code-stubs-ia32.h', | 753 '../../src/ia32/code-stubs-ia32.h', |
| 730 '../../src/ia32/codegen-ia32.cc', | 754 '../../src/ia32/codegen-ia32.cc', |
| 731 '../../src/ia32/codegen-ia32.h', | 755 '../../src/ia32/codegen-ia32.h', |
| 732 '../../src/ia32/cpu-ia32.cc', | 756 '../../src/ia32/cpu-ia32.cc', |
| (...skipping 11 matching lines...) Expand all Loading... |
| 744 '../../src/ia32/lithium-ia32.cc', | 768 '../../src/ia32/lithium-ia32.cc', |
| 745 '../../src/ia32/lithium-ia32.h', | 769 '../../src/ia32/lithium-ia32.h', |
| 746 '../../src/ia32/macro-assembler-ia32.cc', | 770 '../../src/ia32/macro-assembler-ia32.cc', |
| 747 '../../src/ia32/macro-assembler-ia32.h', | 771 '../../src/ia32/macro-assembler-ia32.h', |
| 748 '../../src/ia32/regexp-macro-assembler-ia32.cc', | 772 '../../src/ia32/regexp-macro-assembler-ia32.cc', |
| 749 '../../src/ia32/regexp-macro-assembler-ia32.h', | 773 '../../src/ia32/regexp-macro-assembler-ia32.h', |
| 750 '../../src/ia32/stub-cache-ia32.cc', | 774 '../../src/ia32/stub-cache-ia32.cc', |
| 751 ], | 775 ], |
| 752 }], | 776 }], |
| 753 ['v8_target_arch=="x64" or v8_target_arch=="mac" or OS=="mac"', { | 777 ['v8_target_arch=="x64" or v8_target_arch=="mac" or OS=="mac"', { |
| 754 'include_dirs+': [ | |
| 755 '../../src/x64', | |
| 756 ], | |
| 757 'sources': [ | 778 'sources': [ |
| 758 '../../src/x64/assembler-x64-inl.h', | 779 '../../src/x64/assembler-x64-inl.h', |
| 759 '../../src/x64/assembler-x64.cc', | 780 '../../src/x64/assembler-x64.cc', |
| 760 '../../src/x64/assembler-x64.h', | 781 '../../src/x64/assembler-x64.h', |
| 761 '../../src/x64/builtins-x64.cc', | 782 '../../src/x64/builtins-x64.cc', |
| 762 '../../src/x64/code-stubs-x64.cc', | 783 '../../src/x64/code-stubs-x64.cc', |
| 763 '../../src/x64/code-stubs-x64.h', | 784 '../../src/x64/code-stubs-x64.h', |
| 764 '../../src/x64/codegen-x64.cc', | 785 '../../src/x64/codegen-x64.cc', |
| 765 '../../src/x64/codegen-x64.h', | 786 '../../src/x64/codegen-x64.h', |
| 766 '../../src/x64/cpu-x64.cc', | 787 '../../src/x64/cpu-x64.cc', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 779 '../../src/x64/lithium-x64.h', | 800 '../../src/x64/lithium-x64.h', |
| 780 '../../src/x64/macro-assembler-x64.cc', | 801 '../../src/x64/macro-assembler-x64.cc', |
| 781 '../../src/x64/macro-assembler-x64.h', | 802 '../../src/x64/macro-assembler-x64.h', |
| 782 '../../src/x64/regexp-macro-assembler-x64.cc', | 803 '../../src/x64/regexp-macro-assembler-x64.cc', |
| 783 '../../src/x64/regexp-macro-assembler-x64.h', | 804 '../../src/x64/regexp-macro-assembler-x64.h', |
| 784 '../../src/x64/stub-cache-x64.cc', | 805 '../../src/x64/stub-cache-x64.cc', |
| 785 ], | 806 ], |
| 786 }], | 807 }], |
| 787 ['OS=="linux"', { | 808 ['OS=="linux"', { |
| 788 'link_settings': { | 809 'link_settings': { |
| 789 'libraries': [ | |
| 790 # Needed for clock_gettime() used by src/platform-linux.cc. | |
| 791 '-lrt', | |
| 792 ], | |
| 793 'conditions': [ | 810 'conditions': [ |
| 794 ['v8_compress_startup_data=="bz2"', { | 811 ['v8_compress_startup_data=="bz2"', { |
| 795 'libraries': [ | 812 'libraries': [ |
| 796 '-lbz2', | 813 '-lbz2', |
| 797 ]}], | 814 ]}], |
| 798 ], | 815 ], |
| 799 }, | 816 }, |
| 800 'sources': [ | 817 'sources': [ |
| 801 '../../src/platform-linux.cc', | 818 '../../src/platform-linux.cc', |
| 802 '../../src/platform-posix.cc' | 819 '../../src/platform-posix.cc' |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 'defines': [ | 885 'defines': [ |
| 869 'BUILDING_V8_SHARED', | 886 'BUILDING_V8_SHARED', |
| 870 'V8_SHARED', | 887 'V8_SHARED', |
| 871 ], | 888 ], |
| 872 }], | 889 }], |
| 873 ], | 890 ], |
| 874 }, | 891 }, |
| 875 { | 892 { |
| 876 'target_name': 'js2c', | 893 'target_name': 'js2c', |
| 877 'type': 'none', | 894 'type': 'none', |
| 878 'toolsets': ['host'], | 895 'conditions': [ |
| 896 ['want_separate_host_toolset==1', { |
| 897 'toolsets': ['host'], |
| 898 }, { |
| 899 'toolsets': ['target'], |
| 900 }], |
| 901 ], |
| 879 'variables': { | 902 'variables': { |
| 880 'library_files': [ | 903 'library_files': [ |
| 881 '../../src/runtime.js', | 904 '../../src/runtime.js', |
| 882 '../../src/v8natives.js', | 905 '../../src/v8natives.js', |
| 883 '../../src/array.js', | 906 '../../src/array.js', |
| 884 '../../src/string.js', | 907 '../../src/string.js', |
| 885 '../../src/uri.js', | 908 '../../src/uri.js', |
| 886 '../../src/math.js', | 909 '../../src/math.js', |
| 887 '../../src/messages.js', | 910 '../../src/messages.js', |
| 888 '../../src/apinatives.js', | 911 '../../src/apinatives.js', |
| 889 '../../src/debug-debugger.js', | 912 '../../src/debug-debugger.js', |
| 890 '../../src/mirror-debugger.js', | 913 '../../src/mirror-debugger.js', |
| 891 '../../src/liveedit-debugger.js', | 914 '../../src/liveedit-debugger.js', |
| 892 '../../src/date.js', | 915 '../../src/date.js', |
| 893 '../../src/json.js', | 916 '../../src/json.js', |
| 894 '../../src/regexp.js', | 917 '../../src/regexp.js', |
| 895 '../../src/macros.py', | 918 '../../src/macros.py', |
| 896 ], | 919 ], |
| 897 'experimental_library_files': [ | 920 'experimental_library_files': [ |
| 921 '../../src/macros.py', |
| 898 '../../src/proxy.js', | 922 '../../src/proxy.js', |
| 899 '../../src/macros.py', | 923 '../../src/weakmap.js', |
| 900 ], | 924 ], |
| 901 }, | 925 }, |
| 902 'actions': [ | 926 'actions': [ |
| 903 { | 927 { |
| 904 'action_name': 'js2c', | 928 'action_name': 'js2c', |
| 905 'inputs': [ | 929 'inputs': [ |
| 906 '../../tools/js2c.py', | 930 '../../tools/js2c.py', |
| 907 '<@(library_files)', | 931 '<@(library_files)', |
| 908 ], | 932 ], |
| 909 'outputs': [ | 933 'outputs': [ |
| (...skipping 24 matching lines...) Expand all Loading... |
| 934 'EXPERIMENTAL', | 958 'EXPERIMENTAL', |
| 935 '<(v8_compress_startup_data)', | 959 '<(v8_compress_startup_data)', |
| 936 '<@(experimental_library_files)' | 960 '<@(experimental_library_files)' |
| 937 ], | 961 ], |
| 938 }, | 962 }, |
| 939 ], | 963 ], |
| 940 }, | 964 }, |
| 941 { | 965 { |
| 942 'target_name': 'mksnapshot', | 966 'target_name': 'mksnapshot', |
| 943 'type': 'executable', | 967 'type': 'executable', |
| 944 'toolsets': ['host'], | |
| 945 'dependencies': [ | 968 'dependencies': [ |
| 946 'v8_nosnapshot', | 969 'v8_nosnapshot', |
| 947 ], | 970 ], |
| 948 'include_dirs+': [ | 971 'include_dirs+': [ |
| 949 '../../src', | 972 '../../src', |
| 950 ], | 973 ], |
| 951 'sources': [ | 974 'sources': [ |
| 952 '../../src/mksnapshot.cc', | 975 '../../src/mksnapshot.cc', |
| 953 ], | 976 ], |
| 954 'conditions': [ | 977 'conditions': [ |
| 955 # The ARM assembler assumes the host is 32 bits, so force building | 978 ['want_separate_host_toolset==1', { |
| 956 # 32-bit host tools. | 979 'toolsets': ['host'], |
| 957 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"',
{ | 980 }, { |
| 958 'cflags': ['-m32'], | 981 'toolsets': ['target'], |
| 959 'ldflags': ['-m32'], | |
| 960 }], | 982 }], |
| 961 ['v8_compress_startup_data=="bz2"', { | 983 ['v8_compress_startup_data=="bz2"', { |
| 962 'libraries': [ | 984 'libraries': [ |
| 963 '-lbz2', | 985 '-lbz2', |
| 964 ]}], | 986 ]}], |
| 965 ] | 987 ] |
| 966 }, | 988 }, |
| 967 { | 989 { |
| 968 'target_name': 'v8_shell', | 990 'target_name': 'v8_shell', |
| 969 'type': 'executable', | 991 'type': 'executable', |
| 970 'toolsets': ['host'], | |
| 971 'dependencies': [ | 992 'dependencies': [ |
| 972 'v8' | 993 'v8' |
| 973 ], | 994 ], |
| 974 'sources': [ | 995 'sources': [ |
| 975 '../../samples/shell.cc', | 996 '../../samples/shell.cc', |
| 976 ], | 997 ], |
| 977 'conditions': [ | 998 'conditions': [ |
| 999 ['want_separate_host_toolset==1', { |
| 1000 'toolsets': ['host'], |
| 1001 }, { |
| 1002 'toolsets': ['target'], |
| 1003 }], |
| 978 ['OS=="win"', { | 1004 ['OS=="win"', { |
| 979 # This could be gotten by not setting chromium_code, if that's OK. | 1005 # This could be gotten by not setting chromium_code, if that's OK. |
| 980 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 1006 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 981 }], | 1007 }], |
| 982 # The ARM assembler assumes the host is 32 bits, so force building | |
| 983 # 32-bit host tools. | |
| 984 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"',
{ | |
| 985 'cflags': ['-m32'], | |
| 986 'ldflags': ['-m32'], | |
| 987 }], | |
| 988 ['v8_compress_startup_data=="bz2"', { | 1008 ['v8_compress_startup_data=="bz2"', { |
| 989 'libraries': [ | 1009 'libraries': [ |
| 990 '-lbz2', | 1010 '-lbz2', |
| 991 ]}], | 1011 ]}], |
| 992 ], | 1012 ], |
| 993 }, | 1013 }, |
| 1014 { |
| 1015 'target_name': 'preparser_lib', |
| 1016 'type': '<(library)', |
| 1017 'include_dirs+': [ |
| 1018 '../../src', |
| 1019 ], |
| 1020 'sources': [ |
| 1021 '../../src/allocation.cc', |
| 1022 '../../src/bignum.cc', |
| 1023 '../../src/cached-powers.cc', |
| 1024 '../../src/conversions.cc', |
| 1025 '../../src/hashmap.cc', |
| 1026 '../../src/preparse-data.cc', |
| 1027 '../../src/preparser.cc', |
| 1028 '../../src/preparser-api.cc', |
| 1029 '../../src/scanner-base.cc', |
| 1030 '../../src/strtod.cc', |
| 1031 '../../src/token.cc', |
| 1032 '../../src/unicode.cc', |
| 1033 '../../src/utils.cc', |
| 1034 ], |
| 1035 }, |
| 994 ], | 1036 ], |
| 995 }, { # use_system_v8 != 0 | 1037 }, { # use_system_v8 != 0 |
| 996 'targets': [ | 1038 'targets': [ |
| 997 { | 1039 { |
| 998 'target_name': 'v8', | 1040 'target_name': 'v8', |
| 999 'type': 'settings', | 1041 'type': 'settings', |
| 1000 'toolsets': ['host', 'target'], | 1042 'conditions': [ |
| 1043 ['want_separate_host_toolset==1', { |
| 1044 'toolsets': ['host', 'target'], |
| 1045 }, { |
| 1046 'toolsets': ['target'], |
| 1047 }], |
| 1048 |
| 1049 ], |
| 1001 'link_settings': { | 1050 'link_settings': { |
| 1002 'libraries': [ | 1051 'libraries': [ |
| 1003 '-lv8', | 1052 '-lv8', |
| 1004 ], | 1053 ], |
| 1005 }, | 1054 }, |
| 1006 }, | 1055 }, |
| 1007 { | 1056 { |
| 1008 'target_name': 'v8_shell', | 1057 'target_name': 'v8_shell', |
| 1009 'type': 'none', | 1058 'type': 'none', |
| 1010 'toolsets': ['host'], | 1059 'conditions': [ |
| 1060 ['want_separate_host_toolset==1', { |
| 1061 'toolsets': ['host'], |
| 1062 }, { |
| 1063 'toolsets': ['target'], |
| 1064 }], |
| 1065 ], |
| 1011 'dependencies': [ | 1066 'dependencies': [ |
| 1012 'v8' | 1067 'v8' |
| 1013 ], | 1068 ], |
| 1014 }, | 1069 }, |
| 1015 ], | 1070 ], |
| 1016 }], | 1071 }], |
| 1017 ], | 1072 ], |
| 1018 } | 1073 } |
| OLD | NEW |