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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1106 # inline login UI is disabled on chromeos | 1106 # inline login UI is disabled on chromeos |
1107 "../browser/ui/webui/signin/inline_login_ui_browsertest.cc", | 1107 "../browser/ui/webui/signin/inline_login_ui_browsertest.cc", |
1108 | 1108 |
1109 # chromeos does not use the desktop user manager | 1109 # chromeos does not use the desktop user manager |
1110 "../browser/ui/webui/signin/user_manager_ui_browsertest.cc", | 1110 "../browser/ui/webui/signin/user_manager_ui_browsertest.cc", |
1111 ] | 1111 ] |
1112 deps += [ | 1112 deps += [ |
1113 "//chromeos/ime:gencode", | 1113 "//chromeos/ime:gencode", |
1114 "//components/arc:arc_test_support", | 1114 "//components/arc:arc_test_support", |
1115 "//components/user_manager:test_support", | 1115 "//components/user_manager:test_support", |
1116 "//dbus", | |
1117 "//dbus:test_support", | |
1118 "//ui/login:resources", | 1116 "//ui/login:resources", |
1119 ] | 1117 ] |
| 1118 |
| 1119 if (use_dbus) { |
| 1120 deps += [ "//dbus:test_support" ] |
| 1121 } |
1120 } else { | 1122 } else { |
1121 sources -= [ | 1123 sources -= [ |
1122 "../browser/extensions/api/enterprise_device_attributes/enterprise_devic
e_attributes_apitest.cc", | 1124 "../browser/extensions/api/enterprise_device_attributes/enterprise_devic
e_attributes_apitest.cc", |
1123 "../browser/extensions/api/enterprise_platform_keys/enterprise_platform_
keys_apitest_nss.cc", | 1125 "../browser/extensions/api/enterprise_platform_keys/enterprise_platform_
keys_apitest_nss.cc", |
1124 "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc", | 1126 "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc", |
1125 "../browser/extensions/api/terminal/terminal_private_apitest.cc", | 1127 "../browser/extensions/api/terminal/terminal_private_apitest.cc", |
1126 "../browser/invalidation/profile_invalidation_provider_factory_browserte
st.cc", | 1128 "../browser/invalidation/profile_invalidation_provider_factory_browserte
st.cc", |
1127 "../browser/net/nss_context_chromeos_browsertest.cc", | 1129 "../browser/net/nss_context_chromeos_browsertest.cc", |
1128 "data/webui/certificate_viewer_ui_test-inl.h", | 1130 "data/webui/certificate_viewer_ui_test-inl.h", |
1129 ] | 1131 ] |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2037 "//chrome/browser:gnome_keyring", | 2039 "//chrome/browser:gnome_keyring", |
2038 "//chrome/browser:gnome_keyring_direct", | 2040 "//chrome/browser:gnome_keyring_direct", |
2039 ] | 2041 ] |
2040 } | 2042 } |
2041 if (is_linux && !is_chromeos) { | 2043 if (is_linux && !is_chromeos) { |
2042 sources += | 2044 sources += |
2043 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ] | 2045 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ] |
2044 deps += [ "//third_party/libsecret" ] | 2046 deps += [ "//third_party/libsecret" ] |
2045 } | 2047 } |
2046 if (is_linux && use_aura) { | 2048 if (is_linux && use_aura) { |
2047 deps += [ | 2049 deps += [ "//ui/aura:test_support" ] |
2048 "//dbus", | 2050 if (use_dbus) { |
2049 "//dbus:test_support", | 2051 deps += [ "//dbus:test_support" ] |
2050 "//ui/aura:test_support", | 2052 } |
2051 ] | |
2052 } | 2053 } |
2053 if (is_linux && is_chrome_branded && current_cpu == "x86") { | 2054 if (is_linux && is_chrome_branded && current_cpu == "x86") { |
2054 ldflags = [ "-Wl,--strip-debug" ] | 2055 ldflags = [ "-Wl,--strip-debug" ] |
2055 } | 2056 } |
2056 if (is_mac) { | 2057 if (is_mac) { |
2057 sources -= [ | 2058 sources -= [ |
2058 # This tests the function GetSpellCheckLanguages which is not used on | 2059 # This tests the function GetSpellCheckLanguages which is not used on |
2059 # Mac. | 2060 # Mac. |
2060 "../browser/spellchecker/spellcheck_service_unittest.cc", | 2061 "../browser/spellchecker/spellcheck_service_unittest.cc", |
2061 "../browser/ui/tests/ui_gfx_image_unittest.cc", | 2062 "../browser/ui/tests/ui_gfx_image_unittest.cc", |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2383 if (is_android) { | 2384 if (is_android) { |
2384 android_library("unit_tests_java") { | 2385 android_library("unit_tests_java") { |
2385 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2386 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
2386 deps = [ | 2387 deps = [ |
2387 "//base:base_java", | 2388 "//base:base_java", |
2388 "//chrome/android:chrome_java", | 2389 "//chrome/android:chrome_java", |
2389 "//content/public/android:content_java", | 2390 "//content/public/android:content_java", |
2390 ] | 2391 ] |
2391 } | 2392 } |
2392 } | 2393 } |
OLD | NEW |