| Index: base/BUILD.gn
|
| diff --git a/base/BUILD.gn b/base/BUILD.gn
|
| index 8eb1c96c26542544a151466ba2e30379251ce97f..3295db9bf52f4ef581e636534d0e8b52e3fafca1 100644
|
| --- a/base/BUILD.gn
|
| +++ b/base/BUILD.gn
|
| @@ -1065,6 +1065,63 @@ component("i18n") {
|
| configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
| }
|
|
|
| +if (is_linux && !is_chromeos) {
|
| + # TODO(GYP): Figure out which of these work and are needed on other platforms.
|
| + test("base_perftests") {
|
| + sources = [
|
| + "message_loop/message_pump_perftest.cc",
|
| +
|
| + # "test/run_all_unittests.cc",
|
| + "threading/thread_perftest.cc",
|
| + ]
|
| + deps = [
|
| + ":base",
|
| + "//base/test:test_support",
|
| + "//base/test:test_support_perf",
|
| + "//testing/perf",
|
| + "//testing/gtest",
|
| + ]
|
| +
|
| + if (is_android) {
|
| + deps += [ "//testing/android:native_test_native_code" ]
|
| + }
|
| + }
|
| +
|
| + test("base_i18n_perftests") {
|
| + sources = [
|
| + "i18n/streaming_utf8_validator_perftest.cc",
|
| + ]
|
| + deps = [
|
| + ":base",
|
| + ":i18n",
|
| + "//base/test:test_support",
|
| + "//base/test:test_support_perf",
|
| + "//testing/gtest",
|
| + ]
|
| + }
|
| +
|
| + if (!is_ios) {
|
| + executable("build_utf8_validator_tables") {
|
| + sources = [
|
| + "i18n/build_utf8_validator_tables.cc",
|
| + ]
|
| + deps = [
|
| + ":base",
|
| + "//third_party/icu:icuuc",
|
| + ]
|
| + }
|
| +
|
| + executable("check_example") {
|
| + sources = [
|
| + "check_example.cc",
|
| + ]
|
| + deps = [
|
| + ":base",
|
| + ]
|
| + }
|
| + }
|
| +}
|
| +
|
| source_set("prefs") {
|
| sources = [
|
| "prefs/base_prefs_export.h",
|
|
|