| 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/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 | 7 |
| 8 source_set("test_support") { | 8 source_set("test_support") { |
| 9 sources = [ | 9 sources = [ |
| 10 "expectations/expectation.cc", | 10 "expectations/expectation.cc", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 if (is_android) { | 122 if (is_android) { |
| 123 deps += [ ":base_unittests_jni_headers" ] | 123 deps += [ ":base_unittests_jni_headers" ] |
| 124 } | 124 } |
| 125 } | 125 } |
| 126 | 126 |
| 127 config("perf_test_config") { | 127 config("perf_test_config") { |
| 128 defines = [ "PERF_TEST" ] | 128 defines = [ "PERF_TEST" ] |
| 129 } | 129 } |
| 130 | 130 |
| 131 static_library("test_support_perf") { | 131 source_set("test_support_perf") { |
| 132 sources = [ | 132 sources = [ |
| 133 "run_all_perftests.cc", | 133 "run_all_perftests.cc", |
| 134 ] | 134 ] |
| 135 deps = [ | 135 deps = [ |
| 136 ":test_support", | 136 ":test_support", |
| 137 "//base", | 137 "//base", |
| 138 "//testing/gtest", | 138 "//testing/gtest", |
| 139 ] | 139 ] |
| 140 | 140 |
| 141 direct_dependent_configs = [ ":perf_test_config" ] | 141 direct_dependent_configs = [ ":perf_test_config" ] |
| 142 } | 142 } |
| 143 | 143 |
| 144 source_set("run_all_unittests") { | 144 source_set("run_all_unittests") { |
| 145 sources = [ | 145 sources = [ |
| 146 "run_all_unittests.cc", | 146 "run_all_unittests.cc", |
| 147 ] | 147 ] |
| 148 deps = [ | 148 deps = [ |
| 149 ":test_support", | 149 ":test_support", |
| 150 ] | 150 ] |
| 151 } | 151 } |
| 152 | 152 |
| 153 if (is_android) { | 153 if (is_android) { |
| 154 generate_jni("base_unittests_jni_headers") { | 154 generate_jni("base_unittests_jni_headers") { |
| 155 sources = [ | 155 sources = [ |
| 156 "android/java/src/org/chromium/base/ContentUriTestUtils.java", | 156 "android/java/src/org/chromium/base/ContentUriTestUtils.java", |
| 157 ] | 157 ] |
| 158 jni_package = "base" | 158 jni_package = "base" |
| 159 } | 159 } |
| 160 } | 160 } |
| OLD | NEW |