| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 "//components/webcrypto:unit_tests", | 292 "//components/webcrypto:unit_tests", |
| 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 ] | 301 ] |
| 302 |
| 303 if (is_android) { |
| 304 isolate_file = "components_unittests.isolate" |
| 305 } |
| 306 |
| 302 data_deps = [ ":components_tests_pak" ] | 307 data_deps = [ ":components_tests_pak" ] |
| 303 | 308 |
| 304 if (!is_android && !is_ios) { | 309 if (!is_android && !is_ios) { |
| 305 deps += [ "//components/proximity_auth:unit_tests" ] | 310 deps += [ "//components/proximity_auth:unit_tests" ] |
| 306 } | 311 } |
| 307 | 312 |
| 308 # TODO(GYP) need this target. | 313 # TODO(GYP) need this target. |
| 309 #'breakpad/app/crash_keys_win_unittest.cc', | 314 #'breakpad/app/crash_keys_win_unittest.cc', |
| 310 | 315 |
| 311 # Precache tests need these defines. | 316 # Precache tests need these defines. |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 sources += [ | 401 sources += [ |
| 397 "test/android/browsertests_apk/components_browser_tests_android.cc", | 402 "test/android/browsertests_apk/components_browser_tests_android.cc", |
| 398 "test/android/browsertests_apk/components_browser_tests_android.h", | 403 "test/android/browsertests_apk/components_browser_tests_android.h", |
| 399 "test/android/browsertests_apk/components_browser_tests_jni_onload.cc", | 404 "test/android/browsertests_apk/components_browser_tests_jni_onload.cc", |
| 400 ] | 405 ] |
| 401 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] | 406 sources -= [ "autofill/content/browser/risk/fingerprint_browsertest.cc" ] |
| 402 deps += [ | 407 deps += [ |
| 403 ":components_browsertests_jni_headers", | 408 ":components_browsertests_jni_headers", |
| 404 "//testing/android/native_test:native_test_util", | 409 "//testing/android/native_test:native_test_util", |
| 405 ] | 410 ] |
| 406 | |
| 407 use_launcher = false | 411 use_launcher = false |
| 412 isolate_file = "components_browsertests.isolate" |
| 408 } | 413 } |
| 409 | 414 |
| 410 if (is_linux) { | 415 if (is_linux) { |
| 411 # content_extractor_browsertest is a standalone content extraction tool buil
t as | 416 # content_extractor_browsertest is a standalone content extraction tool buil
t as |
| 412 # a MANUAL component_browsertest. | 417 # a MANUAL component_browsertest. |
| 413 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] | 418 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] |
| 414 deps += [ | 419 deps += [ |
| 415 "pref_registry:test_support", | 420 "pref_registry:test_support", |
| 416 "//base:prefs_test_support", | 421 "//base:prefs_test_support", |
| 417 ] | 422 ] |
| (...skipping 11 matching lines...) Expand all Loading... |
| 429 | 434 |
| 430 deps = [ | 435 deps = [ |
| 431 "//base", | 436 "//base", |
| 432 "//base/test:test_support_perf", | 437 "//base/test:test_support_perf", |
| 433 "//testing/gtest", | 438 "//testing/gtest", |
| 434 "//testing/perf", | 439 "//testing/perf", |
| 435 "//content/test:test_support", | 440 "//content/test:test_support", |
| 436 "//components/visitedlink/browser", | 441 "//components/visitedlink/browser", |
| 437 ] | 442 ] |
| 438 } | 443 } |
| OLD | NEW |