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

Side by Side Diff: components/data_reduction_proxy/browser/BUILD.gn

Issue 547793002: Add lots of testonly annotations to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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 | « cc/BUILD.gn ('k') | components/proximity_auth/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("browser") { 5 static_library("browser") {
6 sources = [ 6 sources = [
7 "data_reduction_proxy_auth_request_handler.cc", 7 "data_reduction_proxy_auth_request_handler.cc",
8 "data_reduction_proxy_auth_request_handler.h", 8 "data_reduction_proxy_auth_request_handler.h",
9 "data_reduction_proxy_config_service.cc", 9 "data_reduction_proxy_config_service.cc",
10 "data_reduction_proxy_config_service.h", 10 "data_reduction_proxy_config_service.h",
(...skipping 17 matching lines...) Expand all
28 deps = [ 28 deps = [
29 "//base", 29 "//base",
30 "//components/data_reduction_proxy/common", 30 "//components/data_reduction_proxy/common",
31 "//components/pref_registry", 31 "//components/pref_registry",
32 "//crypto", 32 "//crypto",
33 "//net", 33 "//net",
34 ] 34 ]
35 } 35 }
36 36
37 static_library("test_support") { 37 static_library("test_support") {
38 testonly = true
38 sources = [ 39 sources = [
39 "data_reduction_proxy_params_test_utils.cc", 40 "data_reduction_proxy_params_test_utils.cc",
40 "data_reduction_proxy_params_test_utils.h", 41 "data_reduction_proxy_params_test_utils.h",
41 "data_reduction_proxy_settings_test_utils.cc", 42 "data_reduction_proxy_settings_test_utils.cc",
42 "data_reduction_proxy_settings_test_utils.h", 43 "data_reduction_proxy_settings_test_utils.h",
43 ] 44 ]
44 45
45 deps = [ 46 deps = [
46 ":browser", 47 ":browser",
47 "//base", 48 "//base",
48 "//components/data_reduction_proxy/common", 49 "//components/data_reduction_proxy/common",
49 "//net", 50 "//net",
50 "//net:test_support", 51 "//net:test_support",
51 "//testing/gmock", 52 "//testing/gmock",
52 "//testing/gtest", 53 "//testing/gtest",
53 ] 54 ]
54 } 55 }
55 56
56 source_set("unit_tests") { 57 source_set("unit_tests") {
58 testonly = true
57 sources = [ 59 sources = [
58 "data_reduction_proxy_auth_request_handler_unittest.cc", 60 "data_reduction_proxy_auth_request_handler_unittest.cc",
59 "data_reduction_proxy_config_service_unittest.cc", 61 "data_reduction_proxy_config_service_unittest.cc",
60 "data_reduction_proxy_metrics_unittest.cc", 62 "data_reduction_proxy_metrics_unittest.cc",
61 "data_reduction_proxy_params_unittest.cc", 63 "data_reduction_proxy_params_unittest.cc",
62 "data_reduction_proxy_protocol_unittest.cc", 64 "data_reduction_proxy_protocol_unittest.cc",
63 "data_reduction_proxy_settings_unittest.cc", 65 "data_reduction_proxy_settings_unittest.cc",
64 "data_reduction_proxy_usage_stats_unittest.cc", 66 "data_reduction_proxy_usage_stats_unittest.cc",
65 ] 67 ]
66 68
67 deps = [ 69 deps = [
68 ":browser", 70 ":browser",
69 ":test_support", 71 ":test_support",
70 "//testing/gmock", 72 "//testing/gmock",
71 "//testing/gtest", 73 "//testing/gtest",
72 ] 74 ]
73 } 75 }
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | components/proximity_auth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698