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

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

Issue 767163005: Add AffiliationFetcher to fetch authoritative affiliation information regarding facets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits from gcasto@ and rdsmith@. Created 6 years 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
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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 } 7 }
8 8
9 config("password_manager_config") { 9 config("password_manager_config") {
10 # Sync (not supported in Android WebView). 10 # Sync (not supported in Android WebView).
11 if (!is_android || !is_android_webview_build) { 11 if (!is_android || !is_android_webview_build) {
12 defines = [ "PASSWORD_MANAGER_ENABLE_SYNC" ] 12 defines = [ "PASSWORD_MANAGER_ENABLE_SYNC" ]
13 } 13 }
14 } 14 }
15 15
16 static_library("browser") { 16 static_library("browser") {
17 sources = [ 17 sources = [
18 "affiliation_fetcher_delegate.h",
19 "affiliation_fetcher.cc",
20 "affiliation_fetcher.h",
18 "affiliation_utils.cc", 21 "affiliation_utils.cc",
19 "affiliation_utils.h", 22 "affiliation_utils.h",
20 "browser_save_password_progress_logger.cc", 23 "browser_save_password_progress_logger.cc",
21 "browser_save_password_progress_logger.h", 24 "browser_save_password_progress_logger.h",
22 "credential_manager_dispatcher.h", 25 "credential_manager_dispatcher.h",
23 "log_receiver.h", 26 "log_receiver.h",
24 "log_router.cc", 27 "log_router.cc",
25 "log_router.h", 28 "log_router.h",
26 "login_database.cc", 29 "login_database.cc",
27 "login_database.h", 30 "login_database.h",
(...skipping 28 matching lines...) Expand all
56 "psl_matching_helper.cc", 59 "psl_matching_helper.cc",
57 "psl_matching_helper.h", 60 "psl_matching_helper.h",
58 "webdata/logins_table.cc", 61 "webdata/logins_table.cc",
59 "webdata/logins_table.h", 62 "webdata/logins_table.h",
60 "webdata/logins_table_win.cc", 63 "webdata/logins_table_win.cc",
61 "webdata/password_web_data_service_win.cc", 64 "webdata/password_web_data_service_win.cc",
62 "webdata/password_web_data_service_win.h", 65 "webdata/password_web_data_service_win.h",
63 ] 66 ]
64 67
65 deps = [ 68 deps = [
69 ":proto",
66 "//base", 70 "//base",
67 "//components/autofill/core/common", 71 "//components/autofill/core/common",
68 "//components/keyed_service/core", 72 "//components/keyed_service/core",
69 "//components/os_crypt", 73 "//components/os_crypt",
70 "//components/password_manager/core/common", 74 "//components/password_manager/core/common",
71 "//net", 75 "//net",
72 "//sql", 76 "//sql",
77 '//third_party/protobuf:protobuf_lite',
73 "//url", 78 "//url",
74 ] 79 ]
75 80
76 if (is_mac) { 81 if (is_mac) {
77 # TODO(blundell): Provide the iOS login DB implementation and then 82 # TODO(blundell): Provide the iOS login DB implementation and then
78 # also exclude the POSIX one from iOS. http://crbug.com/341429 83 # also exclude the POSIX one from iOS. http://crbug.com/341429
79 sources -= [ "login_database_posix.cc" ] 84 sources -= [ "login_database_posix.cc" ]
80 } else if (is_win) { 85 } else if (is_win) {
81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 86 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
82 cflags = [ "/wd4267" ] 87 cflags = [ "/wd4267" ]
83 } 88 }
84 89
85 public_configs = [ ":password_manager_config" ] 90 public_configs = [ ":password_manager_config" ]
86 91
87 # Sync (not supported in Android WebView). 92 # Sync (not supported in Android WebView).
88 if (!is_android || !is_android_webview_build) { 93 if (!is_android || !is_android_webview_build) {
89 sources += [ 94 sources += [
90 "password_syncable_service.cc", 95 "password_syncable_service.cc",
91 "password_syncable_service.h", 96 "password_syncable_service.h",
92 ] 97 ]
93 deps += [ "//sync" ] 98 deps += [ "//sync" ]
94 } 99 }
95 } 100 }
96 101
102 proto_library("proto") {
103 sources = [
104 "affiliation_api.proto"
105 ]
106 }
107
97 source_set("test_support") { 108 source_set("test_support") {
98 testonly = true 109 testonly = true
99 sources = [ 110 sources = [
100 "mock_password_store.cc", 111 "mock_password_store.cc",
101 "mock_password_store.h", 112 "mock_password_store.h",
102 "password_form_data.cc", 113 "password_form_data.cc",
103 "password_form_data.h", 114 "password_form_data.h",
104 "stub_password_manager_client.cc", 115 "stub_password_manager_client.cc",
105 "stub_password_manager_client.h", 116 "stub_password_manager_client.h",
106 "stub_password_manager_driver.cc", 117 "stub_password_manager_driver.cc",
107 "stub_password_manager_driver.h", 118 "stub_password_manager_driver.h",
108 "test_password_store.cc", 119 "test_password_store.cc",
109 "test_password_store.h", 120 "test_password_store.h",
110 ] 121 ]
111 122
112 public_deps = [ 123 public_deps = [
113 ":browser", 124 ":browser",
114 ] 125 ]
115 deps = [ 126 deps = [
116 "//base", 127 "//base",
117 "//components/autofill/core/common", 128 "//components/autofill/core/common",
118 "//testing/gmock", 129 "//testing/gmock",
119 "//testing/gtest", 130 "//testing/gtest",
120 ] 131 ]
121 } 132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698