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

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

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 years, 3 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/password_manager/content/renderer/BUILD.gn ('k') | components/policy/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 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
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 }
OLDNEW
« no previous file with comments | « components/password_manager/content/renderer/BUILD.gn ('k') | components/policy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698