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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 data_deps = [ ":components_tests_pak" ] | 382 data_deps = [ ":components_tests_pak" ] |
378 | 383 |
379 if (is_android) { | 384 if (is_android) { |
380 sources += [ | 385 sources += [ |
381 "test/android/browsertests_apk/components_browser_tests_android.cc", | 386 "test/android/browsertests_apk/components_browser_tests_android.cc", |
382 "test/android/browsertests_apk/components_browser_tests_android.h", | 387 "test/android/browsertests_apk/components_browser_tests_android.h", |
383 "test/android/browsertests_apk/components_browser_tests_jni_onload.cc", | 388 "test/android/browsertests_apk/components_browser_tests_jni_onload.cc", |
384 ] | 389 ] |
385 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] | 390 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] |
386 deps += [ "//testing/android/native_test:native_test_support" ] | 391 deps += [ "//testing/android/native_test:native_test_support" ] |
387 | |
388 use_launcher = false | 392 use_launcher = false |
| 393 isolate_file = "components_browsertests.isolate" |
389 } | 394 } |
390 | 395 |
391 if (is_linux) { | 396 if (is_linux) { |
392 # content_extractor_browsertest is a standalone content extraction tool buil
t as | 397 # content_extractor_browsertest is a standalone content extraction tool buil
t as |
393 # a MANUAL component_browsertest. | 398 # a MANUAL component_browsertest. |
394 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] | 399 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] |
395 deps += [ | 400 deps += [ |
396 "pref_registry:test_support", | 401 "pref_registry:test_support", |
397 "//base:prefs_test_support", | 402 "//base:prefs_test_support", |
398 ] | 403 ] |
(...skipping 11 matching lines...) Expand all Loading... |
410 | 415 |
411 deps = [ | 416 deps = [ |
412 "//base", | 417 "//base", |
413 "//base/test:test_support_perf", | 418 "//base/test:test_support_perf", |
414 "//testing/gtest", | 419 "//testing/gtest", |
415 "//testing/perf", | 420 "//testing/perf", |
416 "//content/test:test_support", | 421 "//content/test:test_support", |
417 "//components/visitedlink/browser", | 422 "//components/visitedlink/browser", |
418 ] | 423 ] |
419 } | 424 } |
OLD | NEW |