Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(959)

Unified Diff: mojo/common/BUILD.gn

Issue 1960703004: Revert of mojo: make libmojo_public_test_support a static library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/mojo.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
+ }
}
« no previous file with comments | « no previous file | mojo/mojo.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698