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

Side by Side Diff: components/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 | « build/secondary/testing/gtest/BUILD.gn ('k') | components/auto_login_parser/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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 # Collection of all components. You wouldn't link to this, but this is rather 7 # Collection of all components. You wouldn't link to this, but this is rather
8 # to reference the files so they can be compiled by the build system. 8 # to reference the files so they can be compiled by the build system.
9 group("all_components") { 9 group("all_components") {
10 testonly = true # You shouldn't actually link to this.
10 visibility = [ "//:*" ] # Only for the root targets to bring in. 11 visibility = [ "//:*" ] # Only for the root targets to bring in.
11 12
12 deps = [ 13 deps = [
13 "//components/auto_login_parser", 14 "//components/auto_login_parser",
14 "//components/autofill/content/browser", 15 "//components/autofill/content/browser",
15 "//components/autofill/content/common", 16 "//components/autofill/content/common",
16 "//components/autofill/content/renderer", 17 "//components/autofill/content/renderer",
17 "//components/bookmarks/browser", 18 "//components/bookmarks/browser",
18 "//components/bookmarks/common", 19 "//components/bookmarks/common",
19 "//components/bookmarks/test", 20 "//components/bookmarks/test",
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 ] 218 ]
218 219
219 # TODO(GYP) need this target. 220 # TODO(GYP) need this target.
220 #'breakpad/app/crash_keys_win_unittest.cc', 221 #'breakpad/app/crash_keys_win_unittest.cc',
221 222
222 # Precache tests need these defines. 223 # Precache tests need these defines.
223 #configs += [ "//components/precache/core:precache_config" ] 224 #configs += [ "//components/precache/core:precache_config" ]
224 } 225 }
225 226
226 } 227 }
OLDNEW
« no previous file with comments | « build/secondary/testing/gtest/BUILD.gn ('k') | components/auto_login_parser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698