Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: base/base.gypi

Issue 7352014: Revert "Add COMPONENT_BUILD global define. " (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/at_exit.cc ('k') | base/base_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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',
538 'BASE_IMPLEMENTATION', 539 'BASE_IMPLEMENTATION',
539 ], 540 ],
540 'conditions': [ 541 'conditions': [
541 ['OS=="win"', { 542 ['OS=="win"', {
543 'msvs_disabled_warnings': [
544 4251,
545 ],
542 'sources!': [ 546 'sources!': [
543 'debug/debug_on_start_win.cc', 547 'debug/debug_on_start_win.cc',
544 ], 548 ],
549 'direct_dependent_settings': {
550 'defines': [
551 'BASE_DLL',
552 ],
553 'msvs_disabled_warnings': [
554 4251,
555 ],
556 },
545 }], 557 }],
546 ], 558 ],
547 }], 559 }],
548 ], 560 ],
549 'sources': [ 561 'sources': [
550 'third_party/nspr/prcpucfg.h', 562 'third_party/nspr/prcpucfg.h',
551 'third_party/nspr/prcpucfg_win.h', 563 'third_party/nspr/prcpucfg_win.h',
552 'third_party/nspr/prtypes.h', 564 'third_party/nspr/prtypes.h',
553 'third_party/purify/pure.h', 565 'third_party/purify/pure.h',
554 'third_party/purify/pure_api.c', 566 'third_party/purify/pure_api.c',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 'time_mac.cc', 598 'time_mac.cc',
587 'time_posix.cc', 599 'time_posix.cc',
588 ], 600 ],
589 }, 601 },
590 ], 602 ],
591 'conditions': [ 603 'conditions': [
592 [ 'OS == "win"', { 604 [ 'OS == "win"', {
593 'targets': [ 605 'targets': [
594 { 606 {
595 'target_name': 'base_nacl_win64', 607 'target_name': 'base_nacl_win64',
596 'type': '<(component)', 608 'type': 'static_library',
597 'variables': { 609 'variables': {
598 'base_target': 1, 610 'base_target': 1,
599 }, 611 },
600 'dependencies': [ 612 'dependencies': [
601 'base_static_win64', 613 'base_static_win64',
602 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations_win64', 614 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations_win64',
603 ], 615 ],
604 # TODO(gregoryd): direct_dependent_settings should be shared with the 616 # TODO(gregoryd): direct_dependent_settings should be shared with the
605 # 32-bit target, but it doesn't work due to a bug in gyp 617 # 32-bit target, but it doesn't work due to a bug in gyp
606 'direct_dependent_settings': { 618 'direct_dependent_settings': {
607 'include_dirs': [ 619 'include_dirs': [
608 '..', 620 '..',
609 ], 621 ],
610 }, 622 },
611 'defines': [ 623 'defines': [
612 '<@(nacl_win64_defines)', 624 '<@(nacl_win64_defines)',
613 ], 625 ],
614 'sources': [ 626 'sources': [
615 'i18n/icu_util_nacl_win64.cc', 627 'i18n/icu_util_nacl_win64.cc',
616 ], 628 ],
617 'configurations': { 629 'configurations': {
618 'Common_Base': { 630 'Common_Base': {
619 'msvs_target_platform': 'x64', 631 'msvs_target_platform': 'x64',
620 }, 632 },
621 }, 633 },
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 },
657 }, 634 },
658 ], 635 ],
659 }], 636 }],
660 [ 'os_posix==1 and OS!="mac"', { 637 [ 'os_posix==1 and OS!="mac"', {
661 'targets': [ 638 'targets': [
662 { 639 {
663 'target_name': 'symbolize', 640 'target_name': 'symbolize',
664 'type': 'static_library', 641 'type': 'static_library',
665 'variables': { 642 'variables': {
666 'chromium_code': 0, 643 'chromium_code': 0,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 'third_party/xdg_mime/xdgmimemagic.c', 686 'third_party/xdg_mime/xdgmimemagic.c',
710 'third_party/xdg_mime/xdgmimemagic.h', 687 'third_party/xdg_mime/xdgmimemagic.h',
711 'third_party/xdg_mime/xdgmimeparent.c', 688 'third_party/xdg_mime/xdgmimeparent.c',
712 'third_party/xdg_mime/xdgmimeparent.h', 689 'third_party/xdg_mime/xdgmimeparent.h',
713 ], 690 ],
714 }, 691 },
715 ], 692 ],
716 }], 693 }],
717 ], 694 ],
718 } 695 }
OLDNEW
« no previous file with comments | « base/at_exit.cc ('k') | base/base_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698