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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 | 1058 |
1059 if (is_android && !is_debug) { | 1059 if (is_android && !is_debug) { |
1060 configs -= [ "//build/config/compiler:optimize" ] | 1060 configs -= [ "//build/config/compiler:optimize" ] |
1061 configs += [ "//build/config/compiler:optimize_max" ] | 1061 configs += [ "//build/config/compiler:optimize_max" ] |
1062 } | 1062 } |
1063 | 1063 |
1064 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1064 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1065 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1065 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
1066 } | 1066 } |
1067 | 1067 |
| 1068 if (is_linux && !is_chromeos) { |
| 1069 # TODO(GYP): Figure out which of these work and are needed on other platforms. |
| 1070 test("base_perftests") { |
| 1071 sources = [ |
| 1072 "message_loop/message_pump_perftest.cc", |
| 1073 |
| 1074 # "test/run_all_unittests.cc", |
| 1075 "threading/thread_perftest.cc", |
| 1076 ] |
| 1077 deps = [ |
| 1078 ":base", |
| 1079 "//base/test:test_support", |
| 1080 "//base/test:test_support_perf", |
| 1081 "//testing/perf", |
| 1082 "//testing/gtest", |
| 1083 ] |
| 1084 |
| 1085 if (is_android) { |
| 1086 deps += [ "//testing/android:native_test_native_code" ] |
| 1087 } |
| 1088 } |
| 1089 |
| 1090 test("base_i18n_perftests") { |
| 1091 sources = [ |
| 1092 "i18n/streaming_utf8_validator_perftest.cc", |
| 1093 ] |
| 1094 deps = [ |
| 1095 ":base", |
| 1096 ":i18n", |
| 1097 "//base/test:test_support", |
| 1098 "//base/test:test_support_perf", |
| 1099 "//testing/gtest", |
| 1100 ] |
| 1101 } |
| 1102 |
| 1103 if (!is_ios) { |
| 1104 executable("build_utf8_validator_tables") { |
| 1105 sources = [ |
| 1106 "i18n/build_utf8_validator_tables.cc", |
| 1107 ] |
| 1108 deps = [ |
| 1109 ":base", |
| 1110 "//third_party/icu:icuuc", |
| 1111 ] |
| 1112 } |
| 1113 |
| 1114 executable("check_example") { |
| 1115 sources = [ |
| 1116 "check_example.cc", |
| 1117 ] |
| 1118 deps = [ |
| 1119 ":base", |
| 1120 ] |
| 1121 } |
| 1122 } |
| 1123 } |
| 1124 |
1068 source_set("prefs") { | 1125 source_set("prefs") { |
1069 sources = [ | 1126 sources = [ |
1070 "prefs/base_prefs_export.h", | 1127 "prefs/base_prefs_export.h", |
1071 "prefs/default_pref_store.cc", | 1128 "prefs/default_pref_store.cc", |
1072 "prefs/default_pref_store.h", | 1129 "prefs/default_pref_store.h", |
1073 "prefs/json_pref_store.cc", | 1130 "prefs/json_pref_store.cc", |
1074 "prefs/json_pref_store.h", | 1131 "prefs/json_pref_store.h", |
1075 "prefs/overlay_user_pref_store.cc", | 1132 "prefs/overlay_user_pref_store.cc", |
1076 "prefs/overlay_user_pref_store.h", | 1133 "prefs/overlay_user_pref_store.h", |
1077 "prefs/persistent_pref_store.h", | 1134 "prefs/persistent_pref_store.h", |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1592 | 1649 |
1593 # GYP: //base.gyp:base_java_unittest_support | 1650 # GYP: //base.gyp:base_java_unittest_support |
1594 android_library("base_java_unittest_support") { | 1651 android_library("base_java_unittest_support") { |
1595 deps = [ | 1652 deps = [ |
1596 ":base_java", | 1653 ":base_java", |
1597 ] | 1654 ] |
1598 java_files = | 1655 java_files = |
1599 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 1656 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
1600 } | 1657 } |
1601 } | 1658 } |
OLD | NEW |