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

Side by Side Diff: components/bookmarks/test/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/bookmarks/browser/BUILD.gn ('k') | components/captive_portal/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("test") { 7 source_set("test") {
8 testonly = true
8 sources = [ 9 sources = [
9 "bookmark_test_helpers.cc", 10 "bookmark_test_helpers.cc",
10 "bookmark_test_helpers.h", 11 "bookmark_test_helpers.h",
11 "mock_bookmark_model_observer.cc", 12 "mock_bookmark_model_observer.cc",
12 "mock_bookmark_model_observer.h", 13 "mock_bookmark_model_observer.h",
13 "test_bookmark_client.cc", 14 "test_bookmark_client.cc",
14 "test_bookmark_client.h", 15 "test_bookmark_client.h",
15 ] 16 ]
16 17
17 deps = [ 18 deps = [
18 "//base", 19 "//base",
19 "//components/bookmarks/browser", 20 "//components/bookmarks/browser",
20 "//testing/gmock", 21 "//testing/gmock",
21 "//ui/events/platform", 22 "//ui/events/platform",
22 "//url", 23 "//url",
23 ] 24 ]
24 25
25 if (use_x11) { 26 if (use_x11) {
26 deps += [ 27 deps += [
27 "//ui/events/platform/x11", 28 "//ui/events/platform/x11",
28 ] 29 ]
29 } 30 }
30 } 31 }
OLDNEW
« no previous file with comments | « components/bookmarks/browser/BUILD.gn ('k') | components/captive_portal/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698