Index: components/data_reduction_proxy/core/browser/BUILD.gn |
diff --git a/components/data_reduction_proxy/core/browser/BUILD.gn b/components/data_reduction_proxy/core/browser/BUILD.gn |
index 3e9ea6b8c696ebf2b44e336e14fd1b355df4e338..6b96e08528a049c2c16c411696839b00c754c476 100644 |
--- a/components/data_reduction_proxy/core/browser/BUILD.gn |
+++ b/components/data_reduction_proxy/core/browser/BUILD.gn |
@@ -122,6 +122,25 @@ source_set("test_support") { |
] |
} |
+bundle_data("unit_tests_bundle_data") { |
+ visibility = [ ":unit_tests" ] |
+ testonly = true |
+ sources = [ |
+ "//components/test/data/data_reduction_proxy/direct/block10.html", |
+ "//components/test/data/data_reduction_proxy/direct/block10.html.mock-http-headers", |
+ "//components/test/data/data_reduction_proxy/direct/noblock.html", |
+ "//components/test/data/data_reduction_proxy/direct/noblock.html.mock-http-headers", |
+ "//components/test/data/data_reduction_proxy/proxy/block10.html", |
+ "//components/test/data/data_reduction_proxy/proxy/block10.html.mock-http-headers", |
+ "//components/test/data/data_reduction_proxy/proxy/noblock.html", |
+ "//components/test/data/data_reduction_proxy/proxy/noblock.html.mock-http-headers", |
+ ] |
+ outputs = [ |
+ "{{bundle_resources_dir}}/" + |
+ "{{source_root_relative_dir}}/{{source_file_part}}", |
+ ] |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
sources = [ |
@@ -149,6 +168,7 @@ source_set("unit_tests") { |
deps = [ |
":browser", |
":test_support", |
+ ":unit_tests_bundle_data", |
"//base", |
"//base/test:test_support", |
"//components/data_reduction_proxy/core/common:test_support", |