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

Side by Side Diff: components/omnibox/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/invalidation/BUILD.gn ('k') | components/password_manager/content/renderer/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("omnibox") { 5 static_library("omnibox") {
6 sources = [ 6 sources = [
7 "answers_cache.h", 7 "answers_cache.h",
8 "answers_cache.cc", 8 "answers_cache.cc",
9 "autocomplete_input.cc", 9 "autocomplete_input.cc",
10 "autocomplete_input.h", 10 "autocomplete_input.h",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ] 60 ]
61 61
62 deps = [ 62 deps = [
63 ":omnibox", 63 ":omnibox",
64 "//base", 64 "//base",
65 "//components/metrics/proto", 65 "//components/metrics/proto",
66 ] 66 ]
67 } 67 }
68 68
69 source_set("unit_tests") { 69 source_set("unit_tests") {
70 testonly = true
70 sources = [ 71 sources = [
71 "answers_cache_unittest.cc", 72 "answers_cache_unittest.cc",
72 "autocomplete_input_unittest.cc", 73 "autocomplete_input_unittest.cc",
73 "autocomplete_match_unittest.cc", 74 "autocomplete_match_unittest.cc",
74 "autocomplete_result_unittest.cc", 75 "autocomplete_result_unittest.cc",
75 "keyword_provider_unittest.cc", 76 "keyword_provider_unittest.cc",
76 "omnibox_field_trial_unittest.cc", 77 "omnibox_field_trial_unittest.cc",
77 ] 78 ]
78 79
79 deps = [ 80 deps = [
80 ":omnibox", 81 ":omnibox",
81 ":test_support", 82 ":test_support",
82 "//testing/gtest", 83 "//testing/gtest",
83 ] 84 ]
84 } 85 }
OLDNEW
« no previous file with comments | « components/invalidation/BUILD.gn ('k') | components/password_manager/content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698