OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'base_target': 0, | 8 'base_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 [ 'OS != "win"', { | 528 [ 'OS != "win"', { |
529 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], | 529 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], |
530 'sources!': [ | 530 'sources!': [ |
531 'third_party/purify/pure_api.c', | 531 'third_party/purify/pure_api.c', |
532 'event_recorder.cc', | 532 'event_recorder.cc', |
533 'resource_util.cc', | 533 'resource_util.cc', |
534 ], | 534 ], |
535 },], | 535 },], |
536 [ 'component=="shared_library"', { | 536 [ 'component=="shared_library"', { |
537 'defines': [ | 537 'defines': [ |
538 'BASE_DLL', | |
539 'BASE_IMPLEMENTATION', | 538 'BASE_IMPLEMENTATION', |
540 ], | 539 ], |
541 'conditions': [ | 540 'conditions': [ |
542 ['OS=="win"', { | 541 ['OS=="win"', { |
543 'msvs_disabled_warnings': [ | |
544 4251, | |
545 ], | |
546 'sources!': [ | 542 'sources!': [ |
547 'debug/debug_on_start_win.cc', | 543 'debug/debug_on_start_win.cc', |
548 ], | 544 ], |
549 'direct_dependent_settings': { | |
550 'defines': [ | |
551 'BASE_DLL', | |
552 ], | |
553 'msvs_disabled_warnings': [ | |
554 4251, | |
555 ], | |
556 }, | |
557 }], | 545 }], |
558 ], | 546 ], |
559 }], | 547 }], |
560 ], | 548 ], |
561 'sources': [ | 549 'sources': [ |
562 'third_party/nspr/prcpucfg.h', | 550 'third_party/nspr/prcpucfg.h', |
563 'third_party/nspr/prcpucfg_win.h', | 551 'third_party/nspr/prcpucfg_win.h', |
564 'third_party/nspr/prtypes.h', | 552 'third_party/nspr/prtypes.h', |
565 'third_party/purify/pure.h', | 553 'third_party/purify/pure.h', |
566 'third_party/purify/pure_api.c', | 554 'third_party/purify/pure_api.c', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 'time_mac.cc', | 586 'time_mac.cc', |
599 'time_posix.cc', | 587 'time_posix.cc', |
600 ], | 588 ], |
601 }, | 589 }, |
602 ], | 590 ], |
603 'conditions': [ | 591 'conditions': [ |
604 [ 'OS == "win"', { | 592 [ 'OS == "win"', { |
605 'targets': [ | 593 'targets': [ |
606 { | 594 { |
607 'target_name': 'base_nacl_win64', | 595 'target_name': 'base_nacl_win64', |
608 'type': 'static_library', | 596 'type': '<(component)', |
609 'variables': { | 597 'variables': { |
610 'base_target': 1, | 598 'base_target': 1, |
611 }, | 599 }, |
612 'dependencies': [ | 600 'dependencies': [ |
613 'base_static_win64', | 601 'base_static_win64', |
614 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations_win64', | 602 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations_win64', |
615 ], | 603 ], |
616 # TODO(gregoryd): direct_dependent_settings should be shared with the | 604 # TODO(gregoryd): direct_dependent_settings should be shared with the |
617 # 32-bit target, but it doesn't work due to a bug in gyp | 605 # 32-bit target, but it doesn't work due to a bug in gyp |
618 'direct_dependent_settings': { | 606 'direct_dependent_settings': { |
619 'include_dirs': [ | 607 'include_dirs': [ |
620 '..', | 608 '..', |
621 ], | 609 ], |
622 }, | 610 }, |
623 'defines': [ | 611 'defines': [ |
624 '<@(nacl_win64_defines)', | 612 '<@(nacl_win64_defines)', |
625 ], | 613 ], |
626 'sources': [ | 614 'sources': [ |
627 'i18n/icu_util_nacl_win64.cc', | 615 'i18n/icu_util_nacl_win64.cc', |
628 ], | 616 ], |
629 'configurations': { | 617 'configurations': { |
630 'Common_Base': { | 618 'Common_Base': { |
631 'msvs_target_platform': 'x64', | 619 'msvs_target_platform': 'x64', |
632 }, | 620 }, |
633 }, | 621 }, |
| 622 'conditions': [ |
| 623 [ 'component == "shared_library"', { |
| 624 'defines': [ |
| 625 'BASE_IMPLEMENTATION', |
| 626 ], |
| 627 'sources!': [ |
| 628 'debug/debug_on_start_win.cc', |
| 629 ], |
| 630 }], |
| 631 ], |
| 632 }, |
| 633 { |
| 634 'target_name': 'base_i18n_nacl_win64', |
| 635 'type': 'static_library', |
| 636 # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 637 # 32-bit target, but it doesn't work due to a bug in gyp |
| 638 'direct_dependent_settings': { |
| 639 'include_dirs': [ |
| 640 '..', |
| 641 ], |
| 642 }, |
| 643 'defines': [ |
| 644 '<@(nacl_win64_defines)', |
| 645 ], |
| 646 'include_dirs': [ |
| 647 '..', |
| 648 ], |
| 649 'sources': [ |
| 650 'i18n/icu_util_nacl_win64.cc', |
| 651 ], |
| 652 'configurations': { |
| 653 'Common_Base': { |
| 654 'msvs_target_platform': 'x64', |
| 655 }, |
| 656 }, |
634 }, | 657 }, |
635 ], | 658 ], |
636 }], | 659 }], |
637 [ 'os_posix==1 and OS!="mac"', { | 660 [ 'os_posix==1 and OS!="mac"', { |
638 'targets': [ | 661 'targets': [ |
639 { | 662 { |
640 'target_name': 'symbolize', | 663 'target_name': 'symbolize', |
641 'type': 'static_library', | 664 'type': 'static_library', |
642 'variables': { | 665 'variables': { |
643 'chromium_code': 0, | 666 'chromium_code': 0, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 'third_party/xdg_mime/xdgmimemagic.c', | 709 'third_party/xdg_mime/xdgmimemagic.c', |
687 'third_party/xdg_mime/xdgmimemagic.h', | 710 'third_party/xdg_mime/xdgmimemagic.h', |
688 'third_party/xdg_mime/xdgmimeparent.c', | 711 'third_party/xdg_mime/xdgmimeparent.c', |
689 'third_party/xdg_mime/xdgmimeparent.h', | 712 'third_party/xdg_mime/xdgmimeparent.h', |
690 ], | 713 ], |
691 }, | 714 }, |
692 ], | 715 ], |
693 }], | 716 }], |
694 ], | 717 ], |
695 } | 718 } |
OLD | NEW |