| 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 sources = [ | 8 sources = [ |
| 9 "expectations/expectation.cc", | 9 "expectations/expectation.cc", |
| 10 "expectations/expectation.h", | 10 "expectations/expectation.h", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 config("perf_test_config") { | 122 config("perf_test_config") { |
| 123 defines = [ "PERF_TEST" ] | 123 defines = [ "PERF_TEST" ] |
| 124 } | 124 } |
| 125 | 125 |
| 126 static_library("test_support_perf") { | 126 static_library("test_support_perf") { |
| 127 sources = [ | 127 sources = [ |
| 128 "run_all_perftests.cc", | 128 "run_all_perftests.cc", |
| 129 ] | 129 ] |
| 130 deps = [ | 130 deps = [ |
| 131 ":test_support_base", |
| 131 "//base", | 132 "//base", |
| 132 "//testing/gtest", | 133 "//testing/gtest", |
| 133 ] | 134 ] |
| 134 | 135 |
| 135 direct_dependent_configs = [ ":perf_test_config" ] | 136 direct_dependent_configs = [ ":perf_test_config" ] |
| 136 | 137 |
| 137 if (toolkit_uses_gtk) { | 138 if (toolkit_uses_gtk) { |
| 138 configs += [ "//build/config/linux:gtk" ] | 139 configs += [ "//build/config/linux:gtk" ] |
| 139 } | 140 } |
| 140 } | 141 } |
| 141 | 142 |
| 142 static_library("run_all_unittests") { | 143 static_library("run_all_unittests") { |
| 143 sources = [ | 144 sources = [ |
| 144 "run_all_unittests.cc", | 145 "run_all_unittests.cc", |
| 145 ] | 146 ] |
| 146 deps = [ | 147 deps = [ |
| 147 ":test_support_base", | 148 ":test_support_base", |
| 148 ] | 149 ] |
| 149 } | 150 } |
| OLD | NEW |