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

Unified Diff: build/config/ios/rules.gni

Issue 1882423002: [iOS/OSX/GN] Add -install_name to the shared_library ldflags on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-earlgrey
Patch Set: Move install_name to ios_framework_bundle template Created 4 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ios/rules.gni
diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni
index 75c7e75ae653d3c8df8d2e7c8271936bb1db849c..a221aeb0e4197ec999f1c229e74d855c03dc300a 100644
--- a/build/config/ios/rules.gni
+++ b/build/config/ios/rules.gni
@@ -326,6 +326,10 @@ template("ios_framework_bundle") {
config(_headers_map_config) {
visibility = [ ":$_target_name" ]
include_dirs = [ _header_map_filename ]
+ ldflags = [
+ "-install_name",
+ "@rpath/$_framework_name/$_output_name",
+ ]
}
_framework_public_config = _target_name + "_public_config"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698