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

Side by Side Diff: components/signin/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/sessions/BUILD.gn ('k') | components/sync_driver/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 static_library("browser") { 5 static_library("browser") {
6 sources = [ 6 sources = [
7 "about_signin_internals.cc", 7 "about_signin_internals.cc",
8 "about_signin_internals.h", 8 "about_signin_internals.h",
9 "account_reconcilor.cc", 9 "account_reconcilor.cc",
10 "account_reconcilor.h", 10 "account_reconcilor.h",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ] 66 ]
67 } 67 }
68 68
69 if (is_win) { 69 if (is_win) {
70 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 70 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
71 cflags = [ "/wd4267" ] 71 cflags = [ "/wd4267" ]
72 } 72 }
73 } 73 }
74 74
75 static_library("test_support") { 75 static_library("test_support") {
76 testonly = true
76 sources = [ 77 sources = [
77 "fake_auth_status_provider.cc", 78 "fake_auth_status_provider.cc",
78 "fake_auth_status_provider.h", 79 "fake_auth_status_provider.h",
79 "test_signin_client.cc", 80 "test_signin_client.cc",
80 "test_signin_client.h", 81 "test_signin_client.h",
81 ] 82 ]
82 83
83 deps = [ 84 deps = [
84 ":browser", 85 ":browser",
85 "//testing/gtest", 86 "//testing/gtest",
86 ] 87 ]
87 } 88 }
OLDNEW
« no previous file with comments | « components/sessions/BUILD.gn ('k') | components/sync_driver/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698