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", |
+ ] |
} |