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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//components/signin/features.gni")
6
5 if (is_android) { 7 if (is_android) {
6 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
7 } 9 }
8 10
9 # Split into its own target to allow the Identity Service to depend on it in 11 # Split into its own target to allow the Identity Service to depend on it in
10 # typemaps without introducing a dependency on all of 12 # typemaps without introducing a dependency on all of
11 # //components/signin/core/browser, which is undesirable. In the long term 13 # //components/signin/core/browser, which is undesirable. In the long term
12 # this file will move to be part of the Identity Service client library. 14 # this file will move to be part of the Identity Service client library.
13 static_library("account_info") { 15 static_library("account_info") {
14 sources = [ 16 sources = [
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 "webdata/token_service_table.cc", 84 "webdata/token_service_table.cc",
83 "webdata/token_service_table.h", 85 "webdata/token_service_table.h",
84 "webdata/token_web_data.cc", 86 "webdata/token_web_data.cc",
85 "webdata/token_web_data.h", 87 "webdata/token_web_data.h",
86 ] 88 ]
87 89
88 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 90 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
89 91
90 public_deps = [ 92 public_deps = [
91 ":account_info", 93 ":account_info",
94 "//base",
95 "//components/content_settings/core/browser",
96 "//components/content_settings/core/common",
97 "//components/invalidation/public",
98 "//components/keyed_service/core",
99 "//components/prefs",
92 "//components/signin/core/account_id", 100 "//components/signin/core/account_id",
93 "//components/signin/core/common", 101 "//components/signin/core/common",
102 "//components/signin/core/common:signin_features",
103 "//google_apis",
104 "//net",
105 "//url",
94 ] 106 ]
95 deps = [ 107 deps = [
96 "//base",
97 "//base:i18n", 108 "//base:i18n",
98 "//components/content_settings/core/browser",
99 "//components/content_settings/core/common",
100 "//components/data_use_measurement/core", 109 "//components/data_use_measurement/core",
101 "//components/google/core/browser", 110 "//components/google/core/browser",
102 "//components/invalidation/public",
103 "//components/keyed_service/core",
104 "//components/metrics", 111 "//components/metrics",
105 "//components/os_crypt", 112 "//components/os_crypt",
106 "//components/pref_registry", 113 "//components/pref_registry",
107 "//components/prefs",
108 "//components/webdata/common", 114 "//components/webdata/common",
109 "//crypto", 115 "//crypto",
110 "//google_apis",
111 "//net",
112 "//sql", 116 "//sql",
113 "//third_party/icu", 117 "//third_party/icu",
114 ] 118 ]
115 119
116 if (is_chromeos) { 120 if (is_chromeos) {
117 sources -= [ 121 sources -= [
118 "signin_manager.cc", 122 "signin_manager.cc",
119 "signin_status_metrics_provider.cc", 123 "signin_status_metrics_provider.cc",
120 "signin_status_metrics_provider_delegate.cc", 124 "signin_status_metrics_provider_delegate.cc",
121 ] 125 ]
122 } 126 }
123 127
124 if (is_android || is_ios) { 128 if (!enable_dice_support) {
125 sources -= [ 129 sources -= [
126 "dice_header_helper.cc", 130 "dice_header_helper.cc",
127 "dice_header_helper.h", 131 "dice_header_helper.h",
128 ] 132 ]
129 } 133 }
130 134
131 if (is_android) { 135 if (is_android) {
132 sources -= [ 136 sources -= [
133 "child_account_info_fetcher_impl.cc", 137 "child_account_info_fetcher_impl.cc",
134 "child_account_info_fetcher_impl.h", 138 "child_account_info_fetcher_impl.h",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "webdata/token_service_table_unittest.cc", 185 "webdata/token_service_table_unittest.cc",
182 ] 186 ]
183 187
184 deps = [ 188 deps = [
185 ":test_support", 189 ":test_support",
186 "//base/test:test_support", 190 "//base/test:test_support",
187 "//components/content_settings/core/browser", 191 "//components/content_settings/core/browser",
188 "//components/os_crypt:test_support", 192 "//components/os_crypt:test_support",
189 "//components/pref_registry:pref_registry", 193 "//components/pref_registry:pref_registry",
190 "//components/signin/core/common", 194 "//components/signin/core/common",
195 "//components/signin/core/common:signin_features",
191 "//components/sync_preferences:test_support", 196 "//components/sync_preferences:test_support",
192 "//testing/gmock", 197 "//testing/gmock",
193 ] 198 ]
194 199
195 if (is_chromeos) { 200 if (is_chromeos) {
196 sources -= [ 201 sources -= [
197 "account_investigator_unittest.cc", 202 "account_investigator_unittest.cc",
198 "signin_status_metrics_provider_unittest.cc", 203 "signin_status_metrics_provider_unittest.cc",
199 ] 204 ]
200 } 205 }
201 } 206 }
202 207
203 if (is_android) { 208 if (is_android) {
204 java_cpp_enum("investigated_scenario_java") { 209 java_cpp_enum("investigated_scenario_java") {
205 sources = [ 210 sources = [
206 "signin_investigator.h", 211 "signin_investigator.h",
207 ] 212 ]
208 } 213 }
209 } 214 }
OLDNEW
« 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