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 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 sources -= [ | 851 sources -= [ |
852 "event_recorder_stubs.cc", | 852 "event_recorder_stubs.cc", |
853 "message_loop/message_pump_libevent.cc", | 853 "message_loop/message_pump_libevent.cc", |
854 "strings/string16.cc", | 854 "strings/string16.cc", |
855 # Not using sha1_win.cc because it may have caused a | 855 # Not using sha1_win.cc because it may have caused a |
856 # regression to page cycler moz. | 856 # regression to page cycler moz. |
857 "sha1_win.cc", | 857 "sha1_win.cc", |
858 ] | 858 ] |
859 | 859 |
860 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 860 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
861 #cflags = [ "/wd4267" ] | 861 cflags = [ "/wd4267" ] |
862 | 862 |
863 libs = [ | 863 libs = [ |
864 "cfgmgr32.lib", | 864 "cfgmgr32.lib", |
865 "netapi32.lib", | 865 "netapi32.lib", |
866 "powrprof.lib", | 866 "powrprof.lib", |
867 "setupapi.lib", | 867 "setupapi.lib", |
868 ] | 868 ] |
869 ldflags = [ | 869 ldflags = [ |
870 "/DELAYLOAD:cfgmgr32.dll", | 870 "/DELAYLOAD:cfgmgr32.dll", |
871 "/DELAYLOAD:powrprof.dll", | 871 "/DELAYLOAD:powrprof.dll", |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1009 deps = [ | 1009 deps = [ |
1010 ":base", | 1010 ":base", |
1011 "//base/third_party/dynamic_annotations", | 1011 "//base/third_party/dynamic_annotations", |
1012 "//third_party/icu", | 1012 "//third_party/icu", |
1013 ] | 1013 ] |
1014 | 1014 |
1015 if (is_android && !is_debug) { | 1015 if (is_android && !is_debug) { |
1016 configs -= [ "//build/config/compiler:optimize" ] | 1016 configs -= [ "//build/config/compiler:optimize" ] |
1017 configs += [ "//build/config/compiler:optimize_max" ] | 1017 configs += [ "//build/config/compiler:optimize_max" ] |
1018 } | 1018 } |
| 1019 |
| 1020 if (is_win) { |
| 1021 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1022 cflags = [ "/wd4267" ] |
| 1023 } |
1019 } | 1024 } |
1020 | 1025 |
1021 source_set("prefs") { | 1026 source_set("prefs") { |
1022 sources = [ | 1027 sources = [ |
1023 "prefs/base_prefs_export.h", | 1028 "prefs/base_prefs_export.h", |
1024 "prefs/default_pref_store.cc", | 1029 "prefs/default_pref_store.cc", |
1025 "prefs/default_pref_store.h", | 1030 "prefs/default_pref_store.h", |
1026 "prefs/json_pref_store.cc", | 1031 "prefs/json_pref_store.cc", |
1027 "prefs/json_pref_store.h", | 1032 "prefs/json_pref_store.h", |
1028 "prefs/overlay_user_pref_store.cc", | 1033 "prefs/overlay_user_pref_store.cc", |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1500 # GYP: //base.gyp:base_unittests_apk | 1505 # GYP: //base.gyp:base_unittests_apk |
1501 unittest_apk("base_unittests_apk") { | 1506 unittest_apk("base_unittests_apk") { |
1502 deps = [ | 1507 deps = [ |
1503 ":base_java", | 1508 ":base_java", |
1504 ":base_java_unittest_support", | 1509 ":base_java_unittest_support", |
1505 ":base_unittests", | 1510 ":base_unittests", |
1506 ] | 1511 ] |
1507 unittests_dep = ":base_unittests" | 1512 unittests_dep = ":base_unittests" |
1508 } | 1513 } |
1509 } | 1514 } |
OLD | NEW |