Index: components/dom_distiller/core/BUILD.gn |
diff --git a/components/dom_distiller/core/BUILD.gn b/components/dom_distiller/core/BUILD.gn |
index 7c6dbb620a5e8e418c738938316026bc04f4ecef..8406d9b8d9ff185d5b92fc0e69dfd321fe8b0ced 100644 |
--- a/components/dom_distiller/core/BUILD.gn |
+++ b/components/dom_distiller/core/BUILD.gn |
@@ -111,6 +111,19 @@ source_set("test_support") { |
] |
} |
+bundle_data("unit_tests_bundle_data") { |
+ visibility = [ ":unit_tests" ] |
+ testonly = true |
+ sources = [ |
+ "//components/test/data/dom_distiller/core_features.json", |
+ "//components/test/data/dom_distiller/derived_features.json", |
+ ] |
+ outputs = [ |
+ "{{bundle_resources_dir}}/" + |
+ "{{source_root_relative_dir}}/{{source_file_part}}", |
+ ] |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
sources = [ |
@@ -133,6 +146,7 @@ source_set("unit_tests") { |
deps = [ |
":core", |
":test_support", |
+ ":unit_tests_bundle_data", |
"//base", |
"//components/leveldb_proto:test_support", |
"//components/pref_registry:test_support", |