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

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

Issue 2148293004: [Sync] //components/sync external changes [DO NOT SUBMIT] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sc-1
Patch Set: Rebase. Created 4 years, 4 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
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 "//components/gcm_driver/instance_id:test_support", 103 "//components/gcm_driver/instance_id:test_support",
104 "//components/history/core/test:test", 104 "//components/history/core/test:test",
105 "//components/metrics:test_support", 105 "//components/metrics:test_support",
106 "//components/omnibox/browser:test_support", 106 "//components/omnibox/browser:test_support",
107 "//components/password_manager/core/browser:test_support", 107 "//components/password_manager/core/browser:test_support",
108 "//components/pref_registry:test_support", 108 "//components/pref_registry:test_support",
109 "//components/prefs:test_support", 109 "//components/prefs:test_support",
110 "//components/rappor:test_support", 110 "//components/rappor:test_support",
111 "//components/search_engines:test_support", 111 "//components/search_engines:test_support",
112 "//components/signin/core/browser:test_support", 112 "//components/signin/core/browser:test_support",
113 "//components/sync",
113 "//components/sync_driver:test_support", 114 "//components/sync_driver:test_support",
114 "//components/sync_sessions:test_support", 115 "//components/sync_sessions:test_support",
115 "//components/syncable_prefs:test_support", 116 "//components/syncable_prefs:test_support",
116 "//components/toolbar:test_support", 117 "//components/toolbar:test_support",
117 "//components/update_client:test_support", 118 "//components/update_client:test_support",
118 "//components/zoom:test_support", 119 "//components/zoom:test_support",
119 "//content/public/app:both", 120 "//content/public/app:both",
120 "//content/test:test_support", 121 "//content/test:test_support",
121 "//net", 122 "//net",
122 "//net:test_support", 123 "//net:test_support",
123 "//skia", 124 "//skia",
124 "//sql", 125 "//sql",
125 "//sql:test_support", 126 "//sql:test_support",
126 "//sync",
127 "//testing/gmock", 127 "//testing/gmock",
128 "//testing/gtest", 128 "//testing/gtest",
129 "//third_party/zlib", 129 "//third_party/zlib",
130 "//ui/gfx:test_support", 130 "//ui/gfx:test_support",
131 "//ui/message_center:test_support", 131 "//ui/message_center:test_support",
132 ] 132 ]
133 133
134 if (!is_ios) { 134 if (!is_ios) {
135 public_deps += [ 135 public_deps += [
136 "//chrome/child", 136 "//chrome/child",
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 ":test_support", 405 ":test_support",
406 ":test_support_ui", 406 ":test_support_ui",
407 "//chrome:packed_extra_resources", 407 "//chrome:packed_extra_resources",
408 "//chrome:packed_resources", 408 "//chrome:packed_resources",
409 "//chrome:resources", 409 "//chrome:resources",
410 "//chrome:strings", 410 "//chrome:strings",
411 "//chrome/browser", 411 "//chrome/browser",
412 "//chrome/browser/devtools", 412 "//chrome/browser/devtools",
413 "//chrome/renderer", 413 "//chrome/renderer",
414 "//components/resources", 414 "//components/resources",
415 "//components/sync",
416 "//components/sync:test_support_sync_api",
415 "//content/app/resources", 417 "//content/app/resources",
416 "//content/test:test_support", 418 "//content/test:test_support",
417 "//crypto:platform", 419 "//crypto:platform",
418 "//crypto:test_support", 420 "//crypto:test_support",
419 "//google_apis:test_support", 421 "//google_apis:test_support",
420 "//net", 422 "//net",
421 "//net:net_resources", 423 "//net:net_resources",
422 "//net:test_support", 424 "//net:test_support",
423 "//skia", 425 "//skia",
424 "//sync",
425 "//sync:test_support_sync_api",
426 "//testing/gmock", 426 "//testing/gmock",
427 "//testing/gtest", 427 "//testing/gtest",
428 "//third_party/hunspell", 428 "//third_party/hunspell",
429 "//third_party/icu", 429 "//third_party/icu",
430 "//third_party/libpng", 430 "//third_party/libpng",
431 "//third_party/zlib", 431 "//third_party/zlib",
432 "//ui/base:test_support", 432 "//ui/base:test_support",
433 "//ui/resources:ui_test_pak", 433 "//ui/resources:ui_test_pak",
434 "//ui/web_dialogs:test_support", 434 "//ui/web_dialogs:test_support",
435 ] 435 ]
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 ".", 690 ".",
691 "//chrome") 691 "//chrome")
692 public_deps = [ 692 public_deps = [
693 "//chrome/browser", 693 "//chrome/browser",
694 ] 694 ]
695 deps = [ 695 deps = [
696 ":test_support", 696 ":test_support",
697 "//base", 697 "//base",
698 "//components/invalidation/impl", 698 "//components/invalidation/impl",
699 "//components/invalidation/impl:test_support", 699 "//components/invalidation/impl:test_support",
700 "//components/sync",
701 "//components/sync:test_support_sync_fake_server",
702 "//components/sync:test_support_sync_testserver",
700 "//content/test:test_support", 703 "//content/test:test_support",
701 "//net", 704 "//net",
702 "//skia", 705 "//skia",
703 "//sync",
704 "//sync:test_support_sync_fake_server",
705 "//sync:test_support_sync_testserver",
706 ] 706 ]
707 707
708 if (is_mac) { 708 if (is_mac) {
709 sources -= [ 709 sources -= [
710 "../browser/sync/test/integration/dictionary_helper.cc", 710 "../browser/sync/test/integration/dictionary_helper.cc",
711 "../browser/sync/test/integration/dictionary_helper.h", 711 "../browser/sync/test/integration/dictionary_helper.h",
712 "../browser/sync/test/integration/dictionary_load_observer.cc", 712 "../browser/sync/test/integration/dictionary_load_observer.cc",
713 "../browser/sync/test/integration/dictionary_load_observer.h", 713 "../browser/sync/test/integration/dictionary_load_observer.h",
714 ] 714 ]
715 } 715 }
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 "//chrome") 874 "//chrome")
875 875
876 configs += [ 876 configs += [
877 "//build/config:precompiled_headers", 877 "//build/config:precompiled_headers",
878 "//third_party/WebKit/public:debug_devtools", 878 "//third_party/WebKit/public:debug_devtools",
879 ] 879 ]
880 880
881 deps = [ 881 deps = [
882 ":test_support", 882 ":test_support",
883 "//base", 883 "//base",
884 "//sync:test_support_sync_api", 884 "//components/sync:test_support_sync_api",
885 ] 885 ]
886 886
887 data_deps = [] 887 data_deps = []
888 888
889 data = [] 889 data = []
890 890
891 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 891 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
892 892
893 if (is_win) { 893 if (is_win) {
894 data += [ "$root_out_dir/chrome_200_percent.pak" ] 894 data += [ "$root_out_dir/chrome_200_percent.pak" ]
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 "//components/autofill/content/browser:risk_proto", 961 "//components/autofill/content/browser:risk_proto",
962 "//components/autofill/content/renderer:test_support", 962 "//components/autofill/content/renderer:test_support",
963 "//components/captive_portal:test_support", 963 "//components/captive_portal:test_support",
964 "//components/dom_distiller/content/browser", 964 "//components/dom_distiller/content/browser",
965 "//components/dom_distiller/content/renderer", 965 "//components/dom_distiller/content/renderer",
966 "//components/dom_distiller/core:test_support", 966 "//components/dom_distiller/core:test_support",
967 "//components/guest_view/browser:test_support", 967 "//components/guest_view/browser:test_support",
968 "//components/resources", 968 "//components/resources",
969 "//components/safe_browsing_db:test_database_manager", 969 "//components/safe_browsing_db:test_database_manager",
970 "//components/strings", 970 "//components/strings",
971 "//components/sync",
971 "//components/translate/core/common", 972 "//components/translate/core/common",
972 "//content/public/common:features", 973 "//content/public/common:features",
973 "//content/test:test_support", 974 "//content/test:test_support",
974 "//crypto:platform", 975 "//crypto:platform",
975 "//crypto:test_support", 976 "//crypto:test_support",
976 "//device/bluetooth:mocks", 977 "//device/bluetooth:mocks",
977 "//device/serial:test_support", 978 "//device/serial:test_support",
978 "//device/usb:test_support", 979 "//device/usb:test_support",
979 "//google_apis:test_support", 980 "//google_apis:test_support",
980 "//media", 981 "//media",
981 "//media/base:test_support", 982 "//media/base:test_support",
982 "//media/cast:test_support", 983 "//media/cast:test_support",
983 "//net", 984 "//net",
984 "//net:test_support", 985 "//net:test_support",
985 "//sdch", 986 "//sdch",
986 "//skia", 987 "//skia",
987 "//sync",
988 "//testing/gmock", 988 "//testing/gmock",
989 "//testing/gtest", 989 "//testing/gtest",
990 "//testing/perf", 990 "//testing/perf",
991 "//third_party/cacheinvalidation", 991 "//third_party/cacheinvalidation",
992 "//third_party/icu", 992 "//third_party/icu",
993 "//third_party/leveldatabase", 993 "//third_party/leveldatabase",
994 "//third_party/libjingle", 994 "//third_party/libjingle",
995 "//third_party/webrtc/modules/desktop_capture", 995 "//third_party/webrtc/modules/desktop_capture",
996 "//third_party/widevine/cdm:version_h", 996 "//third_party/widevine/cdm:version_h",
997 "//ui/accessibility:test_support", 997 "//ui/accessibility:test_support",
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 if (!is_android) { 1507 if (!is_android) {
1508 test("sync_integration_tests") { 1508 test("sync_integration_tests") {
1509 sources = 1509 sources =
1510 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources, 1510 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources,
1511 ".", 1511 ".",
1512 "//chrome") 1512 "//chrome")
1513 1513
1514 data = [ 1514 data = [
1515 "//chrome/test/data/sync/", 1515 "//chrome/test/data/sync/",
1516 "//net/tools/testserver/", 1516 "//net/tools/testserver/",
1517 "//sync/tools/testserver/", 1517 "//components/sync/tools/testserver/",
1518 "//third_party/pyftpdlib/", 1518 "//third_party/pyftpdlib/",
1519 "//third_party/pywebsocket/", 1519 "//third_party/pywebsocket/",
1520 "//third_party/tlslite/", 1520 "//third_party/tlslite/",
1521 "$root_out_dir/pyproto/", 1521 "$root_out_dir/pyproto/",
1522 ] 1522 ]
1523 1523
1524 if (is_linux || is_win) { 1524 if (is_linux || is_win) {
1525 data += [ 1525 data += [
1526 "$root_out_dir/chrome_100_percent.pak", 1526 "$root_out_dir/chrome_100_percent.pak",
1527 "$root_out_dir/chrome_200_percent.pak", 1527 "$root_out_dir/chrome_200_percent.pak",
1528 "$root_out_dir/locales/en-US.pak", 1528 "$root_out_dir/locales/en-US.pak",
1529 ] 1529 ]
1530 } 1530 }
1531 1531
1532 # TODO(phajdan.jr): Only temporary, to make transition easier. 1532 # TODO(phajdan.jr): Only temporary, to make transition easier.
1533 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 1533 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
1534 1534
1535 deps = [ 1535 deps = [
1536 ":sync_integration_test_support", 1536 ":sync_integration_test_support",
1537 ":test_support", 1537 ":test_support",
1538 ":test_support_ui", 1538 ":test_support_ui",
1539 "//chrome:packed_extra_resources", 1539 "//chrome:packed_extra_resources",
1540 "//chrome:packed_resources", 1540 "//chrome:packed_resources",
1541 "//chrome:resources", 1541 "//chrome:resources",
1542 "//chrome:strings", 1542 "//chrome:strings",
1543 "//chrome/common", 1543 "//chrome/common",
1544 "//chrome/renderer", 1544 "//chrome/renderer",
1545 "//components/sync",
1545 "//crypto:platform", 1546 "//crypto:platform",
1546 "//sync",
1547 "//testing/gmock", 1547 "//testing/gmock",
1548 "//testing/gtest", 1548 "//testing/gtest",
1549 "//third_party/WebKit/public:blink", 1549 "//third_party/WebKit/public:blink",
1550 "//third_party/icu", 1550 "//third_party/icu",
1551 "//third_party/leveldatabase", 1551 "//third_party/leveldatabase",
1552 ] 1552 ]
1553 1553
1554 data_deps = [ 1554 data_deps = [
1555 "//third_party/mesa:osmesa", 1555 "//third_party/mesa:osmesa",
1556 ] 1556 ]
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 sources = 1612 sources =
1613 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources, 1613 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources,
1614 ".", 1614 ".",
1615 "//chrome") 1615 "//chrome")
1616 1616
1617 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 1617 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
1618 1618
1619 deps = [ 1619 deps = [
1620 ":sync_integration_test_support", 1620 ":sync_integration_test_support",
1621 ":test_support_ui", 1621 ":test_support_ui",
1622 "//components/sync",
1622 "//crypto:platform", 1623 "//crypto:platform",
1623 "//sync",
1624 "//testing/gmock", 1624 "//testing/gmock",
1625 "//testing/gtest", 1625 "//testing/gtest",
1626 ] 1626 ]
1627 1627
1628 if (is_mac) { 1628 if (is_mac) {
1629 # Dictionary sync is disabled on Mac. 1629 # Dictionary sync is disabled on Mac.
1630 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ] 1630 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ]
1631 1631
1632 # The sync_performance_tests do not run on mac without this flag. 1632 # The sync_performance_tests do not run on mac without this flag.
1633 # Search for comments about "xcode_settings" elsewhere in this file. 1633 # Search for comments about "xcode_settings" elsewhere in this file.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1779 "//chrome:browser_dependencies", 1779 "//chrome:browser_dependencies",
1780 "//chrome:child_dependencies", 1780 "//chrome:child_dependencies",
1781 1781
1782 # 2) test-specific support libraries: 1782 # 2) test-specific support libraries:
1783 ":test_support", 1783 ":test_support",
1784 ":test_support_unit", 1784 ":test_support_unit",
1785 "//base/test:test_support", 1785 "//base/test:test_support",
1786 "//components/browser_sync/browser:test_support", 1786 "//components/browser_sync/browser:test_support",
1787 "//components/content_settings/core/test:test_support", 1787 "//components/content_settings/core/test:test_support",
1788 "//components/resources", 1788 "//components/resources",
1789 "//components/sync:test_support_sync_api",
1790 "//components/sync:test_support_sync_core",
1791 "//components/sync:test_support_sync_core_impl",
1789 "//content/public/app:both", 1792 "//content/public/app:both",
1790 "//content/test:test_support", 1793 "//content/test:test_support",
1791 "//crypto:platform", 1794 "//crypto:platform",
1792 "//crypto:test_support", 1795 "//crypto:test_support",
1793 "//net", 1796 "//net",
1794 "//net:test_support", 1797 "//net:test_support",
1795 "//sync:test_support_sync_api",
1796 "//sync:test_support_sync_core",
1797 "//sync:test_support_sync_internal_api",
1798 "//testing/gmock", 1798 "//testing/gmock",
1799 "//testing/gtest", 1799 "//testing/gtest",
1800 1800
1801 # 3) anything tests directly depend on 1801 # 3) anything tests directly depend on
1802 "//chrome:resources", 1802 "//chrome:resources",
1803 "//chrome:strings", 1803 "//chrome:strings",
1804 "//components/safe_browsing_db:test_database_manager", 1804 "//components/safe_browsing_db:test_database_manager",
1805 "//components/version_info:generate_version_info", 1805 "//components/version_info:generate_version_info",
1806 "//courgette:courgette_lib", 1806 "//courgette:courgette_lib",
1807 "//google_apis", 1807 "//google_apis",
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
2469 if (is_android) { 2469 if (is_android) {
2470 android_library("unit_tests_java") { 2470 android_library("unit_tests_java") {
2471 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2471 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2472 deps = [ 2472 deps = [
2473 "//base:base_java", 2473 "//base:base_java",
2474 "//chrome/android:chrome_java", 2474 "//chrome/android:chrome_java",
2475 "//content/public/android:content_java", 2475 "//content/public/android:content_java",
2476 ] 2476 ]
2477 } 2477 }
2478 } 2478 }
OLDNEW
« build/all.gyp ('K') | « chrome/sync_integration_tests.isolate ('k') | chrome/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698