import("//build/config/android/rules.gni")
}
+# GYP: //base/base.gyp:test_support_base
source_set("test_support") {
+ # TODO http://crbug.com/412064 enable this flag all the time.
+ testonly = !is_component_build
sources = [
"expectations/expectation.cc",
"expectations/expectation.h",
"expectations/parser.h",
"gtest_xml_util.cc",
"gtest_xml_util.h",
+ "histogram_tester.cc",
+ "histogram_tester.h",
"launcher/test_launcher.cc",
"launcher/test_launcher.h",
"launcher/test_result.cc",
"simple_test_clock.h",
"simple_test_tick_clock.cc",
"simple_test_tick_clock.h",
- "statistics_delta_reader.cc",
- "statistics_delta_reader.h",
"task_runner_test_template.cc",
"task_runner_test_template.h",
"test_file_util.cc",
"test_file_util_mac.cc",
"test_file_util_posix.cc",
"test_file_util_win.cc",
+ "test_io_thread.cc",
+ "test_io_thread.h",
"test_listener_ios.h",
"test_listener_ios.mm",
"test_pending_task.cc",
"test_pending_task.h",
- "test_process_killer_win.cc",
- "test_process_killer_win.h",
"test_reg_util_win.cc",
"test_reg_util_win.h",
"test_shortcut_win.cc",
"thread_test_helper.h",
"trace_event_analyzer.cc",
"trace_event_analyzer.h",
+ "trace_to_file.cc",
+ "trace_to_file.h",
"values_test_util.cc",
"values_test_util.h",
]
- deps = [
+
+ public_deps = [
"//base",
- "//base/third_party/dynamic_annotations",
"//base:i18n",
"//base:base_static",
+ ]
+ deps = [
+ "//base/third_party/dynamic_annotations",
"//testing/gmock",
"//testing/gtest",
"//third_party/libxml"
}
source_set("test_support_perf") {
+ testonly = true
sources = [
"run_all_perftests.cc",
]
"//testing/gtest",
]
- direct_dependent_configs = [ ":perf_test_config" ]
+ public_configs = [ ":perf_test_config" ]
}
source_set("run_all_unittests") {
+ testonly = true
sources = [
"run_all_unittests.cc",
]