| Index: mojo/edk/test/BUILD.gn
|
| diff --git a/mojo/edk/test/BUILD.gn b/mojo/edk/test/BUILD.gn
|
| index ed92c92cd88e42df73113f49ecc9e0ad25e3d84c..e84b32ec73c12a94fd92fafafab86efe234368ad 100644
|
| --- a/mojo/edk/test/BUILD.gn
|
| +++ b/mojo/edk/test/BUILD.gn
|
| @@ -42,6 +42,10 @@ source_set("run_all_unittests") {
|
| "//mojo/public/c/test_support",
|
| "//testing/gtest",
|
| ]
|
| +
|
| + if (is_linux && !is_component_build) {
|
| + public_configs = [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| + }
|
| }
|
|
|
| source_set("run_all_perftests") {
|
| @@ -58,6 +62,10 @@ source_set("run_all_perftests") {
|
| sources = [
|
| "run_all_perftests.cc",
|
| ]
|
| +
|
| + if (is_linux && !is_component_build) {
|
| + public_configs = [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| + }
|
| }
|
|
|
| source_set("test_support_impl") {
|
| @@ -97,10 +105,6 @@ test("mojo_public_bindings_unittests") {
|
| "//mojo/edk/test:test_support",
|
| "//mojo/public/cpp/bindings/tests",
|
| ]
|
| -
|
| - if (is_linux && !is_component_build) {
|
| - configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| - }
|
| }
|
|
|
| test("mojo_public_environment_unittests") {
|
| @@ -108,10 +112,6 @@ test("mojo_public_environment_unittests") {
|
| ":run_all_unittests",
|
| "//mojo/public/cpp/environment/tests",
|
| ]
|
| -
|
| - if (is_linux && !is_component_build) {
|
| - configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| - }
|
| }
|
|
|
| test("mojo_public_system_perftests") {
|
| @@ -119,10 +119,6 @@ test("mojo_public_system_perftests") {
|
| ":run_all_perftests",
|
| "//mojo/public/c/system/tests:perftests",
|
| ]
|
| -
|
| - if (is_linux && !is_component_build) {
|
| - configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| - }
|
| }
|
|
|
| test("mojo_public_system_unittests") {
|
| @@ -130,10 +126,6 @@ test("mojo_public_system_unittests") {
|
| ":run_all_unittests",
|
| "//mojo/public/cpp/system/tests",
|
| ]
|
| -
|
| - if (is_linux && !is_component_build) {
|
| - configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| - }
|
| }
|
|
|
| test("mojo_public_utility_unittests") {
|
| @@ -141,8 +133,4 @@ test("mojo_public_utility_unittests") {
|
| ":run_all_unittests",
|
| "//mojo/public/cpp/utility/tests",
|
| ]
|
| -
|
| - if (is_linux && !is_component_build) {
|
| - configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
|
| - }
|
| }
|
|
|