Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: components/BUILD.gn

Issue 1120883002: [Android] Generate scripts at build time to run android tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed datadeps to data_deps to reflect recent change. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 "//components/webdata/common:unit_tests", 296 "//components/webdata/common:unit_tests",
297 297
298 # These are the deps required by the code in this target. 298 # These are the deps required by the code in this target.
299 "//base", 299 "//base",
300 "//base/test:test_support", 300 "//base/test:test_support",
301 "//content/test:test_support", 301 "//content/test:test_support",
302 "//net", 302 "//net",
303 "//ui/base", 303 "//ui/base",
304 "//ui/resources:ui_test_pak", 304 "//ui/resources:ui_test_pak",
305 ] 305 ]
306
307 if (is_android) {
308 isolate_file = "components_unittests.isolate"
309 }
310
306 data_deps = [ ":components_tests_pak" ] 311 data_deps = [ ":components_tests_pak" ]
307 312
308 if (is_android) { 313 if (is_android) {
309 deps += [ "//content/public/android:content_java" ] 314 deps += [ "//content/public/android:content_java" ]
310 } 315 }
311 316
312 if (!is_android && !is_ios) { 317 if (!is_android && !is_ios) {
313 deps += [ "//components/proximity_auth:unit_tests" ] 318 deps += [ "//components/proximity_auth:unit_tests" ]
314 } 319 }
315 320
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 data_deps = [ ":components_tests_pak" ] 393 data_deps = [ ":components_tests_pak" ]
389 394
390 if (is_android) { 395 if (is_android) {
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 += [ "//testing/android/native_test:native_test_support" ] 402 deps += [ "//testing/android/native_test:native_test_support" ]
398
399 use_launcher = false 403 use_launcher = false
404 isolate_file = "components_browsertests.isolate"
400 } 405 }
401 406
402 if (is_linux) { 407 if (is_linux) {
403 # content_extractor_browsertest is a standalone content extraction tool buil t as 408 # content_extractor_browsertest is a standalone content extraction tool buil t as
404 # a MANUAL component_browsertest. 409 # a MANUAL component_browsertest.
405 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ] 410 sources += [ "dom_distiller/standalone/content_extractor_browsertest.cc" ]
406 deps += [ 411 deps += [
407 "pref_registry:test_support", 412 "pref_registry:test_support",
408 "//base:prefs_test_support", 413 "//base:prefs_test_support",
409 ] 414 ]
(...skipping 11 matching lines...) Expand all
421 426
422 deps = [ 427 deps = [
423 "//base", 428 "//base",
424 "//base/test:test_support_perf", 429 "//base/test:test_support_perf",
425 "//testing/gtest", 430 "//testing/gtest",
426 "//testing/perf", 431 "//testing/perf",
427 "//content/test:test_support", 432 "//content/test:test_support",
428 "//components/visitedlink/browser", 433 "//components/visitedlink/browser",
429 ] 434 ]
430 } 435 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698