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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « chrome/sync_integration_tests.isolate ('k') | chrome/test/DEPS » ('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 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 "//mojo/common:common_base", 984 "//mojo/common:common_base",
984 "//net", 985 "//net",
985 "//net:test_support", 986 "//net:test_support",
986 "//sdch", 987 "//sdch",
987 "//services/shell/public/cpp", 988 "//services/shell/public/cpp",
988 "//skia", 989 "//skia",
989 "//sync",
990 "//testing/gmock", 990 "//testing/gmock",
991 "//testing/gtest", 991 "//testing/gtest",
992 "//testing/perf", 992 "//testing/perf",
993 "//third_party/cacheinvalidation", 993 "//third_party/cacheinvalidation",
994 "//third_party/icu", 994 "//third_party/icu",
995 "//third_party/leveldatabase", 995 "//third_party/leveldatabase",
996 "//third_party/libjingle", 996 "//third_party/libjingle",
997 "//third_party/webrtc/modules/desktop_capture", 997 "//third_party/webrtc/modules/desktop_capture",
998 "//third_party/widevine/cdm:version_h", 998 "//third_party/widevine/cdm:version_h",
999 "//ui/accessibility:test_support", 999 "//ui/accessibility:test_support",
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 if (!is_android) { 1510 if (!is_android) {
1511 test("sync_integration_tests") { 1511 test("sync_integration_tests") {
1512 sources = 1512 sources =
1513 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources, 1513 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources,
1514 ".", 1514 ".",
1515 "//chrome") 1515 "//chrome")
1516 1516
1517 data = [ 1517 data = [
1518 "//chrome/test/data/sync/", 1518 "//chrome/test/data/sync/",
1519 "//net/tools/testserver/", 1519 "//net/tools/testserver/",
1520 "//sync/tools/testserver/", 1520 "//components/sync/tools/testserver/",
1521 "//third_party/pyftpdlib/", 1521 "//third_party/pyftpdlib/",
1522 "//third_party/pywebsocket/", 1522 "//third_party/pywebsocket/",
1523 "//third_party/tlslite/", 1523 "//third_party/tlslite/",
1524 "$root_out_dir/pyproto/", 1524 "$root_out_dir/pyproto/",
1525 ] 1525 ]
1526 1526
1527 if (is_linux || is_win) { 1527 if (is_linux || is_win) {
1528 data += [ 1528 data += [
1529 "$root_out_dir/chrome_100_percent.pak", 1529 "$root_out_dir/chrome_100_percent.pak",
1530 "$root_out_dir/chrome_200_percent.pak", 1530 "$root_out_dir/chrome_200_percent.pak",
1531 "$root_out_dir/locales/en-US.pak", 1531 "$root_out_dir/locales/en-US.pak",
1532 ] 1532 ]
1533 } 1533 }
1534 1534
1535 # TODO(phajdan.jr): Only temporary, to make transition easier. 1535 # TODO(phajdan.jr): Only temporary, to make transition easier.
1536 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 1536 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
1537 1537
1538 deps = [ 1538 deps = [
1539 ":sync_integration_test_support", 1539 ":sync_integration_test_support",
1540 ":test_support", 1540 ":test_support",
1541 ":test_support_ui", 1541 ":test_support_ui",
1542 "//chrome:packed_extra_resources", 1542 "//chrome:packed_extra_resources",
1543 "//chrome:packed_resources", 1543 "//chrome:packed_resources",
1544 "//chrome:resources", 1544 "//chrome:resources",
1545 "//chrome:strings", 1545 "//chrome:strings",
1546 "//chrome/app:command_ids", 1546 "//chrome/app:command_ids",
1547 "//chrome/common", 1547 "//chrome/common",
1548 "//chrome/renderer", 1548 "//chrome/renderer",
1549 "//components/sync",
1549 "//crypto:platform", 1550 "//crypto:platform",
1550 "//sync",
1551 "//testing/gmock", 1551 "//testing/gmock",
1552 "//testing/gtest", 1552 "//testing/gtest",
1553 "//third_party/WebKit/public:blink", 1553 "//third_party/WebKit/public:blink",
1554 "//third_party/icu", 1554 "//third_party/icu",
1555 "//third_party/leveldatabase", 1555 "//third_party/leveldatabase",
1556 ] 1556 ]
1557 1557
1558 data_deps = [ 1558 data_deps = [
1559 "//third_party/mesa:osmesa", 1559 "//third_party/mesa:osmesa",
1560 ] 1560 ]
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1617 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources, 1617 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources,
1618 ".", 1618 ".",
1619 "//chrome") 1619 "//chrome")
1620 1620
1621 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 1621 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
1622 1622
1623 deps = [ 1623 deps = [
1624 ":sync_integration_test_support", 1624 ":sync_integration_test_support",
1625 ":test_support_ui", 1625 ":test_support_ui",
1626 "//chrome/app:command_ids", 1626 "//chrome/app:command_ids",
1627 "//components/sync",
1627 "//crypto:platform", 1628 "//crypto:platform",
1628 "//sync",
1629 "//testing/gmock", 1629 "//testing/gmock",
1630 "//testing/gtest", 1630 "//testing/gtest",
1631 ] 1631 ]
1632 1632
1633 if (is_mac) { 1633 if (is_mac) {
1634 # Dictionary sync is disabled on Mac. 1634 # Dictionary sync is disabled on Mac.
1635 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ] 1635 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ]
1636 1636
1637 # The sync_performance_tests do not run on mac without this flag. 1637 # The sync_performance_tests do not run on mac without this flag.
1638 # Search for comments about "xcode_settings" elsewhere in this file. 1638 # Search for comments about "xcode_settings" elsewhere in this file.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 "//chrome:browser_dependencies", 1784 "//chrome:browser_dependencies",
1785 "//chrome:child_dependencies", 1785 "//chrome:child_dependencies",
1786 1786
1787 # 2) test-specific support libraries: 1787 # 2) test-specific support libraries:
1788 ":test_support", 1788 ":test_support",
1789 ":test_support_unit", 1789 ":test_support_unit",
1790 "//base/test:test_support", 1790 "//base/test:test_support",
1791 "//components/browser_sync/browser:test_support", 1791 "//components/browser_sync/browser:test_support",
1792 "//components/content_settings/core/test:test_support", 1792 "//components/content_settings/core/test:test_support",
1793 "//components/resources", 1793 "//components/resources",
1794 "//components/sync:test_support_sync_api",
1795 "//components/sync:test_support_sync_core",
1796 "//components/sync:test_support_sync_core_impl",
1794 "//content/public/app:both", 1797 "//content/public/app:both",
1795 "//content/test:test_support", 1798 "//content/test:test_support",
1796 "//crypto:platform", 1799 "//crypto:platform",
1797 "//crypto:test_support", 1800 "//crypto:test_support",
1798 "//net", 1801 "//net",
1799 "//net:test_support", 1802 "//net:test_support",
1800 "//sync:test_support_sync_api",
1801 "//sync:test_support_sync_core",
1802 "//sync:test_support_sync_internal_api",
1803 "//testing/gmock", 1803 "//testing/gmock",
1804 "//testing/gtest", 1804 "//testing/gtest",
1805 1805
1806 # 3) anything tests directly depend on 1806 # 3) anything tests directly depend on
1807 "//chrome:resources", 1807 "//chrome:resources",
1808 "//chrome:strings", 1808 "//chrome:strings",
1809 "//components/component_updater:test_support", 1809 "//components/component_updater:test_support",
1810 "//components/safe_browsing_db:test_database_manager", 1810 "//components/safe_browsing_db:test_database_manager",
1811 "//components/subresource_filter/core/browser:test_support", 1811 "//components/subresource_filter/core/browser:test_support",
1812 "//components/version_info:generate_version_info", 1812 "//components/version_info:generate_version_info",
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
2474 if (is_android) { 2474 if (is_android) {
2475 android_library("unit_tests_java") { 2475 android_library("unit_tests_java") {
2476 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2476 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2477 deps = [ 2477 deps = [
2478 "//base:base_java", 2478 "//base:base_java",
2479 "//chrome/android:chrome_java", 2479 "//chrome/android:chrome_java",
2480 "//content/public/android:content_java", 2480 "//content/public/android:content_java",
2481 ] 2481 ]
2482 } 2482 }
2483 } 2483 }
OLDNEW
« no previous file with comments | « chrome/sync_integration_tests.isolate ('k') | chrome/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698