Chromium Code Reviews| Index: build/config/mac/rules.gni |
| diff --git a/build/config/mac/rules.gni b/build/config/mac/rules.gni |
| index 2bcfbd68361c450ebb27c24881d0510df66d1cb9..8cad8424cf76be2301d5151fcdeb03652250b296 100644 |
| --- a/build/config/mac/rules.gni |
| +++ b/build/config/mac/rules.gni |
| @@ -55,15 +55,17 @@ template("framework_bundle") { |
| "visibility", |
| ]) |
| output_name = _output_name |
| - output_prefix_override = true |
| - output_extension = "" |
| + ldflags = [ |
| + "-install_name", |
| + "@rpath/$_framework_name/$_output_name", |
|
Robert Sesek
2016/04/13 15:30:58
This isn't going to be correct in all cases, and d
sdefresne
2016/04/13 16:28:43
OK. This appears to be required for iOS (at least
|
| + ] |
| } |
| bundle_data(_shared_library_bundle_data) { |
| visibility = [ ":$_framework_target" ] |
| forward_variables_from(invoker, [ "testonly" ]) |
| sources = [ |
| - "$root_out_dir/${_output_name}", |
| + "$root_out_dir/$shlib_prefix$_output_name$shlib_extension", |
| ] |
| outputs = [ |
| "{{bundle_executable_dir}}/$_output_name", |