OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 component("base") { | 5 component("base") { |
6 external = true | 6 external = true |
7 sources = [ | 7 sources = [ |
8 "../build/build_config.h", | 8 "../build/build_config.h", |
9 "third_party/dmg_fp/dmg_fp.h", | 9 "third_party/dmg_fp/dmg_fp.h", |
10 "third_party/dmg_fp/g_fmt.cc", | 10 "third_party/dmg_fp/g_fmt.cc", |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 "win/text_services_message_filter.h", | 667 "win/text_services_message_filter.h", |
668 "win/win_util.cc", | 668 "win/win_util.cc", |
669 "win/win_util.h", | 669 "win/win_util.h", |
670 "win/windows_version.cc", | 670 "win/windows_version.cc", |
671 "win/windows_version.h", | 671 "win/windows_version.h", |
672 "win/wrapped_window_proc.cc", | 672 "win/wrapped_window_proc.cc", |
673 "win/wrapped_window_proc.h", | 673 "win/wrapped_window_proc.h", |
674 ] | 674 ] |
675 | 675 |
676 # TODO(brettw) I don't understand the conditions this file is used. | 676 # TODO(brettw) I don't understand the conditions this file is used. |
677 sources -= "files/file_path_watcher_stub.cc" | 677 sources -= [ "files/file_path_watcher_stub.cc" ] |
678 | 678 |
679 sources -= [ | 679 sources -= [ |
680 # TODO(brettw) do these properly. | 680 # TODO(brettw) do these properly. |
681 "message_loop/message_pump_aurax11.cc", | 681 "message_loop/message_pump_aurax11.cc", |
682 "message_loop/message_pump_aurax11.h", | 682 "message_loop/message_pump_aurax11.h", |
683 "message_loop/message_pump_ozone.cc", | 683 "message_loop/message_pump_ozone.cc", |
684 "message_loop/message_pump_ozone.h", | 684 "message_loop/message_pump_ozone.h", |
685 | 685 |
686 "process/process_handle_freebsd.cc", | 686 "process/process_handle_freebsd.cc", |
687 "process/process_handle_openbsd.cc", | 687 "process/process_handle_openbsd.cc", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 if (is_win) { | 745 if (is_win) { |
746 sources -= [ | 746 sources -= [ |
747 "message_loop/message_pump_libevent.cc", | 747 "message_loop/message_pump_libevent.cc", |
748 "strings/string16.cc", | 748 "strings/string16.cc", |
749 # Not using sha1_win.cc because it may have caused a | 749 # Not using sha1_win.cc because it may have caused a |
750 # regression to page cycler moz. | 750 # regression to page cycler moz. |
751 "sha1_win.cc", | 751 "sha1_win.cc", |
752 ] | 752 ] |
753 | 753 |
754 if (is_component_build) { | 754 if (is_component_build) { |
755 sources -= "debug/debug_on_start_win.cc" | 755 sources -= [ "debug/debug_on_start_win.cc" ] |
756 } | 756 } |
757 } else if (!is_nacl) { | 757 } else if (!is_nacl) { |
758 # Non-Windows. | 758 # Non-Windows. |
759 deps += "//third_party/libevent" | 759 deps += [ "//third_party/libevent" ] |
760 libs += "dl" | 760 libs += [ "dl" ] |
761 } | 761 } |
762 | 762 |
763 # Mac. | 763 # Mac. |
764 if (is_mac) { | 764 if (is_mac) { |
765 sources -= [ | 765 sources -= [ |
766 "base_paths_posix.cc", | 766 "base_paths_posix.cc", |
767 "native_library_posix.cc", | 767 "native_library_posix.cc", |
768 "strings/sys_string_conversions_posix.cc", | 768 "strings/sys_string_conversions_posix.cc", |
769 ] | 769 ] |
770 deps += "//third_party/mach_override" | 770 deps += [ "//third_party/mach_override" ] |
771 libs += [ | 771 libs += [ |
772 "AppKit.framework", | 772 "AppKit.framework", |
773 "ApplicationServices.framework", | 773 "ApplicationServices.framework", |
774 "Carbon.framework", | 774 "Carbon.framework", |
775 "CoreFoundation.framework", | 775 "CoreFoundation.framework", |
776 "Foundation.framework", | 776 "Foundation.framework", |
777 "IOKit.framework", | 777 "IOKit.framework", |
778 "Security.framework", | 778 "Security.framework", |
779 ] | 779 ] |
780 } else { | 780 } else { |
781 # Non-Mac. | 781 # Non-Mac. |
782 sources -= "files/file_path_watcher_kqueue.cc" | 782 sources -= [ "files/file_path_watcher_kqueue.cc" ] |
783 } | 783 } |
784 | 784 |
785 # IOS. | 785 # IOS. |
786 if (is_ios) { | 786 if (is_ios) { |
787 libs += [ | 787 libs += [ |
788 "CoreFoundation.framework", | 788 "CoreFoundation.framework", |
789 "CoreGraphics.framework", | 789 "CoreGraphics.framework", |
790 "CoreText.framework", | 790 "CoreText.framework", |
791 "Foundation.framework", | 791 "Foundation.framework", |
792 "UIKit.framework", | 792 "UIKit.framework", |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 876 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
877 deps = [ | 877 deps = [ |
878 ":base", | 878 ":base", |
879 "//base/third_party/dynamic_annotations", | 879 "//base/third_party/dynamic_annotations", |
880 "//third_party/icu:icui18n", | 880 "//third_party/icu:icui18n", |
881 "//third_party/icu:icuuc", | 881 "//third_party/icu:icuuc", |
882 ] | 882 ] |
883 | 883 |
884 if (toolkit_uses_gtk) { | 884 if (toolkit_uses_gtk) { |
885 # i18n/rtl.cc uses gtk | 885 # i18n/rtl.cc uses gtk |
886 configs += "//build/config/linux:gtk" | 886 configs += [ "//build/config/linux:gtk" ] |
887 } | 887 } |
888 | 888 |
889 #'conditions': [ | 889 #'conditions': [ |
890 # ['OS == "win"', { | 890 # ['OS == "win"', { |
891 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 891 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
892 # 'msvs_disabled_warnings': [ | 892 # 'msvs_disabled_warnings': [ |
893 # 4267, | 893 # 4267, |
894 # ], | 894 # ], |
895 # }], | 895 # }], |
896 #], | 896 #], |
897 #'variables': { | 897 #'variables': { |
898 # 'optimize': 'max', | 898 # 'optimize': 'max', |
899 #}, | 899 #}, |
900 } | 900 } |
OLD | NEW |