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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 static_library("test_support") { | 94 static_library("test_support") { |
| 95 testonly = true |
95 sources = [ | 96 sources = [ |
96 "mock_password_store.cc", | 97 "mock_password_store.cc", |
97 "mock_password_store.h", | 98 "mock_password_store.h", |
98 "password_form_data.cc", | 99 "password_form_data.cc", |
99 "password_form_data.h", | 100 "password_form_data.h", |
100 "stub_password_manager_client.cc", | 101 "stub_password_manager_client.cc", |
101 "stub_password_manager_client.h", | 102 "stub_password_manager_client.h", |
102 "stub_password_manager_driver.cc", | 103 "stub_password_manager_driver.cc", |
103 "stub_password_manager_driver.h", | 104 "stub_password_manager_driver.h", |
104 "test_password_store.cc", | 105 "test_password_store.cc", |
105 "test_password_store.h", | 106 "test_password_store.h", |
106 ] | 107 ] |
107 | 108 |
108 deps = [ | 109 deps = [ |
109 "//base", | 110 "//base", |
110 "//components/autofill/core/common", | 111 "//components/autofill/core/common", |
111 "//testing/gmock", | 112 "//testing/gmock", |
112 "//testing/gtest", | 113 "//testing/gtest", |
113 ] | 114 ] |
114 } | 115 } |
OLD | NEW |