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

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

Issue 1903443002: [GN/iOS] Explicitly list test data in //components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-fix-jingle
Patch Set: Address comments and disable non-fonctional test Created 4 years, 8 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/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 browser_sources = [ 5 browser_sources = [
6 "data_reduction_proxy_bypass_protocol.cc", 6 "data_reduction_proxy_bypass_protocol.cc",
7 "data_reduction_proxy_bypass_protocol.h", 7 "data_reduction_proxy_bypass_protocol.h",
8 "data_reduction_proxy_bypass_stats.cc", 8 "data_reduction_proxy_bypass_stats.cc",
9 "data_reduction_proxy_bypass_stats.h", 9 "data_reduction_proxy_bypass_stats.h",
10 "data_reduction_proxy_compression_stats.cc", 10 "data_reduction_proxy_compression_stats.cc",
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "//components/data_reduction_proxy/core/common", 115 "//components/data_reduction_proxy/core/common",
116 "//components/data_reduction_proxy/core/common:test_support", 116 "//components/data_reduction_proxy/core/common:test_support",
117 "//components/prefs:test_support", 117 "//components/prefs:test_support",
118 "//net", 118 "//net",
119 "//net:test_support", 119 "//net:test_support",
120 "//testing/gmock", 120 "//testing/gmock",
121 "//testing/gtest", 121 "//testing/gtest",
122 ] 122 ]
123 } 123 }
124 124
125 bundle_data("unit_tests_bundle_data") {
126 visibility = [ ":unit_tests" ]
127 testonly = true
128 sources = [
129 "//components/test/data/data_reduction_proxy/direct/block10.html",
130 "//components/test/data/data_reduction_proxy/direct/block10.html.mock-http-h eaders",
131 "//components/test/data/data_reduction_proxy/direct/noblock.html",
132 "//components/test/data/data_reduction_proxy/direct/noblock.html.mock-http-h eaders",
133 "//components/test/data/data_reduction_proxy/proxy/block10.html",
134 "//components/test/data/data_reduction_proxy/proxy/block10.html.mock-http-he aders",
135 "//components/test/data/data_reduction_proxy/proxy/noblock.html",
136 "//components/test/data/data_reduction_proxy/proxy/noblock.html.mock-http-he aders",
137 ]
138 outputs = [
139 "{{bundle_resources_dir}}/" +
140 "{{source_root_relative_dir}}/{{source_file_part}}",
141 ]
142 }
143
125 source_set("unit_tests") { 144 source_set("unit_tests") {
126 testonly = true 145 testonly = true
127 sources = [ 146 sources = [
128 "data_reduction_proxy_bypass_protocol_unittest.cc", 147 "data_reduction_proxy_bypass_protocol_unittest.cc",
129 "data_reduction_proxy_bypass_stats_unittest.cc", 148 "data_reduction_proxy_bypass_stats_unittest.cc",
130 "data_reduction_proxy_compression_stats_unittest.cc", 149 "data_reduction_proxy_compression_stats_unittest.cc",
131 "data_reduction_proxy_config_service_client_unittest.cc", 150 "data_reduction_proxy_config_service_client_unittest.cc",
132 "data_reduction_proxy_config_unittest.cc", 151 "data_reduction_proxy_config_unittest.cc",
133 "data_reduction_proxy_configurator_unittest.cc", 152 "data_reduction_proxy_configurator_unittest.cc",
134 "data_reduction_proxy_delegate_unittest.cc", 153 "data_reduction_proxy_delegate_unittest.cc",
135 "data_reduction_proxy_interceptor_unittest.cc", 154 "data_reduction_proxy_interceptor_unittest.cc",
136 "data_reduction_proxy_io_data_unittest.cc", 155 "data_reduction_proxy_io_data_unittest.cc",
137 "data_reduction_proxy_metrics_unittest.cc", 156 "data_reduction_proxy_metrics_unittest.cc",
138 "data_reduction_proxy_mutable_config_values_unittest.cc", 157 "data_reduction_proxy_mutable_config_values_unittest.cc",
139 "data_reduction_proxy_network_delegate_unittest.cc", 158 "data_reduction_proxy_network_delegate_unittest.cc",
140 "data_reduction_proxy_prefs_unittest.cc", 159 "data_reduction_proxy_prefs_unittest.cc",
141 "data_reduction_proxy_request_options_unittest.cc", 160 "data_reduction_proxy_request_options_unittest.cc",
142 "data_reduction_proxy_settings_unittest.cc", 161 "data_reduction_proxy_settings_unittest.cc",
143 "data_reduction_proxy_tamper_detection_unittest.cc", 162 "data_reduction_proxy_tamper_detection_unittest.cc",
144 "data_usage_store_unittest.cc", 163 "data_usage_store_unittest.cc",
145 ] 164 ]
146 165
147 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 166 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
148 167
149 deps = [ 168 deps = [
150 ":browser", 169 ":browser",
151 ":test_support", 170 ":test_support",
171 ":unit_tests_bundle_data",
152 "//base", 172 "//base",
153 "//base/test:test_support", 173 "//base/test:test_support",
154 "//components/data_reduction_proxy/core/common:test_support", 174 "//components/data_reduction_proxy/core/common:test_support",
155 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", 175 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto",
156 "//components/prefs:test_support", 176 "//components/prefs:test_support",
157 "//components/variations", 177 "//components/variations",
158 "//net:test_support", 178 "//net:test_support",
159 "//testing/gmock", 179 "//testing/gmock",
160 "//testing/gtest", 180 "//testing/gtest",
161 ] 181 ]
162 } 182 }
OLDNEW
« no previous file with comments | « components/bookmarks/browser/BUILD.gn ('k') | components/dom_distiller/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698