Commit 0f247eea authored by Colin Blundell's avatar Colin Blundell Committed by Commit Bot

Update //components/signin/core/browser/BUILD.gn

This CL updates //components/signin/core/browser/BUILD.gn to account
for the evolution of the IdentityManager project and prepare for
upcoming restructuring of //components/signin.

Bug: 952788
Change-Id: Ie01eb5b072758d507e6ca5420030e52b433e1b2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674005Reviewed-by: default avatarMihai Sardarescu <msarda@chromium.org>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671986}
parent e7a69ffc
...@@ -17,9 +17,8 @@ buildflag_header("signin_buildflags") { ...@@ -17,9 +17,8 @@ buildflag_header("signin_buildflags") {
] ]
} }
# This target contains code that will be shared between the Identity Service # This target contains code that is used both by the IdentityManager
# implementation and its client library/clients. Currently, this code is used # implementation and by clients of the //components/signin public code.
# both by IdentityManager and by its clients.
static_library("shared") { static_library("shared") {
sources = [ sources = [
"account_consistency_method.cc", "account_consistency_method.cc",
...@@ -30,9 +29,13 @@ static_library("shared") { ...@@ -30,9 +29,13 @@ static_library("shared") {
"account_info_util.h", "account_info_util.h",
"avatar_icon_util.cc", "avatar_icon_util.cc",
"avatar_icon_util.h", "avatar_icon_util.h",
"device_id_helper.cc",
"device_id_helper.h",
"identity_utils.cc", "identity_utils.cc",
"identity_utils.h", "identity_utils.h",
"set_accounts_in_cookie_result.h", "set_accounts_in_cookie_result.h",
"signin_client.cc",
"signin_client.h",
"signin_metrics.cc", "signin_metrics.cc",
"signin_metrics.h", "signin_metrics.h",
"signin_pref_names.cc", "signin_pref_names.cc",
...@@ -53,18 +56,16 @@ static_library("shared") { ...@@ -53,18 +56,16 @@ static_library("shared") {
] ]
public_deps = [ public_deps = [
"//base", "//base",
"//components/keyed_service/core",
# TODO(blundell): Analyze this dependency.
"//google_apis", "//google_apis",
] ]
} }
# This target contains what will become the core of the Identity Service # This target forms the core of the IdentityManager implementation
# implementation. It currently forms the core of the IdentityManager # (//services/identity/public/cpp/identity_manager.*). We are actively
# implementation (//services/identity/public/cpp/identity_manager.*). We are # converting the codebase away from using the code in this target directly to
# actively converting the codebase away from using the code in this target # using IdentityManager (tracked in https://crbug.com/796544). Do not add code
# directly to using IdentityManager (tracked in https://crbug.com/796544). Do # to this target without consulting with blundell@chromium.org.
# not add code to this target without consulting with blundell@chromium.org.
static_library("internals") { static_library("internals") {
sources = [ sources = [
"account_fetcher_service.cc", "account_fetcher_service.cc",
...@@ -75,8 +76,6 @@ static_library("internals") { ...@@ -75,8 +76,6 @@ static_library("internals") {
"account_tracker_service.h", "account_tracker_service.h",
"child_account_info_fetcher_android.cc", "child_account_info_fetcher_android.cc",
"child_account_info_fetcher_android.h", "child_account_info_fetcher_android.h",
"device_id_helper.cc",
"device_id_helper.h",
"gaia_cookie_manager_service.cc", "gaia_cookie_manager_service.cc",
"gaia_cookie_manager_service.h", "gaia_cookie_manager_service.h",
"oauth2_token_service_delegate_android.cc", "oauth2_token_service_delegate_android.cc",
...@@ -92,8 +91,6 @@ static_library("internals") { ...@@ -92,8 +91,6 @@ static_library("internals") {
"profile_oauth2_token_service.h", "profile_oauth2_token_service.h",
"profile_oauth2_token_service_delegate_chromeos.cc", "profile_oauth2_token_service_delegate_chromeos.cc",
"profile_oauth2_token_service_delegate_chromeos.h", "profile_oauth2_token_service_delegate_chromeos.h",
"signin_client.cc",
"signin_client.h",
"ubertoken_fetcher_impl.cc", "ubertoken_fetcher_impl.cc",
"ubertoken_fetcher_impl.h", "ubertoken_fetcher_impl.h",
] ]
...@@ -134,6 +131,7 @@ static_library("internals") { ...@@ -134,6 +131,7 @@ static_library("internals") {
} }
} }
# This target contains code that is used by clients of //components/signin.
static_library("browser") { static_library("browser") {
sources = [ sources = [
"about_signin_internals.cc", "about_signin_internals.cc",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment