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 2071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2082 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_ar
c_sources, | 2082 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_ar
c_sources, |
2083 ".", | 2083 ".", |
2084 "//chrome") | 2084 "//chrome") |
2085 deps += [ "//components/arc:arc_test_support" ] | 2085 deps += [ "//components/arc:arc_test_support" ] |
2086 } | 2086 } |
2087 if (enable_plugins && !enable_plugin_installation) { | 2087 if (enable_plugins && !enable_plugin_installation) { |
2088 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 2088 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
2089 } | 2089 } |
2090 } | 2090 } |
2091 | 2091 |
2092 if (is_win || (is_linux && !is_chromeos)) { | 2092 if (is_win || is_mac || (is_linux && !is_chromeos)) { |
2093 # TODO(GYP): Figure out which of these work and are needed on other | 2093 # TODO(GYP): Figure out which of these work and are needed on other |
2094 # platforms. | 2094 # platforms. |
2095 test("chrome_app_unittests") { | 2095 test("chrome_app_unittests") { |
2096 sources = [ | 2096 sources = [ |
2097 "../app/chrome_watcher_client_unittest_win.cc", | 2097 "../app/chrome_watcher_client_unittest_win.cc", |
2098 "../app/chrome_watcher_client_win.cc", | 2098 "../app/chrome_watcher_client_win.cc", |
2099 "../app/chrome_watcher_command_line_win.cc", | 2099 "../app/chrome_watcher_command_line_win.cc", |
2100 "../app/chrome_watcher_command_line_win_unittest.cc", | 2100 "../app/chrome_watcher_command_line_win_unittest.cc", |
2101 "../app/delay_load_hook_unittest_win.cc", | 2101 "../app/delay_load_hook_unittest_win.cc", |
2102 "../app/delay_load_hook_win.cc", | 2102 "../app/delay_load_hook_win.cc", |
(...skipping 12 matching lines...) Expand all Loading... |
2115 "//components/crash/core/common", | 2115 "//components/crash/core/common", |
2116 "//components/flags_ui:switches", | 2116 "//components/flags_ui:switches", |
2117 "//third_party/kasko:kasko_features", | 2117 "//third_party/kasko:kasko_features", |
2118 ] | 2118 ] |
2119 if (cld_version == 2) { | 2119 if (cld_version == 2) { |
2120 # Use whatever CLD2 data access mode that the | 2120 # Use whatever CLD2 data access mode that the |
2121 # application embedder is using. | 2121 # application embedder is using. |
2122 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 2122 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
2123 } | 2123 } |
2124 } | 2124 } |
| 2125 } |
2125 | 2126 |
| 2127 if (is_win || (is_linux && !is_chromeos)) { |
2126 test("performance_browser_tests") { | 2128 test("performance_browser_tests") { |
2127 sources = | 2129 sources = |
2128 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, | 2130 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, |
2129 ".", | 2131 ".", |
2130 "//chrome") | 2132 "//chrome") |
2131 | 2133 |
2132 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 2134 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
2133 | 2135 |
2134 deps = [ | 2136 deps = [ |
2135 ":test_support", | 2137 ":test_support", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2204 if (is_android) { | 2206 if (is_android) { |
2205 android_library("unit_tests_java") { | 2207 android_library("unit_tests_java") { |
2206 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" | 2208 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" |
2207 deps = [ | 2209 deps = [ |
2208 "//base:base_java", | 2210 "//base:base_java", |
2209 "//chrome/android:chrome_java", | 2211 "//chrome/android:chrome_java", |
2210 "//content/public/android:content_java", | 2212 "//content/public/android:content_java", |
2211 ] | 2213 ] |
2212 } | 2214 } |
2213 } | 2215 } |
OLD | NEW |