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

Side by Side Diff: components/bookmarks/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/autofill/core/common/BUILD.gn ('k') | components/bookmarks/test/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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 source_set("browser") { 7 source_set("browser") {
8 sources = [ 8 sources = [
9 "base_bookmark_model_observer.cc", 9 "base_bookmark_model_observer.cc",
10 "base_bookmark_model_observer.h", 10 "base_bookmark_model_observer.h",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ] 54 ]
55 55
56 if (toolkit_views) { 56 if (toolkit_views) {
57 sources += [ 57 sources += [
58 "bookmark_node_data_views.cc", 58 "bookmark_node_data_views.cc",
59 ] 59 ]
60 } 60 }
61 } 61 }
62 62
63 source_set("unit_tests") { 63 source_set("unit_tests") {
64 testonly = true
64 sources = [ 65 sources = [
65 "bookmark_codec_unittest.cc", 66 "bookmark_codec_unittest.cc",
66 "bookmark_expanded_state_tracker_unittest.cc", 67 "bookmark_expanded_state_tracker_unittest.cc",
67 "bookmark_index_unittest.cc", 68 "bookmark_index_unittest.cc",
68 "bookmark_model_unittest.cc", 69 "bookmark_model_unittest.cc",
69 "bookmark_utils_unittest.cc", 70 "bookmark_utils_unittest.cc",
70 ] 71 ]
71 72
72 deps = [ 73 deps = [
73 ":browser", 74 ":browser",
74 "//testing/gtest", 75 "//testing/gtest",
75 ] 76 ]
76 } 77 }
OLDNEW
« no previous file with comments | « components/autofill/core/common/BUILD.gn ('k') | components/bookmarks/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698