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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 component("base") { | 7 component("base") { |
8 sources = [ | 8 sources = [ |
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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
748 "message_loop/message_pump_libevent.cc", | 748 "message_loop/message_pump_libevent.cc", |
749 "strings/string16.cc", | 749 "strings/string16.cc", |
750 # Not using sha1_win.cc because it may have caused a | 750 # Not using sha1_win.cc because it may have caused a |
751 # regression to page cycler moz. | 751 # regression to page cycler moz. |
752 "sha1_win.cc", | 752 "sha1_win.cc", |
753 ] | 753 ] |
754 | 754 |
755 if (is_component_build) { | 755 if (is_component_build) { |
756 sources -= [ "debug/debug_on_start_win.cc" ] | 756 sources -= [ "debug/debug_on_start_win.cc" ] |
757 } | 757 } |
758 | |
759 # Needed by win_util.h | |
760 libs = [ "netapi32.lib" ] | |
cjhopman
2014/04/08 21:20:41
Having the windows build fix in this change is a b
| |
758 } else if (!is_nacl) { | 761 } else if (!is_nacl) { |
759 # Non-Windows. | 762 # Non-Windows. |
760 deps += [ "//third_party/libevent" ] | 763 deps += [ "//third_party/libevent" ] |
761 } | 764 } |
762 | 765 |
763 # Mac. | 766 # Mac. |
764 if (is_mac) { | 767 if (is_mac) { |
765 sources -= [ | 768 sources -= [ |
766 "base_paths_posix.cc", | 769 "base_paths_posix.cc", |
767 "native_library_posix.cc", | 770 "native_library_posix.cc", |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
898 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 901 # # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
899 # 'msvs_disabled_warnings': [ | 902 # 'msvs_disabled_warnings': [ |
900 # 4267, | 903 # 4267, |
901 # ], | 904 # ], |
902 # }], | 905 # }], |
903 #], | 906 #], |
904 #'variables': { | 907 #'variables': { |
905 # 'optimize': 'max', | 908 # 'optimize': 'max', |
906 #}, | 909 #}, |
907 } | 910 } |
OLD | NEW |