Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: chrome/test/BUILD.gn

Issue 2244653002: gn: Use a separate flag for enabling libgnome-keyring support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch v2, drop unnecessary import Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | components/os_crypt/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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")
11 import("//chrome/common/features.gni") 11 import("//chrome/common/features.gni")
12 import("//chrome/test/base/js2gtest.gni") 12 import("//chrome/test/base/js2gtest.gni")
13 import("//components/os_crypt/features.gni")
13 import("//testing/test.gni") 14 import("//testing/test.gni")
14 import("//v8/gni/v8.gni") 15 import("//v8/gni/v8.gni")
15 16
16 if (is_android) { 17 if (is_android) {
17 import("//build/config/android/rules.gni") 18 import("//build/config/android/rules.gni")
18 } 19 }
19 20
20 # This target exists to reference other test executables to bring these files 21 # This target exists to reference other test executables to bring these files
21 # into the build. 22 # into the build.
22 group("test") { 23 group("test") {
(...skipping 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after
2121 "../browser/policy/cloud/user_policy_signin_service_unittest.cc", 2122 "../browser/policy/cloud/user_policy_signin_service_unittest.cc",
2122 "../browser/signin/signin_manager_unittest.cc", 2123 "../browser/signin/signin_manager_unittest.cc",
2123 ] 2124 ]
2124 } 2125 }
2125 if (use_x11) { 2126 if (use_x11) {
2126 deps += [ "//ui/events/devices" ] 2127 deps += [ "//ui/events/devices" ]
2127 data_deps += [ "//tools/xdisplaycheck" ] 2128 data_deps += [ "//tools/xdisplaycheck" ]
2128 } else { 2129 } else {
2129 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ] 2130 sources -= [ "../browser/password_manager/password_store_x_unittest.cc" ]
2130 } 2131 }
2131 if (is_desktop_linux && current_cpu == "x64") { 2132 if (use_gnome_keyring && current_cpu == "x64") {
2132 # Only add this test for 64 bit builds because otherwise we need the 32 2133 # Only add this test for 64 bit builds because otherwise we need the 32
2133 # bit library on 64 bit systems when running this test. 2134 # bit library on 64 bit systems when running this test.
2134 sources += 2135 sources +=
2135 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ] 2136 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ]
2136 configs += [ 2137 configs += [
2137 "//components/os_crypt:gnome_keyring", 2138 "//components/os_crypt:gnome_keyring",
2138 "//components/os_crypt:gnome_keyring_direct", 2139 "//components/os_crypt:gnome_keyring_direct",
2139 ] 2140 ]
2140 } 2141 }
2141 if (is_linux && !is_chromeos) { 2142 if (is_linux && !is_chromeos) {
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
2479 if (is_android) { 2480 if (is_android) {
2480 android_library("unit_tests_java") { 2481 android_library("unit_tests_java") {
2481 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2482 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2482 deps = [ 2483 deps = [
2483 "//base:base_java", 2484 "//base:base_java",
2484 "//chrome/android:chrome_java", 2485 "//chrome/android:chrome_java",
2485 "//content/public/android:content_java", 2486 "//content/public/android:content_java",
2486 ] 2487 ]
2487 } 2488 }
2488 } 2489 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | components/os_crypt/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698