Chromium Code Reviews| Index: base/BUILD.gn |
| diff --git a/base/BUILD.gn b/base/BUILD.gn |
| index cfe258bae5d2e56972efc4e78f3f57cb6e46eb18..73035ffd675ab8294ab92713e2edf4464ffcb5d3 100644 |
| --- a/base/BUILD.gn |
| +++ b/base/BUILD.gn |
| @@ -1620,6 +1620,17 @@ if (is_win) { |
| } |
| } |
| +if (is_ios) { |
| + bundle_data("base_unittests_bundle_data") { |
|
brettw
2016/03/15 18:02:29
Can bundles be set up in such a way that we don't
sdefresne
2016/03/16 09:58:49
Removed the conditional (since Mac does not curren
|
| + sources = [ |
| + "test/data", |
| + ] |
| + outputs = [ |
| + "{{bundle_resources_dir}}/{{source_root_relative_dir}}/{{source_file_part}}", |
| + ] |
| + } |
| +} |
| + |
| test("base_unittests") { |
| sources = [ |
| "allocator/tcmalloc_unittest.cc", |
| @@ -1881,6 +1892,10 @@ test("base_unittests") { |
| "//third_party/icu", |
| ] |
| + if (is_ios) { |
| + deps += [ ":base_unittests_bundle_data" ] |
| + } |
| + |
| # Some unittests depend on the ALLOCATOR_SHIM macro. |
| configs += [ "//base/allocator:allocator_shim_define" ] |