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

Side by Side Diff: chrome/test/BUILD.gn

Issue 2143253002: Convert test_support source sets to static libs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android Created 4 years, 5 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/renderer/BUILD.gn ('k') | components/autofill/content/renderer/BUILD.gn » ('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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//chrome/chrome_tests.gni") 10 import("//chrome/chrome_tests.gni")
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 } 655 }
656 } # enable_notifications 656 } # enable_notifications
657 657
658 if (!use_aura || is_chromeos) { 658 if (!use_aura || is_chromeos) {
659 sources -= 659 sources -=
660 [ "../../ui/views/corewm/desktop_capture_controller_unittest.cc" ] 660 [ "../../ui/views/corewm/desktop_capture_controller_unittest.cc" ]
661 } 661 }
662 } 662 }
663 663
664 if (enable_app_list && use_ash) { 664 if (enable_app_list && use_ash) {
665 source_set("test_support_applist_ash") { 665 static_library("test_support_applist_ash") {
666 defines = [] 666 defines = []
667 testonly = true 667 testonly = true
668 668
669 sources = rebase_path( 669 sources = rebase_path(
670 chrome_tests_gypi_values.chrome_browser_app_list_ash_test_support_ sources, 670 chrome_tests_gypi_values.chrome_browser_app_list_ash_test_support_ sources,
671 ".", 671 ".",
672 "//chrome") 672 "//chrome")
673 673
674 deps = [ 674 deps = [
675 "//chrome/browser/ui", 675 "//chrome/browser/ui",
676 "//ui/app_list/presenter:test_support", 676 "//ui/app_list/presenter:test_support",
677 ] 677 ]
678 } 678 }
679 } 679 }
680 680
681 source_set("sync_integration_test_support") { 681 static_library("sync_integration_test_support") {
682 testonly = true 682 testonly = true
683 sources = rebase_path( 683 sources = rebase_path(
684 chrome_tests_gypi_values.test_support_sync_integration_sources, 684 chrome_tests_gypi_values.test_support_sync_integration_sources,
685 ".", 685 ".",
686 "//chrome") 686 "//chrome")
687 public_deps = [ 687 public_deps = [
688 "//chrome/browser", 688 "//chrome/browser",
689 ] 689 ]
690 deps = [ 690 deps = [
691 ":test_support", 691 ":test_support",
(...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after
2424 } 2424 }
2425 if (!is_mac) { 2425 if (!is_mac) {
2426 sources -= [ "perf/mach_ports_performancetest.cc" ] 2426 sources -= [ "perf/mach_ports_performancetest.cc" ]
2427 } 2427 }
2428 2428
2429 # This target should not require the Chrome executable to run. 2429 # This target should not require the Chrome executable to run.
2430 assert_no_deps = [ "//chrome" ] 2430 assert_no_deps = [ "//chrome" ]
2431 } 2431 }
2432 } 2432 }
2433 2433
2434 source_set("test_support_unit") { 2434 static_library("test_support_unit") {
2435 testonly = true 2435 testonly = true
2436 sources = [ 2436 sources = [
2437 "../browser/sync/glue/session_sync_test_helper.cc", 2437 "../browser/sync/glue/session_sync_test_helper.cc",
2438 "../browser/sync/glue/session_sync_test_helper.h", 2438 "../browser/sync/glue/session_sync_test_helper.h",
2439 "base/run_all_unittests.cc", 2439 "base/run_all_unittests.cc",
2440 ] 2440 ]
2441 2441
2442 public_deps = [ 2442 public_deps = [
2443 ":test_support", 2443 ":test_support",
2444 "//base", 2444 "//base",
(...skipping 15 matching lines...) Expand all
2460 if (is_android) { 2460 if (is_android) {
2461 android_library("unit_tests_java") { 2461 android_library("unit_tests_java") {
2462 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2462 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2463 deps = [ 2463 deps = [
2464 "//base:base_java", 2464 "//base:base_java",
2465 "//chrome/android:chrome_java", 2465 "//chrome/android:chrome_java",
2466 "//content/public/android:content_java", 2466 "//content/public/android:content_java",
2467 ] 2467 ]
2468 } 2468 }
2469 } 2469 }
OLDNEW
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | components/autofill/content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698