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 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
929 } | 929 } |
930 } | 930 } |
931 | 931 |
932 if (!use_glib) { | 932 if (!use_glib) { |
933 sources -= [ | 933 sources -= [ |
934 "message_loop/message_pump_glib.cc", | 934 "message_loop/message_pump_glib.cc", |
935 "message_loop/message_pump_glib.h", | 935 "message_loop/message_pump_glib.h", |
936 ] | 936 ] |
937 } | 937 } |
938 | 938 |
939 # Enable more direct string conversions on platforms with native utf8 | |
rvargas (doing something else)
2014/12/11 22:19:37
nit: s/enable/allow
| |
940 # strings | |
941 if (is_mac || is_ios || is_chromeos) { | |
rvargas (doing something else)
2014/12/11 22:19:37
Maybe move this block closer to line 764
| |
942 defines += [ "SYSTEM_NATIVE_UTF8" ] | |
943 } | |
944 | |
939 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 945 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
940 if (is_android && !is_debug) { | 946 if (is_android && !is_debug) { |
941 configs -= [ "//build/config/compiler:optimize" ] | 947 configs -= [ "//build/config/compiler:optimize" ] |
942 configs += [ "//build/config/compiler:optimize_max" ] | 948 configs += [ "//build/config/compiler:optimize_max" ] |
943 } | 949 } |
944 } | 950 } |
945 | 951 |
946 # This is the subset of files from base that should not be used with a dynamic | 952 # This is the subset of files from base that should not be used with a dynamic |
947 # library. Note that this library cannot depend on base because base depends on | 953 # library. Note that this library cannot depend on base because base depends on |
948 # base_static. | 954 # base_static. |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1517 # GYP: //base.gyp:base_unittests_apk | 1523 # GYP: //base.gyp:base_unittests_apk |
1518 unittest_apk("base_unittests_apk") { | 1524 unittest_apk("base_unittests_apk") { |
1519 deps = [ | 1525 deps = [ |
1520 ":base_java", | 1526 ":base_java", |
1521 ":base_java_unittest_support", | 1527 ":base_java_unittest_support", |
1522 ":base_unittests", | 1528 ":base_unittests", |
1523 ] | 1529 ] |
1524 unittests_dep = ":base_unittests" | 1530 unittests_dep = ":base_unittests" |
1525 } | 1531 } |
1526 } | 1532 } |
OLD | NEW |