| Index: base/BUILD.gn
|
| diff --git a/base/BUILD.gn b/base/BUILD.gn
|
| index 9e4270d26009f853e37dc7af883bed4cb43705c8..104e57cad55768f4434715e40f2bd6a0148308f6 100644
|
| --- a/base/BUILD.gn
|
| +++ b/base/BUILD.gn
|
| @@ -1562,11 +1562,17 @@ test("base_unittests") {
|
| if (is_linux) {
|
| sources -= [ "file_version_info_unittest.cc" ]
|
| sources += [ "nix/xdg_util_unittest.cc" ]
|
| +
|
| deps += [ "//base/test:malloc_wrapper" ]
|
|
|
| if (use_glib) {
|
| configs += [ "//build/config/linux:glib" ]
|
| }
|
| +
|
| + if (!is_component_build) {
|
| + # Set rpath to find libmalloc_wrapper.so even in a non-component build.
|
| + configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| + }
|
| }
|
|
|
| if (!is_linux || use_ozone) {
|
|
|