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

Side by Side Diff: components/signin/core/browser/BUILD.gn

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 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 | « components/printing/renderer/BUILD.gn ('k') | components/url_fixer/BUILD.gn » ('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 static_library("browser") { 5 static_library("browser") {
6 sources = [ 6 sources = [
7 "about_signin_internals.cc", 7 "about_signin_internals.cc",
8 "about_signin_internals.h", 8 "about_signin_internals.h",
9 "account_reconcilor.cc", 9 "account_reconcilor.cc",
10 "account_reconcilor.h", 10 "account_reconcilor.h",
(...skipping 25 matching lines...) Expand all
36 "signin_oauth_helper.cc", 36 "signin_oauth_helper.cc",
37 "signin_oauth_helper.h", 37 "signin_oauth_helper.h",
38 "signin_tracker.cc", 38 "signin_tracker.cc",
39 "signin_tracker.h", 39 "signin_tracker.h",
40 "webdata/token_service_table.cc", 40 "webdata/token_service_table.cc",
41 "webdata/token_service_table.h", 41 "webdata/token_service_table.h",
42 "webdata/token_web_data.cc", 42 "webdata/token_web_data.cc",
43 "webdata/token_web_data.h", 43 "webdata/token_web_data.h",
44 ] 44 ]
45 45
46 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
47
46 deps = [ 48 deps = [
47 "//base", 49 "//base",
48 "//crypto", 50 "//crypto",
49 "//google_apis", 51 "//google_apis",
50 "//net", 52 "//net",
51 "//sql", 53 "//sql",
52 "//third_party/icu", 54 "//third_party/icu",
53 "//components/content_settings/core/browser", 55 "//components/content_settings/core/browser",
54 "//components/content_settings/core/common", 56 "//components/content_settings/core/common",
55 "//components/keyed_service/core", 57 "//components/keyed_service/core",
56 "//components/os_crypt", 58 "//components/os_crypt",
57 "//components/webdata/common", 59 "//components/webdata/common",
58 ] 60 ]
59 61
60 if (is_android) { 62 if (is_android) {
61 sources -= [ 63 sources -= [
62 "mutable_profile_oauth2_token_service.cc", 64 "mutable_profile_oauth2_token_service.cc",
63 "mutable_profile_oauth2_token_service.h", 65 "mutable_profile_oauth2_token_service.h",
64 ] 66 ]
65 } 67 }
66 68
67 if (is_chromeos) { 69 if (is_chromeos) {
68 sources -= [ "signin_manager.cc" ] 70 sources -= [ "signin_manager.cc" ]
69 } 71 }
70
71 if (is_win) {
72 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
73 cflags = [ "/wd4267" ]
74 }
75 } 72 }
76 73
77 static_library("test_support") { 74 static_library("test_support") {
78 testonly = true 75 testonly = true
79 sources = [ 76 sources = [
80 "fake_auth_status_provider.cc", 77 "fake_auth_status_provider.cc",
81 "fake_auth_status_provider.h", 78 "fake_auth_status_provider.h",
82 "test_signin_client.cc", 79 "test_signin_client.cc",
83 "test_signin_client.h", 80 "test_signin_client.h",
84 ] 81 ]
85 82
86 deps = [ 83 deps = [
87 ":browser", 84 ":browser",
88 "//testing/gtest", 85 "//testing/gtest",
89 ] 86 ]
90 } 87 }
OLDNEW
« no previous file with comments | « components/printing/renderer/BUILD.gn ('k') | components/url_fixer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698