| 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 static_library("test_support_base") { | 7 static_library("test_support_base") { |
| 8 external = true | |
| 9 sources = [ | 8 sources = [ |
| 10 "expectations/expectation.cc", | 9 "expectations/expectation.cc", |
| 11 "expectations/expectation.h", | 10 "expectations/expectation.h", |
| 12 "expectations/parser.cc", | 11 "expectations/parser.cc", |
| 13 "expectations/parser.h", | 12 "expectations/parser.h", |
| 14 "gtest_xml_util.cc", | 13 "gtest_xml_util.cc", |
| 15 "gtest_xml_util.h", | 14 "gtest_xml_util.h", |
| 16 "launcher/test_launcher.cc", | 15 "launcher/test_launcher.cc", |
| 17 "launcher/test_launcher.h", | 16 "launcher/test_launcher.h", |
| 18 "launcher/test_result.cc", | 17 "launcher/test_result.cc", |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 if (toolkit_uses_gtk) { | 117 if (toolkit_uses_gtk) { |
| 119 configs += [ "//build/config/linux:gtk" ] | 118 configs += [ "//build/config/linux:gtk" ] |
| 120 } | 119 } |
| 121 } | 120 } |
| 122 | 121 |
| 123 config("perf_test_config") { | 122 config("perf_test_config") { |
| 124 defines = [ "PERF_TEST" ] | 123 defines = [ "PERF_TEST" ] |
| 125 } | 124 } |
| 126 | 125 |
| 127 static_library("test_support_perf") { | 126 static_library("test_support_perf") { |
| 128 external = true | |
| 129 sources = [ | 127 sources = [ |
| 130 "run_all_perftests.cc", | 128 "run_all_perftests.cc", |
| 131 ] | 129 ] |
| 132 deps = [ | 130 deps = [ |
| 133 "//base", | 131 "//base", |
| 134 "//testing/gtest", | 132 "//testing/gtest", |
| 135 ] | 133 ] |
| 136 | 134 |
| 137 direct_dependent_configs = [ ":perf_test_config" ] | 135 direct_dependent_configs = [ ":perf_test_config" ] |
| 138 | 136 |
| 139 if (toolkit_uses_gtk) { | 137 if (toolkit_uses_gtk) { |
| 140 configs += [ "//build/config/linux:gtk" ] | 138 configs += [ "//build/config/linux:gtk" ] |
| 141 } | 139 } |
| 142 } | 140 } |
| 143 | 141 |
| 144 static_library("run_all_unittests") { | 142 static_library("run_all_unittests") { |
| 145 external = true | |
| 146 sources = [ | 143 sources = [ |
| 147 "run_all_unittests.cc", | 144 "run_all_unittests.cc", |
| 148 ] | 145 ] |
| 149 deps = [ | 146 deps = [ |
| 150 ":test_support_base", | 147 ":test_support_base", |
| 151 ] | 148 ] |
| 152 } | 149 } |
| OLD | NEW |