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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 'action': ['python', '../../tools/js2c.py', '<@(_outputs)', 'D8', '<@(
library_files)'], | 412 'action': ['python', '../../tools/js2c.py', '<@(_outputs)', 'D8', '<@(
library_files)'], |
413 }, | 413 }, |
414 ], | 414 ], |
415 }, | 415 }, |
416 | 416 |
417 # Targets to build v8 for the native architecture (ia32). | 417 # Targets to build v8 for the native architecture (ia32). |
418 { | 418 { |
419 'target_name': 'v8_base', | 419 'target_name': 'v8_base', |
420 'type': '<(library)', | 420 'type': '<(library)', |
421 'defines': [ | 421 'defines': [ |
422 'V8_TARGET_ARCH_IA32' | 422 'V8_TARGET_ARCH_IA32', |
| 423 'V8_NATIVE_REGEXP' |
423 ], | 424 ], |
424 'include_dirs+': [ | 425 'include_dirs+': [ |
425 '../../src', | 426 '../../src', |
426 '../../src/ia32', | 427 '../../src/ia32', |
427 ], | 428 ], |
428 'msvs_guid': 'EC8B7909-62AF-470D-A75D-E1D89C837142', | 429 'msvs_guid': 'EC8B7909-62AF-470D-A75D-E1D89C837142', |
429 'sources': [ | 430 'sources': [ |
430 '<@(base_source_files)', | 431 '<@(base_source_files)', |
431 ], | 432 ], |
432 'sources!': [ | 433 'sources!': [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 'link_settings': { | 471 'link_settings': { |
471 'libraries': [ '-lwinmm.lib' ], | 472 'libraries': [ '-lwinmm.lib' ], |
472 }, | 473 }, |
473 }], | 474 }], |
474 ], | 475 ], |
475 }, | 476 }, |
476 { | 477 { |
477 'target_name': 'v8_nosnapshot', | 478 'target_name': 'v8_nosnapshot', |
478 'type': '<(library)', | 479 'type': '<(library)', |
479 'defines': [ | 480 'defines': [ |
480 'V8_TARGET_ARCH_IA32' | 481 'V8_TARGET_ARCH_IA32', |
| 482 'V8_NATIVE_REGEXP' |
481 ], | 483 ], |
482 'dependencies': [ | 484 'dependencies': [ |
483 'js2c', | 485 'js2c', |
484 'v8_base', | 486 'v8_base', |
485 ], | 487 ], |
486 'include_dirs': [ | 488 'include_dirs': [ |
487 '../../src', | 489 '../../src', |
488 ], | 490 ], |
489 'sources': [ | 491 'sources': [ |
490 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 492 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
(...skipping 11 matching lines...) Expand all Loading... |
502 ], | 504 ], |
503 'msvs_guid': '865575D0-37E2-405E-8CBA-5F6C485B5A26', | 505 'msvs_guid': '865575D0-37E2-405E-8CBA-5F6C485B5A26', |
504 'sources': [ | 506 'sources': [ |
505 '../../src/mksnapshot.cc', | 507 '../../src/mksnapshot.cc', |
506 ], | 508 ], |
507 }, | 509 }, |
508 { | 510 { |
509 'target_name': 'v8', | 511 'target_name': 'v8', |
510 'type': '<(library)', | 512 'type': '<(library)', |
511 'defines': [ | 513 'defines': [ |
512 'V8_TARGET_ARCH_IA32' | 514 'V8_TARGET_ARCH_IA32', |
| 515 'V8_NATIVE_REGEXP' |
513 ], | 516 ], |
514 'dependencies': [ | 517 'dependencies': [ |
515 'js2c', | 518 'js2c', |
516 'mksnapshot', | 519 'mksnapshot', |
517 'v8_base', | 520 'v8_base', |
518 ], | 521 ], |
519 'msvs_guid': '21E22961-22BF-4493-BD3A-868F93DA5179', | 522 'msvs_guid': '21E22961-22BF-4493-BD3A-868F93DA5179', |
520 'actions': [ | 523 'actions': [ |
521 { | 524 { |
522 'action_name': 'mksnapshot', | 525 'action_name': 'mksnapshot', |
(...skipping 19 matching lines...) Expand all Loading... |
542 ], | 545 ], |
543 }, | 546 }, |
544 'export_dependent_settings': [ | 547 'export_dependent_settings': [ |
545 'v8_base', | 548 'v8_base', |
546 ], | 549 ], |
547 }, | 550 }, |
548 { | 551 { |
549 'target_name': 'v8_shell', | 552 'target_name': 'v8_shell', |
550 'type': 'executable', | 553 'type': 'executable', |
551 'defines': [ | 554 'defines': [ |
552 'V8_TARGET_ARCH_IA32' | 555 'V8_TARGET_ARCH_IA32', |
| 556 'V8_NATIVE_REGEXP' |
553 ], | 557 ], |
554 'dependencies': [ | 558 'dependencies': [ |
555 'v8', | 559 'v8', |
556 ], | 560 ], |
557 'sources': [ | 561 'sources': [ |
558 '../../samples/shell.cc', | 562 '../../samples/shell.cc', |
559 ], | 563 ], |
560 'conditions': [ | 564 'conditions': [ |
561 [ 'OS=="win"', { | 565 [ 'OS=="win"', { |
562 # This could be gotten by not setting chromium_code, if that's OK. | 566 # This could be gotten by not setting chromium_code, if that's OK. |
563 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 567 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
564 }], | 568 }], |
565 ], | 569 ], |
566 }, | 570 }, |
567 ], | 571 ], |
568 | 572 |
569 'conditions': [ ['OS=="mac"', { 'targets': [ | 573 'conditions': [ ['OS=="mac"', { 'targets': [ |
570 # TODO(bradnelson): temporarily disable 'd8' target on Windows while | 574 # TODO(bradnelson): temporarily disable 'd8' target on Windows while |
571 # we work fix the performance regressions. | 575 # we work fix the performance regressions. |
572 # TODO(sgk): temporarily disable 'd8' target on Linux while | 576 # TODO(sgk): temporarily disable 'd8' target on Linux while |
573 # we work out getting the readline library on all the systems. | 577 # we work out getting the readline library on all the systems. |
574 { | 578 { |
575 'target_name': 'd8', | 579 'target_name': 'd8', |
576 'type': 'executable', | 580 'type': 'executable', |
577 'dependencies': [ | 581 'dependencies': [ |
578 'd8_js2c', | 582 'd8_js2c', |
579 'v8', | 583 'v8', |
580 ], | 584 ], |
581 'defines': [ | 585 'defines': [ |
582 'V8_TARGET_ARCH_IA32' | 586 'V8_TARGET_ARCH_IA32', |
| 587 'V8_NATIVE_REGEXP' |
583 ], | 588 ], |
584 'include_dirs': [ | 589 'include_dirs': [ |
585 '../../src', | 590 '../../src', |
586 ], | 591 ], |
587 'sources': [ | 592 'sources': [ |
588 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', | 593 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', |
589 '<@(d8_source_files)', | 594 '<@(d8_source_files)', |
590 ], | 595 ], |
591 'conditions': [ | 596 'conditions': [ |
592 [ 'OS=="linux"', { | 597 [ 'OS=="linux"', { |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 ], | 738 ], |
734 'msvs_settings': { | 739 'msvs_settings': { |
735 'VCLinkerTool': { | 740 'VCLinkerTool': { |
736 'AdditionalOptions': '/IGNORE:4221 /NXCOMPAT', | 741 'AdditionalOptions': '/IGNORE:4221 /NXCOMPAT', |
737 }, | 742 }, |
738 }, | 743 }, |
739 }, | 744 }, |
740 }], | 745 }], |
741 ], | 746 ], |
742 } | 747 } |
OLD | NEW |