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

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

Issue 756233002: Add more components unittests to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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 13 matching lines...) Expand all
24 "data_reduction_proxy_statistics_prefs.cc", 24 "data_reduction_proxy_statistics_prefs.cc",
25 "data_reduction_proxy_statistics_prefs.h", 25 "data_reduction_proxy_statistics_prefs.h",
26 "data_reduction_proxy_tamper_detection.cc", 26 "data_reduction_proxy_tamper_detection.cc",
27 "data_reduction_proxy_tamper_detection.h", 27 "data_reduction_proxy_tamper_detection.h",
28 "data_reduction_proxy_usage_stats.cc", 28 "data_reduction_proxy_usage_stats.cc",
29 "data_reduction_proxy_usage_stats.h", 29 "data_reduction_proxy_usage_stats.h",
30 ] 30 ]
31 31
32 deps = [ 32 deps = [
33 "//base", 33 "//base",
34 "//base:prefs",
34 "//components/data_reduction_proxy/core/common", 35 "//components/data_reduction_proxy/core/common",
35 "//components/pref_registry", 36 "//components/pref_registry",
36 "//crypto", 37 "//crypto",
37 "//net", 38 "//net",
39 "//url",
38 ] 40 ]
39 if (!is_android && !is_ios) { 41 if (!is_android && !is_ios) {
40 deps += [ 42 deps += [
41 "//google_apis", 43 "//google_apis",
42 ] 44 ]
43 } 45 }
44 } 46 }
45 47
46 static_library("test_support") { 48 source_set("test_support") {
47 testonly = true 49 testonly = true
48 sources = [ 50 sources = [
49 "data_reduction_proxy_settings_test_utils.cc", 51 "data_reduction_proxy_settings_test_utils.cc",
50 "data_reduction_proxy_settings_test_utils.h", 52 "data_reduction_proxy_settings_test_utils.h",
51 ] 53 ]
52 54
55 public_deps = [
56 ":browser",
57 ]
53 deps = [ 58 deps = [
54 ":browser",
55 "//base", 59 "//base",
60 "//base:prefs_test_support",
56 "//components/data_reduction_proxy/core/common", 61 "//components/data_reduction_proxy/core/common",
57 "//components/data_reduction_proxy/core/common:test_support", 62 "//components/data_reduction_proxy/core/common:test_support",
58 "//net", 63 "//net",
59 "//net:test_support", 64 "//net:test_support",
60 "//testing/gmock", 65 "//testing/gmock",
61 "//testing/gtest", 66 "//testing/gtest",
62 ] 67 ]
63 } 68 }
64 69
65 source_set("unit_tests") { 70 source_set("unit_tests") {
66 testonly = true 71 testonly = true
67 sources = [ 72 sources = [
68 "data_reduction_proxy_auth_request_handler_unittest.cc", 73 "data_reduction_proxy_auth_request_handler_unittest.cc",
69 "data_reduction_proxy_config_service_unittest.cc", 74 "data_reduction_proxy_config_service_unittest.cc",
70 "data_reduction_proxy_interceptor_unittest.cc", 75 "data_reduction_proxy_interceptor_unittest.cc",
71 "data_reduction_proxy_metrics_unittest.cc", 76 "data_reduction_proxy_metrics_unittest.cc",
72 "data_reduction_proxy_prefs_unittest.cc", 77 "data_reduction_proxy_prefs_unittest.cc",
73 "data_reduction_proxy_protocol_unittest.cc", 78 "data_reduction_proxy_protocol_unittest.cc",
74 "data_reduction_proxy_settings_unittest.cc", 79 "data_reduction_proxy_settings_unittest.cc",
75 "data_reduction_proxy_usage_stats_unittest.cc", 80 "data_reduction_proxy_usage_stats_unittest.cc",
76 ] 81 ]
77 82
78 deps = [ 83 deps = [
79 ":browser", 84 ":browser",
80 ":test_support", 85 ":test_support",
86 "//base",
87 "//base:prefs_test_support",
88 "//base/test:test_support",
89 "//components/data_reduction_proxy/core/common:test_support",
90 "//net:test_support",
81 "//testing/gmock", 91 "//testing/gmock",
82 "//testing/gtest", 92 "//testing/gtest",
83 ] 93 ]
84 } 94 }
OLDNEW
« no previous file with comments | « components/data_reduction_proxy.gypi ('k') | components/data_reduction_proxy/core/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698