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

Side by Side Diff: components/data_reduction_proxy/common/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/crx_file/BUILD.gn ('k') | components/dom_distiller/core/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("common") { 5 static_library("common") {
6 sources = [ 6 sources = [
7 "data_reduction_proxy_headers.cc", 7 "data_reduction_proxy_headers.cc",
8 "data_reduction_proxy_headers.h", 8 "data_reduction_proxy_headers.h",
9 "data_reduction_proxy_pref_names.cc", 9 "data_reduction_proxy_pref_names.cc",
10 "data_reduction_proxy_pref_names.h", 10 "data_reduction_proxy_pref_names.h",
11 "data_reduction_proxy_switches.cc", 11 "data_reduction_proxy_switches.cc",
12 "data_reduction_proxy_switches.h", 12 "data_reduction_proxy_switches.h",
13 ] 13 ]
14 14
15 deps = [ 15 deps = [
16 "//base", 16 "//base",
17 ] 17 ]
18 } 18 }
19 19
20 source_set("unit_tests") { 20 source_set("unit_tests") {
21 testonly = true
21 sources = [ 22 sources = [
22 "data_reduction_proxy_headers_unittest.cc", 23 "data_reduction_proxy_headers_unittest.cc",
23 ] 24 ]
24 25
25 deps = [ 26 deps = [
26 ":common", 27 ":common",
27 "//testing/gtest", 28 "//testing/gtest",
28 ] 29 ]
29 } 30 }
OLDNEW
« no previous file with comments | « components/crx_file/BUILD.gn ('k') | components/dom_distiller/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698