OLD | NEW |
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). |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 if (is_mac) { | 73 if (is_mac) { |
74 # TODO(blundell): Provide the iOS login DB implementation and then | 74 # TODO(blundell): Provide the iOS login DB implementation and then |
75 # also exclude the POSIX one from iOS. http://crbug.com/341429 | 75 # also exclude the POSIX one from iOS. http://crbug.com/341429 |
76 sources -= [ "login_database_posix.cc" ] | 76 sources -= [ "login_database_posix.cc" ] |
77 } else if (is_win) { | 77 } else if (is_win) { |
78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
79 cflags = [ "/wd4267" ] | 79 cflags = [ "/wd4267" ] |
80 } | 80 } |
81 | 81 |
82 direct_dependent_configs = [ ":password_manager_config" ] | 82 public_configs = [ ":password_manager_config" ] |
83 | 83 |
84 # Sync (not supported in Android WebView). | 84 # Sync (not supported in Android WebView). |
85 if (!is_android || !is_android_webview_build) { | 85 if (!is_android || !is_android_webview_build) { |
86 sources += [ | 86 sources += [ |
87 "password_syncable_service.cc", | 87 "password_syncable_service.cc", |
88 "password_syncable_service.h", | 88 "password_syncable_service.h", |
89 ] | 89 ] |
90 deps += [ "//sync" ] | 90 deps += [ "//sync" ] |
91 } | 91 } |
92 } | 92 } |
93 | 93 |
94 source_set("test_support") { | 94 source_set("test_support") { |
95 testonly = true | 95 testonly = true |
96 sources = [ | 96 sources = [ |
97 "mock_password_store.cc", | 97 "mock_password_store.cc", |
98 "mock_password_store.h", | 98 "mock_password_store.h", |
99 "password_form_data.cc", | 99 "password_form_data.cc", |
100 "password_form_data.h", | 100 "password_form_data.h", |
101 "stub_password_manager_client.cc", | 101 "stub_password_manager_client.cc", |
102 "stub_password_manager_client.h", | 102 "stub_password_manager_client.h", |
103 "stub_password_manager_driver.cc", | 103 "stub_password_manager_driver.cc", |
104 "stub_password_manager_driver.h", | 104 "stub_password_manager_driver.h", |
105 "test_password_store.cc", | 105 "test_password_store.cc", |
106 "test_password_store.h", | 106 "test_password_store.h", |
107 ] | 107 ] |
108 | 108 |
| 109 public_deps = [ |
| 110 ":browser", |
| 111 ] |
109 deps = [ | 112 deps = [ |
110 ":browser", | |
111 "//base", | 113 "//base", |
112 "//components/autofill/core/common", | 114 "//components/autofill/core/common", |
113 "//testing/gmock", | 115 "//testing/gmock", |
114 "//testing/gtest", | 116 "//testing/gtest", |
115 ] | 117 ] |
116 | |
117 forward_dependent_configs_from = [ | |
118 ":browser", | |
119 ] | |
120 } | 118 } |
OLD | NEW |