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

Side by Side Diff: base/base.gypi

Issue 7328011: Introduce ui.dll / libui.so for the component build. (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
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',
539 'BASE_IMPLEMENTATION', 538 'BASE_IMPLEMENTATION',
540 ], 539 ],
541 'conditions': [ 540 'conditions': [
542 ['OS=="win"', { 541 ['OS=="win"', {
543 'msvs_disabled_warnings': [ 542 'msvs_disabled_warnings': [
544 4251, 543 4251,
545 ], 544 ],
546 'sources!': [ 545 'sources!': [
547 'debug/debug_on_start_win.cc', 546 'debug/debug_on_start_win.cc',
548 ], 547 ],
549 'direct_dependent_settings': { 548 'direct_dependent_settings': {
550 'defines': [
551 'BASE_DLL',
552 ],
553 'msvs_disabled_warnings': [ 549 'msvs_disabled_warnings': [
554 4251, 550 4251,
555 ], 551 ],
556 }, 552 },
557 }], 553 }],
558 ], 554 ],
559 }], 555 }],
560 ], 556 ],
561 'sources': [ 557 'sources': [
562 'third_party/nspr/prcpucfg.h', 558 'third_party/nspr/prcpucfg.h',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 'time_mac.cc', 594 'time_mac.cc',
599 'time_posix.cc', 595 'time_posix.cc',
600 ], 596 ],
601 }, 597 },
602 ], 598 ],
603 'conditions': [ 599 'conditions': [
604 [ 'OS == "win"', { 600 [ 'OS == "win"', {
605 'targets': [ 601 'targets': [
606 { 602 {
607 'target_name': 'base_nacl_win64', 603 'target_name': 'base_nacl_win64',
608 'type': 'static_library', 604 'type': '<(component)',
609 'variables': { 605 'variables': {
610 'base_target': 1, 606 'base_target': 1,
611 }, 607 },
612 'dependencies': [ 608 'dependencies': [
613 'base_static_win64', 609 'base_static_win64',
614 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations_win64', 610 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations_win64',
615 ], 611 ],
616 # TODO(gregoryd): direct_dependent_settings should be shared with the 612 # 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 613 # 32-bit target, but it doesn't work due to a bug in gyp
618 'direct_dependent_settings': { 614 'direct_dependent_settings': {
619 'include_dirs': [ 615 'include_dirs': [
620 '..', 616 '..',
621 ], 617 ],
622 }, 618 },
623 'defines': [ 619 'defines': [
624 '<@(nacl_win64_defines)', 620 '<@(nacl_win64_defines)',
625 ], 621 ],
626 'sources': [ 622 'sources': [
627 'i18n/icu_util_nacl_win64.cc', 623 'i18n/icu_util_nacl_win64.cc',
628 ], 624 ],
629 'configurations': { 625 'configurations': {
630 'Common_Base': { 626 'Common_Base': {
631 'msvs_target_platform': 'x64', 627 'msvs_target_platform': 'x64',
632 }, 628 },
633 }, 629 },
630 'conditions': [
631 [ 'component == "shared_library"', {
632 'defines': [
633 'BASE_IMPLEMENTATION',
634 ],
635 'sources!': [
636 'debug/debug_on_start_win.cc',
637 ],
638 }],
639 ],
640 },
641 {
642 'target_name': 'base_i18n_nacl_win64',
643 'type': 'static_library',
644 # TODO(gregoryd): direct_dependent_settings should be shared with the
645 # 32-bit target, but it doesn't work due to a bug in gyp
646 'direct_dependent_settings': {
647 'include_dirs': [
648 '..',
649 ],
650 },
651 'defines': [
652 '<@(nacl_win64_defines)',
653 ],
654 'include_dirs': [
655 '..',
656 ],
657 'sources': [
658 'i18n/icu_util_nacl_win64.cc',
659 ],
660 'configurations': {
661 'Common_Base': {
662 'msvs_target_platform': 'x64',
663 },
664 },
634 }, 665 },
635 ], 666 ],
636 }], 667 }],
637 [ 'os_posix==1 and OS!="mac"', { 668 [ 'os_posix==1 and OS!="mac"', {
638 'targets': [ 669 'targets': [
639 { 670 {
640 'target_name': 'symbolize', 671 'target_name': 'symbolize',
641 'type': 'static_library', 672 'type': 'static_library',
642 'variables': { 673 'variables': {
643 'chromium_code': 0, 674 'chromium_code': 0,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 'third_party/xdg_mime/xdgmimemagic.c', 717 'third_party/xdg_mime/xdgmimemagic.c',
687 'third_party/xdg_mime/xdgmimemagic.h', 718 'third_party/xdg_mime/xdgmimemagic.h',
688 'third_party/xdg_mime/xdgmimeparent.c', 719 'third_party/xdg_mime/xdgmimeparent.c',
689 'third_party/xdg_mime/xdgmimeparent.h', 720 'third_party/xdg_mime/xdgmimeparent.h',
690 ], 721 ],
691 }, 722 },
692 ], 723 ],
693 }], 724 }],
694 ], 725 ],
695 } 726 }
OLDNEW
« no previous file with comments | « base/at_exit.cc ('k') | base/base_api.h » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698