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 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1224 sources += | 1224 sources += |
1225 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ] | 1225 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ] |
1226 deps += [ "//components/copresence" ] | 1226 deps += [ "//components/copresence" ] |
1227 } | 1227 } |
1228 if (enable_app_list) { | 1228 if (enable_app_list) { |
1229 sources += rebase_path( | 1229 sources += rebase_path( |
1230 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, | 1230 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, |
1231 ".", | 1231 ".", |
1232 "//chrome") | 1232 "//chrome") |
1233 } | 1233 } |
| 1234 if (enable_service_discovery) { |
| 1235 sources += rebase_path( |
| 1236 chrome_tests_gypi_values.chrome_browser_tests_service_discovery_so
urces, |
| 1237 ".", |
| 1238 "//chrome") |
| 1239 } |
1234 if (enable_supervised_users) { | 1240 if (enable_supervised_users) { |
1235 sources += rebase_path( | 1241 sources += rebase_path( |
1236 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour
ces, | 1242 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour
ces, |
1237 ".", | 1243 ".", |
1238 "//chrome") | 1244 "//chrome") |
1239 } | 1245 } |
1240 if (enable_pepper_cdms) { | 1246 if (enable_pepper_cdms) { |
1241 # Runtime dependencies. | 1247 # Runtime dependencies. |
1242 data_deps += [ | 1248 data_deps += [ |
1243 "//media/cdm/ppapi:clearkeycdmadapter", | 1249 "//media/cdm/ppapi:clearkeycdmadapter", |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1711 "//device/usb:mocks", | 1717 "//device/usb:mocks", |
1712 "//extensions:extensions_resources", | 1718 "//extensions:extensions_resources", |
1713 "//extensions/strings", | 1719 "//extensions/strings", |
1714 ] | 1720 ] |
1715 if (enable_configuration_policy) { | 1721 if (enable_configuration_policy) { |
1716 sources += rebase_path( | 1722 sources += rebase_path( |
1717 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_policy_
sources, | 1723 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_policy_
sources, |
1718 ".", | 1724 ".", |
1719 "//chrome") | 1725 "//chrome") |
1720 } | 1726 } |
| 1727 if (enable_service_discovery) { |
| 1728 sources += rebase_path( |
| 1729 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_service
_discovery_sources, |
| 1730 ".", |
| 1731 "//chrome") |
| 1732 } |
1721 if (!is_chromeos) { | 1733 if (!is_chromeos) { |
1722 sources += rebase_path( | 1734 sources += rebase_path( |
1723 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_non_chr
omeos_sources, | 1735 chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_non_chr
omeos_sources, |
1724 ".", | 1736 ".", |
1725 "//chrome") | 1737 "//chrome") |
1726 } | 1738 } |
1727 } | 1739 } |
1728 if (use_ash) { | 1740 if (use_ash) { |
1729 sources += | 1741 sources += |
1730 rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_ash_sources, | 1742 rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_ash_sources, |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2026 "rpcrt4.lib", | 2038 "rpcrt4.lib", |
2027 "urlmon.lib", | 2039 "urlmon.lib", |
2028 "winmm.lib", | 2040 "winmm.lib", |
2029 ] | 2041 ] |
2030 if (!is_chrome_branded) { | 2042 if (!is_chrome_branded) { |
2031 sources -= [ "../browser/google/google_update_win_unittest.cc" ] | 2043 sources -= [ "../browser/google/google_update_win_unittest.cc" ] |
2032 } | 2044 } |
2033 } | 2045 } |
2034 if (is_android || is_ios) { | 2046 if (is_android || is_ios) { |
2035 sources -= [ | 2047 sources -= [ |
2036 "../browser/devtools/device/cast_device_provider_unittest.cc", | |
2037 "../browser/devtools/device/webrtc/devtools_bridge_instances_request_unitt
est.cc", | |
2038 "../browser/ui/bookmarks/bookmark_ui_utils_desktop_unittest.cc", | 2048 "../browser/ui/bookmarks/bookmark_ui_utils_desktop_unittest.cc", |
2039 "../browser/ui/sync/sync_promo_ui_unittest.cc", | 2049 "../browser/ui/sync/sync_promo_ui_unittest.cc", |
2040 ] | 2050 ] |
2041 } | 2051 } |
2042 if (!is_android && !is_chromeos) { | 2052 if (!is_android && !is_chromeos) { |
2043 sources += rebase_path( | 2053 sources += rebase_path( |
2044 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_or_chrom
eos_sources, | 2054 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_or_chrom
eos_sources, |
2045 ".", | 2055 ".", |
2046 "//chrome") | 2056 "//chrome") |
2047 } | 2057 } |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2238 if (is_android) { | 2248 if (is_android) { |
2239 android_library("unit_tests_java") { | 2249 android_library("unit_tests_java") { |
2240 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" | 2250 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" |
2241 deps = [ | 2251 deps = [ |
2242 "//base:base_java", | 2252 "//base:base_java", |
2243 "//chrome/android:chrome_java", | 2253 "//chrome/android:chrome_java", |
2244 "//content/public/android:content_java", | 2254 "//content/public/android:content_java", |
2245 ] | 2255 ] |
2246 } | 2256 } |
2247 } | 2257 } |
OLD | NEW |