| Index: third_party/mojo/src/mojo/edk/test/BUILD.gn
|
| diff --git a/third_party/mojo/src/mojo/edk/test/BUILD.gn b/third_party/mojo/src/mojo/edk/test/BUILD.gn
|
| index 05e5904fe97167659fbba2f902e564dadfa0089a..2232a5e49f323f4f3097a9834e09a1877add6959 100644
|
| --- a/third_party/mojo/src/mojo/edk/test/BUILD.gn
|
| +++ b/third_party/mojo/src/mojo/edk/test/BUILD.gn
|
| @@ -96,6 +96,12 @@ test("mojo_public_bindings_unittests") {
|
| ":run_all_unittests",
|
| "//mojo/public/cpp/bindings/tests",
|
| ]
|
| +
|
| + 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_public_bindings_perftests") {
|
| @@ -103,6 +109,12 @@ test("mojo_public_bindings_perftests") {
|
| ":run_all_perftests",
|
| "//mojo/public/cpp/bindings/tests:perftests",
|
| ]
|
| +
|
| + 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_public_environment_unittests") {
|
| @@ -110,6 +122,12 @@ test("mojo_public_environment_unittests") {
|
| ":run_all_unittests",
|
| "//mojo/public/cpp/environment/tests",
|
| ]
|
| +
|
| + 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_public_system_perftests") {
|
| @@ -117,6 +135,12 @@ test("mojo_public_system_perftests") {
|
| ":run_all_perftests",
|
| "//mojo/public/c/system/tests:perftests",
|
| ]
|
| +
|
| + 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_public_system_unittests") {
|
| @@ -124,6 +148,12 @@ test("mojo_public_system_unittests") {
|
| ":run_all_unittests",
|
| "//mojo/public/cpp/system/tests",
|
| ]
|
| +
|
| + 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_public_utility_unittests") {
|
| @@ -131,4 +161,10 @@ test("mojo_public_utility_unittests") {
|
| ":run_all_unittests",
|
| "//mojo/public/cpp/utility/tests",
|
| ]
|
| +
|
| + 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" ]
|
| + }
|
| }
|
|
|