Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index 1fcd7189ae63bc7ec7f818af5a13d31953f6e35e..30380c8edee297e13c594e17acaea7874b96b1ff 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -1620,6 +1620,16 @@ if (is_win) { |
} |
} |
+bundle_data("base_unittests_bundle_data") { |
+ sources = [ |
+ "test/data", |
+ ] |
+ outputs = [ |
+ "{{bundle_resources_dir}}/" + |
+ "{{source_root_relative_dir}}/{{source_file_part}}", |
+ ] |
+} |
+ |
test("base_unittests") { |
sources = [ |
"allocator/tcmalloc_unittest.cc", |
@@ -1882,6 +1892,10 @@ test("base_unittests") { |
"//third_party/icu", |
] |
+ public_deps = [ |
+ ":base_unittests_bundle_data", |
+ ] |
+ |
# Some unittests depend on the ALLOCATOR_SHIM macro. |
configs += [ "//base/allocator:allocator_shim_define" ] |