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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 ":test_support", | 654 ":test_support", |
655 "//base", | 655 "//base", |
656 "//components/invalidation/impl", | 656 "//components/invalidation/impl", |
657 "//components/invalidation/impl:test_support", | 657 "//components/invalidation/impl:test_support", |
658 "//content/test:browsertest_base", | 658 "//content/test:browsertest_base", |
659 "//net", | 659 "//net", |
660 "//skia", | 660 "//skia", |
661 "//sync", | 661 "//sync", |
662 "//sync:test_support_sync_fake_server", | 662 "//sync:test_support_sync_fake_server", |
663 "//sync:test_support_sync_testserver", | 663 "//sync:test_support_sync_testserver", |
664 "//ui/app_list:test_support", | |
665 ] | 664 ] |
666 | 665 |
667 if (is_mac) { | 666 if (is_mac) { |
668 sources -= [ | 667 sources -= [ |
669 "../browser/sync/test/integration/dictionary_helper.cc", | 668 "../browser/sync/test/integration/dictionary_helper.cc", |
670 "../browser/sync/test/integration/dictionary_helper.h", | 669 "../browser/sync/test/integration/dictionary_helper.h", |
671 "../browser/sync/test/integration/dictionary_load_observer.cc", | 670 "../browser/sync/test/integration/dictionary_load_observer.cc", |
672 "../browser/sync/test/integration/dictionary_load_observer.h", | 671 "../browser/sync/test/integration/dictionary_load_observer.h", |
673 ] | 672 ] |
674 } | 673 } |
675 if (!enable_app_list) { | 674 if (enable_app_list) { |
| 675 deps += [ "//ui/app_list:test_support" ] |
| 676 } else { |
676 sources -= [ | 677 sources -= [ |
677 "../browser/sync/test/integration/sync_app_list_helper.cc", | 678 "../browser/sync/test/integration/sync_app_list_helper.cc", |
678 "../browser/sync/test/integration/sync_app_list_helper.h", | 679 "../browser/sync/test/integration/sync_app_list_helper.h", |
679 ] | 680 ] |
680 } | 681 } |
681 if (!is_chromeos) { | 682 if (!is_chromeos) { |
682 sources -= [ | 683 sources -= [ |
683 "../browser/sync/test/integration/wifi_credentials_helper.cc", | 684 "../browser/sync/test/integration/wifi_credentials_helper.cc", |
684 "../browser/sync/test/integration/wifi_credentials_helper.h", | 685 "../browser/sync/test/integration/wifi_credentials_helper.h", |
685 ] | 686 ] |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 deps += [ | 1310 deps += [ |
1310 "//components/copresence", | 1311 "//components/copresence", |
1311 "//third_party/libaddressinput", | 1312 "//third_party/libaddressinput", |
1312 ] | 1313 ] |
1313 } | 1314 } |
1314 if (enable_app_list) { | 1315 if (enable_app_list) { |
1315 sources += rebase_path( | 1316 sources += rebase_path( |
1316 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, | 1317 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, |
1317 ".", | 1318 ".", |
1318 "//chrome") | 1319 "//chrome") |
| 1320 if (is_mac) { |
| 1321 # This assumes the AppList is views-based, but Mac only links |
| 1322 # browser parts for the Cocoa implementation. |
| 1323 sources -= |
| 1324 [ "../browser/ui/app_list/app_list_service_views_browsertest.cc" ] |
| 1325 } |
1319 } | 1326 } |
1320 if (enable_service_discovery) { | 1327 if (enable_service_discovery) { |
1321 sources += rebase_path( | 1328 sources += rebase_path( |
1322 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so
urces, | 1329 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so
urces, |
1323 ".", | 1330 ".", |
1324 "//chrome") | 1331 "//chrome") |
1325 } | 1332 } |
1326 if (enable_supervised_users) { | 1333 if (enable_supervised_users) { |
1327 sources += rebase_path( | 1334 sources += rebase_path( |
1328 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour
ces, | 1335 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour
ces, |
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2199 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_sources, | 2206 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_sources, |
2200 ".", | 2207 ".", |
2201 "//chrome") | 2208 "//chrome") |
2202 deps += [ "//ui/app_list:test_support" ] | 2209 deps += [ "//ui/app_list:test_support" ] |
2203 } | 2210 } |
2204 if (enable_app_list && is_chromeos) { | 2211 if (enable_app_list && is_chromeos) { |
2205 sources += rebase_path( | 2212 sources += rebase_path( |
2206 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_so
urces, | 2213 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_so
urces, |
2207 ".", | 2214 ".", |
2208 "//chrome") | 2215 "//chrome") |
| 2216 sources -= |
| 2217 [ "../browser/ui/views/app_list/linux/app_list_linux_unittest.cc" ] |
2209 deps += [ "//components/arc:arc_test_support" ] | 2218 deps += [ "//components/arc:arc_test_support" ] |
2210 } | 2219 } |
2211 if (enable_plugins && !enable_plugin_installation) { | 2220 if (enable_plugins && !enable_plugin_installation) { |
2212 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 2221 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
2213 } | 2222 } |
2214 } | 2223 } |
2215 | 2224 |
2216 if (safe_browsing_mode == 1 && is_mac) { | 2225 if (safe_browsing_mode == 1 && is_mac) { |
2217 action("mac_safe_browsing_test_data") { | 2226 action("mac_safe_browsing_test_data") { |
2218 script = "//build/gn_run_binary.py" | 2227 script = "//build/gn_run_binary.py" |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2366 if (is_android) { | 2375 if (is_android) { |
2367 android_library("unit_tests_java") { | 2376 android_library("unit_tests_java") { |
2368 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2377 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
2369 deps = [ | 2378 deps = [ |
2370 "//base:base_java", | 2379 "//base:base_java", |
2371 "//chrome/android:chrome_java", | 2380 "//chrome/android:chrome_java", |
2372 "//content/public/android:content_java", | 2381 "//content/public/android:content_java", |
2373 ] | 2382 ] |
2374 } | 2383 } |
2375 } | 2384 } |
OLD | NEW |