//components/signin: Move switches/prefs into shared target

We'll see where things go long-term, but for now, these seem more
intuitively like shared code than internal code.

Bug: 901859
Change-Id: Ie3caff7ab36afa2453baa80199fd612e4ab9dfbb
Reviewed-on: https://chromium-review.googlesource.com/c/1331472
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607969}
diff --git a/components/signin/core/browser/BUILD.gn b/components/signin/core/browser/BUILD.gn
index f8e0545..d425ca8 100644
--- a/components/signin/core/browser/BUILD.gn
+++ b/components/signin/core/browser/BUILD.gn
@@ -26,8 +26,13 @@
     "account_info.h",
     "signin_metrics.cc",
     "signin_metrics.h",
+    "signin_pref_names.cc",
+    "signin_pref_names.h",
+    "signin_switches.cc",
+    "signin_switches.h",
   ]
   deps = [
+    ":signin_buildflags",
     "//components/account_id",
   ]
   public_deps = [
@@ -66,10 +71,6 @@
     "signin_manager.h",
     "signin_manager_base.cc",
     "signin_manager_base.h",
-    "signin_pref_names.cc",
-    "signin_pref_names.h",
-    "signin_switches.cc",
-    "signin_switches.h",
   ]
 
   if (is_chromeos) {
@@ -78,7 +79,6 @@
 
   deps = [
     ":shared",
-    ":signin_buildflags",
     "//base",
     "//components/data_use_measurement/core",
     "//components/keyed_service/core",