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

Unified Diff: components/signin/core/common/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
Index: components/signin/core/common/BUILD.gn
diff --git a/components/signin/core/common/BUILD.gn b/components/signin/core/common/BUILD.gn
index 670bde9c1854d7557a57fc92488f44f1a6a6176e..c1a5c09b5e9b9527d0fa185f0a12a446ce2eb979 100644
--- a/components/signin/core/common/BUILD.gn
+++ b/components/signin/core/common/BUILD.gn
@@ -2,6 +2,17 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/buildflag_header.gni")
+import("//components/signin/features.gni")
+
+buildflag_header("signin_features") {
+ header = "signin_features.h"
+ flags = [
+ "ENABLE_DICE_SUPPORT=$enable_dice_support",
+ "ENABLE_MIRROR=$enable_mirror",
+ ]
+}
+
static_library("common") {
sources = [
"profile_management_switches.cc",
@@ -15,4 +26,8 @@ static_library("common") {
deps = [
"//base",
]
+
+ public_deps = [
+ ":signin_features",
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698