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

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

Powered by Google App Engine
This is Rietveld 408576698