| Index: base/BUILD.gn
|
| diff --git a/base/BUILD.gn b/base/BUILD.gn
|
| index 41606273d0a690f573e6141ab8dd93a62bc3c754..675846f1ebe8710311e80f7d78c52372053a2a28 100644
|
| --- a/base/BUILD.gn
|
| +++ b/base/BUILD.gn
|
| @@ -1565,11 +1565,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) {
|
|
|