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

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

Issue 2314053002: Fix ios_framework_bundle target when using intermediate source sets. (Closed)
Patch Set: Created 4 years, 3 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 71cd75063c582653042e28bef4142d635c25a32c..1438073863a93f2c02e8f5a695489166035fc582 100644
--- a/build/config/ios/rules.gni
+++ b/build/config/ios/rules.gni
@@ -881,6 +881,7 @@ template("ios_framework_bundle") {
_framework_headers_target = _target_name + "_framework_headers"
_framework_headers_config = _target_name + "_framework_headers_config"
_headers_map_config = _target_name + "_headers_map"
+ _install_name_config = _target_name + "_install_name"
}
_arch_shared_library_source = _target_name + "_arch_shared_library_sources"
@@ -962,6 +963,7 @@ template("ios_framework_bundle") {
deps += [ ":$_framework_headers_target($default_toolchain)" ]
}
}
+ configs += [ ":$_install_name_config($default_toolchain)" ]
output_extension = ""
output_name = _output_name
@@ -1056,6 +1058,10 @@ template("ios_framework_bundle") {
config(_headers_map_config) {
visibility = [ ":$_target_name" ]
include_dirs = [ _header_map_filename ]
+ }
+
+ config(_install_name_config) {
+ visibility = [ ":$_target_name" ]
ldflags = [
"-install_name",
"@rpath/$_output_name.framework/$_output_name",
« 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