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/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 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 "//chrome:browser_tests_pak", | 892 "//chrome:browser_tests_pak", |
893 "//chrome:packed_extra_resources", | 893 "//chrome:packed_extra_resources", |
894 "//chrome:packed_resources", | 894 "//chrome:packed_resources", |
895 "//chrome:resources", | 895 "//chrome:resources", |
896 "//chrome:strings", | 896 "//chrome:strings", |
897 "//chrome/browser", | 897 "//chrome/browser", |
898 "//chrome/browser/resources:extension_resource_demo", | 898 "//chrome/browser/resources:extension_resource_demo", |
899 "//chrome/common/extensions/api", | 899 "//chrome/common/extensions/api", |
900 "//chrome/renderer", | 900 "//chrome/renderer", |
901 "//components/autofill/content/browser:risk_proto", | 901 "//components/autofill/content/browser:risk_proto", |
902 "//components/autofill/content/browser/wallet:test_support", | |
903 "//components/autofill/content/renderer:test_support", | 902 "//components/autofill/content/renderer:test_support", |
904 "//components/captive_portal:test_support", | 903 "//components/captive_portal:test_support", |
905 "//components/dom_distiller/content/browser", | 904 "//components/dom_distiller/content/browser", |
906 "//components/dom_distiller/content/renderer", | 905 "//components/dom_distiller/content/renderer", |
907 "//components/dom_distiller/core:test_support", | 906 "//components/dom_distiller/core:test_support", |
908 "//components/guest_view/browser:test_support", | 907 "//components/guest_view/browser:test_support", |
909 "//components/resources", | 908 "//components/resources", |
910 "//components/safe_browsing_db:test_database_manager", | 909 "//components/safe_browsing_db:test_database_manager", |
911 "//components/strings", | 910 "//components/strings", |
912 "//components/translate/core/common", | 911 "//components/translate/core/common", |
(...skipping 14 matching lines...) Expand all Loading... |
927 "//skia", | 926 "//skia", |
928 "//sync", | 927 "//sync", |
929 "//sync:test_support_sync_api", | 928 "//sync:test_support_sync_api", |
930 "//testing/gmock", | 929 "//testing/gmock", |
931 "//testing/gtest", | 930 "//testing/gtest", |
932 "//testing/perf", | 931 "//testing/perf", |
933 "//third_party/cacheinvalidation", | 932 "//third_party/cacheinvalidation", |
934 "//third_party/cld_2:cld2_platform_impl", | 933 "//third_party/cld_2:cld2_platform_impl", |
935 "//third_party/icu", | 934 "//third_party/icu", |
936 "//third_party/leveldatabase", | 935 "//third_party/leveldatabase", |
937 "//third_party/libaddressinput", | |
938 "//third_party/libjingle", | 936 "//third_party/libjingle", |
939 "//third_party/safe_browsing:test_support", | 937 "//third_party/safe_browsing:test_support", |
940 "//third_party/webrtc/modules/desktop_capture", | 938 "//third_party/webrtc/modules/desktop_capture", |
941 "//third_party/widevine/cdm:version_h", | 939 "//third_party/widevine/cdm:version_h", |
942 "//ui/accessibility:test_support", | 940 "//ui/accessibility:test_support", |
943 "//ui/base:test_support", | 941 "//ui/base:test_support", |
944 "//ui/compositor:test_support", | 942 "//ui/compositor:test_support", |
945 "//ui/resources", | 943 "//ui/resources", |
946 "//ui/web_dialogs:test_support", | 944 "//ui/web_dialogs:test_support", |
947 "//v8", | 945 "//v8", |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 "../browser/extensions/api/networking_private/networking_private_apitest
.cc", | 1263 "../browser/extensions/api/networking_private/networking_private_apitest
.cc", |
1266 "../browser/extensions/api/networking_private/networking_private_chromeo
s_apitest.cc", | 1264 "../browser/extensions/api/networking_private/networking_private_chromeo
s_apitest.cc", |
1267 ] | 1265 ] |
1268 } | 1266 } |
1269 if (is_android || is_ios || is_chromeos) { | 1267 if (is_android || is_ios || is_chromeos) { |
1270 sources -= [ "../browser/profiles/profile_statistics_browsertest.cc" ] | 1268 sources -= [ "../browser/profiles/profile_statistics_browsertest.cc" ] |
1271 } | 1269 } |
1272 if (!is_android && !is_ios) { | 1270 if (!is_android && !is_ios) { |
1273 sources += | 1271 sources += |
1274 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ] | 1272 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ] |
1275 deps += [ "//components/copresence" ] | 1273 deps += [ |
| 1274 "//components/copresence", |
| 1275 "//third_party/libaddressinput", |
| 1276 ] |
1276 } | 1277 } |
1277 if (enable_app_list) { | 1278 if (enable_app_list) { |
1278 sources += rebase_path( | 1279 sources += rebase_path( |
1279 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, | 1280 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, |
1280 ".", | 1281 ".", |
1281 "//chrome") | 1282 "//chrome") |
1282 } | 1283 } |
1283 if (enable_service_discovery) { | 1284 if (enable_service_discovery) { |
1284 sources += rebase_path( | 1285 sources += rebase_path( |
1285 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so
urces, | 1286 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so
urces, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1324 sources -= [ "../browser/extensions/api/braille_display_private/braille_di
splay_private_apitest.cc" ] | 1325 sources -= [ "../browser/extensions/api/braille_display_private/braille_di
splay_private_apitest.cc" ] |
1325 } | 1326 } |
1326 if (is_chrome_branded) { | 1327 if (is_chrome_branded) { |
1327 sources -= [ | 1328 sources -= [ |
1328 # These tests depend on single process mode, which is disabled in | 1329 # These tests depend on single process mode, which is disabled in |
1329 # official builds. | 1330 # official builds. |
1330 "../renderer/safe_browsing/phishing_classifier_browsertest.cc", | 1331 "../renderer/safe_browsing/phishing_classifier_browsertest.cc", |
1331 "../renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc", | 1332 "../renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc", |
1332 ] | 1333 ] |
1333 } | 1334 } |
1334 if (!enable_autofill_dialog || is_android || is_ios) { | 1335 if (is_android || is_ios) { |
1335 deps -= [ "//third_party/libaddressinput" ] | |
1336 } | 1336 } |
1337 if (enable_remoting) { | 1337 if (enable_remoting) { |
1338 sources += rebase_path( | 1338 sources += rebase_path( |
1339 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources, | 1339 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources, |
1340 ".", | 1340 ".", |
1341 "//chrome") | 1341 "//chrome") |
1342 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP) | 1342 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP) |
1343 } | 1343 } |
1344 if (use_x11) { | 1344 if (use_x11) { |
1345 deps += [ "//tools/xdisplaycheck" ] | 1345 deps += [ "//tools/xdisplaycheck" ] |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1661 "//ui/resources", | 1661 "//ui/resources", |
1662 ] | 1662 ] |
1663 data_deps = [] | 1663 data_deps = [] |
1664 | 1664 |
1665 # TODO(GYP) Windows stuff | 1665 # TODO(GYP) Windows stuff |
1666 # ['incremental_chrome_dll==1', { | 1666 # ['incremental_chrome_dll==1', { |
1667 # 'UseLibraryDependencyInputs': "true", | 1667 # 'UseLibraryDependencyInputs': "true", |
1668 | 1668 |
1669 if (!is_ios) { | 1669 if (!is_ios) { |
1670 deps += [ | 1670 deps += [ |
1671 "//components/autofill/content/browser/wallet:test_support", | |
1672 "//components/autofill/content/renderer:test_support", | 1671 "//components/autofill/content/renderer:test_support", |
1673 "//components/data_reduction_proxy/core/browser:test_support", | 1672 "//components/data_reduction_proxy/core/browser:test_support", |
1674 "//components/data_use_measurement/core", | 1673 "//components/data_use_measurement/core", |
1675 "//components/metrics/proto", | 1674 "//components/metrics/proto", |
1676 "//components/safe_browsing_db", | 1675 "//components/safe_browsing_db", |
1677 "//components/safe_json:test_support", | 1676 "//components/safe_json:test_support", |
1678 "//components/strings", | 1677 "//components/strings", |
1679 "//components/webdata_services:test_support", | 1678 "//components/webdata_services:test_support", |
1680 "//content/app/resources", | 1679 "//content/app/resources", |
1681 "//device/bluetooth:mocks", | 1680 "//device/bluetooth:mocks", |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1893 if (is_mac) { | 1892 if (is_mac) { |
1894 deps += [ ":mac_safe_browsing_test_data" ] | 1893 deps += [ ":mac_safe_browsing_test_data" ] |
1895 data += [ "$root_out_dir/test_data/chrome/safe_browsing_dmg/" ] | 1894 data += [ "$root_out_dir/test_data/chrome/safe_browsing_dmg/" ] |
1896 } | 1895 } |
1897 } else if (safe_browsing_mode == 2) { | 1896 } else if (safe_browsing_mode == 2) { |
1898 sources += rebase_path( | 1897 sources += rebase_path( |
1899 chrome_tests_unit_gypi_values.chrome_unit_tests_shared_safe_browsing
_sources, | 1898 chrome_tests_unit_gypi_values.chrome_unit_tests_shared_safe_browsing
_sources, |
1900 ".", | 1899 ".", |
1901 "//chrome") | 1900 "//chrome") |
1902 } | 1901 } |
1903 if (enable_autofill_dialog && !is_android) { | |
1904 sources += rebase_path( | |
1905 chrome_tests_unit_gypi_values.chrome_unit_tests_autofill_dialog_sour
ces, | |
1906 ".", | |
1907 "//chrome") | |
1908 } | |
1909 if (enable_plugins) { | 1902 if (enable_plugins) { |
1910 sources += rebase_path( | 1903 sources += rebase_path( |
1911 chrome_tests_unit_gypi_values.chrome_unit_tests_plugins_sources, | 1904 chrome_tests_unit_gypi_values.chrome_unit_tests_plugins_sources, |
1912 ".", | 1905 ".", |
1913 "//chrome") | 1906 "//chrome") |
1914 } | 1907 } |
1915 if (enable_print_preview) { | 1908 if (enable_print_preview) { |
1916 sources += rebase_path( | 1909 sources += rebase_path( |
1917 chrome_tests_unit_gypi_values.chrome_unit_tests_print_preview_source
s, | 1910 chrome_tests_unit_gypi_values.chrome_unit_tests_print_preview_source
s, |
1918 ".", | 1911 ".", |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2267 | 2260 |
2268 deps = [ | 2261 deps = [ |
2269 ":test_support", | 2262 ":test_support", |
2270 ":test_support_ui", | 2263 ":test_support_ui", |
2271 "//base", | 2264 "//base", |
2272 "//base:i18n", | 2265 "//base:i18n", |
2273 "//base/test:test_support", | 2266 "//base/test:test_support", |
2274 "//chrome/browser", | 2267 "//chrome/browser", |
2275 "//chrome/renderer", | 2268 "//chrome/renderer", |
2276 "//components/about_handler", | 2269 "//components/about_handler", |
2277 "//components/autofill/content/browser/wallet:test_support", | |
2278 "//components/autofill/content/renderer:test_support", | 2270 "//components/autofill/content/renderer:test_support", |
2279 "//content/test:browsertest_base", | 2271 "//content/test:browsertest_base", |
2280 "//media/cast:test_support", | 2272 "//media/cast:test_support", |
2281 "//testing/gmock", | 2273 "//testing/gmock", |
2282 "//testing/gtest", | 2274 "//testing/gtest", |
2283 "//testing/perf", | 2275 "//testing/perf", |
2284 "//third_party/cld_2:cld2_platform_impl", | 2276 "//third_party/cld_2:cld2_platform_impl", |
2285 ] | 2277 ] |
2286 | 2278 |
2287 if (is_win) { | 2279 if (is_win) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2332 if (is_android) { | 2324 if (is_android) { |
2333 android_library("unit_tests_java") { | 2325 android_library("unit_tests_java") { |
2334 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2326 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
2335 deps = [ | 2327 deps = [ |
2336 "//base:base_java", | 2328 "//base:base_java", |
2337 "//chrome/android:chrome_java", | 2329 "//chrome/android:chrome_java", |
2338 "//content/public/android:content_java", | 2330 "//content/public/android:content_java", |
2339 ] | 2331 ] |
2340 } | 2332 } |
2341 } | 2333 } |
OLD | NEW |