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 import("//build/config/nacl/config.gni") | |
Dirk Pranke
2015/12/04 00:22:41
is this import needed?
Petr Hosek
2015/12/04 05:57:46
This is for is_nacl_nonsfi.
| |
6 | 7 |
7 if (is_android) { | 8 if (is_android) { |
8 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
9 } | 10 } |
10 | 11 |
11 source_set("test_config") { | 12 source_set("test_config") { |
12 # TODO http://crbug.com/412064 enable this flag all the time. | 13 # TODO http://crbug.com/412064 enable this flag all the time. |
13 testonly = !is_component_build | 14 testonly = !is_component_build |
14 sources = [ | 15 sources = [ |
15 "test_switches.cc", | 16 "test_switches.cc", |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
183 ] | 184 ] |
184 deps = [ | 185 deps = [ |
185 ":test_support", | 186 ":test_support", |
186 "//base", | 187 "//base", |
187 "//testing/gtest", | 188 "//testing/gtest", |
188 ] | 189 ] |
189 | 190 |
190 public_configs = [ ":perf_test_config" ] | 191 public_configs = [ ":perf_test_config" ] |
191 } | 192 } |
192 | 193 |
194 source_set("test_support_nonsfi") { | |
195 testonly = true | |
196 sources = [ | |
197 "gtest_util.cc", | |
198 "gtest_util.h", | |
199 "gtest_xml_unittest_result_printer.cc", | |
200 "gtest_xml_unittest_result_printer.h", | |
201 "launcher/test_launcher.h", | |
202 "launcher/test_result.h", | |
203 "launcher/unit_test_launcher.h", | |
204 "launcher/unit_test_launcher_nacl_nonsfi.cc", | |
205 "test_switches.cc", | |
206 "test_switches.h", | |
207 ] | |
208 public_deps = [ | |
209 "//base", | |
210 ] | |
211 deps = [ | |
212 "//testing/gtest", | |
213 ] | |
214 } | |
215 | |
216 source_set("test_launcher_nacl_nonsfi") { | |
217 testonly = true | |
218 sources = [ | |
219 "launcher/test_launcher_nacl_nonsfi.cc", | |
220 "launcher/test_launcher_nacl_nonsfi.h", | |
221 ] | |
222 deps = [ | |
223 ":test_support", | |
224 ] | |
225 } | |
226 | |
193 source_set("run_all_unittests") { | 227 source_set("run_all_unittests") { |
194 testonly = true | 228 testonly = true |
195 sources = [ | 229 sources = [ |
196 "run_all_unittests.cc", | 230 "run_all_unittests.cc", |
197 ] | 231 ] |
198 deps = [ | 232 deps = [ |
199 ":test_support", | 233 ":test_support", |
200 ] | 234 ] |
201 } | 235 } |
202 | 236 |
(...skipping 12 matching lines...) Expand all Loading... | |
215 | 249 |
216 if (is_android) { | 250 if (is_android) { |
217 generate_jni("base_unittests_jni_headers") { | 251 generate_jni("base_unittests_jni_headers") { |
218 sources = [ | 252 sources = [ |
219 "android/java/src/org/chromium/base/ContentUriTestUtils.java", | 253 "android/java/src/org/chromium/base/ContentUriTestUtils.java", |
220 "android/java/src/org/chromium/base/TestUiThread.java", | 254 "android/java/src/org/chromium/base/TestUiThread.java", |
221 ] | 255 ] |
222 jni_package = "base" | 256 jni_package = "base" |
223 } | 257 } |
224 } | 258 } |
OLD | NEW |