| Index: mojo/common/BUILD.gn
|
| diff --git a/mojo/common/BUILD.gn b/mojo/common/BUILD.gn
|
| index 7ef74fd5e6b71e4c3a2c7e62fbb0173b205f9241..961c012d07ab02df22c5d7df5b4406d20d3b34a1 100644
|
| --- a/mojo/common/BUILD.gn
|
| +++ b/mojo/common/BUILD.gn
|
| @@ -97,6 +97,12 @@
|
| "common_custom_types_unittest.cc",
|
| "common_type_converters_unittest.cc",
|
| ]
|
| +
|
| + if (is_linux && !is_component_build) {
|
| + # This tests dynamically loads libmojo_test_support even in non-component
|
| + # builds.
|
| + configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| + }
|
| }
|
|
|
| test("mojo_common_perftests") {
|
| @@ -107,4 +113,10 @@
|
| "//mojo/public/cpp/test_support:test_utils",
|
| "//testing/gtest",
|
| ]
|
| +
|
| + if (is_linux && !is_component_build) {
|
| + # This test dynamically loads libmojo_test_support even in non-component
|
| + # builds.
|
| + configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| + }
|
| }
|
|
|