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

Unified Diff: components/signin/core/browser/BUILD.gn

Issue 2946693002: Use GN buildflags and features to configure account consistency (Closed)
Patch Set: fix Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/signin/core/browser/signin_header_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/BUILD.gn
diff --git a/components/signin/core/browser/BUILD.gn b/components/signin/core/browser/BUILD.gn
index 8120e2a3eaef831cf687f52d08a062791678bccb..ec35efad75219a390a69fd76878dbec4c8c889d5 100644
--- a/components/signin/core/browser/BUILD.gn
+++ b/components/signin/core/browser/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//components/signin/features.gni")
+
if (is_android) {
import("//build/config/android/rules.gni")
}
@@ -89,26 +91,28 @@ static_library("browser") {
public_deps = [
":account_info",
+ "//base",
+ "//components/content_settings/core/browser",
+ "//components/content_settings/core/common",
+ "//components/invalidation/public",
+ "//components/keyed_service/core",
+ "//components/prefs",
"//components/signin/core/account_id",
"//components/signin/core/common",
+ "//components/signin/core/common:signin_features",
+ "//google_apis",
+ "//net",
+ "//url",
]
deps = [
- "//base",
"//base:i18n",
- "//components/content_settings/core/browser",
- "//components/content_settings/core/common",
"//components/data_use_measurement/core",
"//components/google/core/browser",
- "//components/invalidation/public",
- "//components/keyed_service/core",
"//components/metrics",
"//components/os_crypt",
"//components/pref_registry",
- "//components/prefs",
"//components/webdata/common",
"//crypto",
- "//google_apis",
- "//net",
"//sql",
"//third_party/icu",
]
@@ -121,7 +125,7 @@ static_library("browser") {
]
}
- if (is_android || is_ios) {
+ if (!enable_dice_support) {
sources -= [
"dice_header_helper.cc",
"dice_header_helper.h",
@@ -188,6 +192,7 @@ source_set("unit_tests") {
"//components/os_crypt:test_support",
"//components/pref_registry:pref_registry",
"//components/signin/core/common",
+ "//components/signin/core/common:signin_features",
"//components/sync_preferences:test_support",
"//testing/gmock",
]
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/signin/core/browser/signin_header_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698