OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 # Collection of all components. You wouldn't link to this, but this is rather | 10 # Collection of all components. You wouldn't link to this, but this is rather |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 "//components/webdata/common:unit_tests", | 293 "//components/webdata/common:unit_tests", |
294 | 294 |
295 # These are the deps required by the code in this target. | 295 # These are the deps required by the code in this target. |
296 "//base", | 296 "//base", |
297 "//base/test:test_support", | 297 "//base/test:test_support", |
298 "//content/test:test_support", | 298 "//content/test:test_support", |
299 "//net", | 299 "//net", |
300 "//ui/base", | 300 "//ui/base", |
301 "//ui/resources:ui_test_pak", | 301 "//ui/resources:ui_test_pak", |
302 ] | 302 ] |
| 303 |
| 304 if (is_android) { |
| 305 isolate_file = "components_unittests.isolate" |
| 306 } |
| 307 |
303 data_deps = [ ":components_tests_pak" ] | 308 data_deps = [ ":components_tests_pak" ] |
304 | 309 |
305 if (!is_android && !is_ios) { | 310 if (!is_android && !is_ios) { |
306 deps += [ "//components/proximity_auth:unit_tests" ] | 311 deps += [ "//components/proximity_auth:unit_tests" ] |
307 } | 312 } |
308 | 313 |
309 # TODO(GYP) need this target. | 314 # TODO(GYP) need this target. |
310 #'breakpad/app/crash_keys_win_unittest.cc', | 315 #'breakpad/app/crash_keys_win_unittest.cc', |
311 | 316 |
312 # Precache tests need these defines. | 317 # Precache tests need these defines. |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 sources += [ | 396 sources += [ |
392 "test/android/browsertests_apk/components_browser_tests_android.cc", | 397 "test/android/browsertests_apk/components_browser_tests_android.cc", |
393 "test/android/browsertests_apk/components_browser_tests_android.h", | 398 "test/android/browsertests_apk/components_browser_tests_android.h", |
394 "test/android/browsertests_apk/components_browser_tests_jni_onload.cc", | 399 "test/android/browsertests_apk/components_browser_tests_jni_onload.cc", |
395 ] | 400 ] |
396 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] | 401 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] |
397 deps += [ | 402 deps += [ |
398 ":components_browsertests_jni_headers", | 403 ":components_browsertests_jni_headers", |
399 "//testing/android/native_test:native_test_util", | 404 "//testing/android/native_test:native_test_util", |
400 ] | 405 ] |
401 | |
402 use_launcher = false | 406 use_launcher = false |
| 407 isolate_file = "components_browsertests.isolate" |
403 } | 408 } |
404 | 409 |
405 if (is_linux) { | 410 if (is_linux) { |
406 # content_extractor_browsertest is a standalone content extraction tool buil
t as | 411 # content_extractor_browsertest is a standalone content extraction tool buil
t as |
407 # a MANUAL component_browsertest. | 412 # a MANUAL component_browsertest. |
408 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] | 413 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] |
409 deps += [ | 414 deps += [ |
410 "pref_registry:test_support", | 415 "pref_registry:test_support", |
411 "//base:prefs_test_support", | 416 "//base:prefs_test_support", |
412 ] | 417 ] |
(...skipping 11 matching lines...) Expand all Loading... |
424 | 429 |
425 deps = [ | 430 deps = [ |
426 "//base", | 431 "//base", |
427 "//base/test:test_support_perf", | 432 "//base/test:test_support_perf", |
428 "//testing/gtest", | 433 "//testing/gtest", |
429 "//testing/perf", | 434 "//testing/perf", |
430 "//content/test:test_support", | 435 "//content/test:test_support", |
431 "//components/visitedlink/browser", | 436 "//components/visitedlink/browser", |
432 ] | 437 ] |
433 } | 438 } |
OLD | NEW |