| Index: build/config/ios/rules.gni
|
| diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni
|
| index 9aa244db834e3c715e07e50694258f9f5ac80fc9..6f7e696b9a9580bfe775ea8371a4bcca91d52d5c 100644
|
| --- a/build/config/ios/rules.gni
|
| +++ b/build/config/ios/rules.gni
|
| @@ -794,6 +794,33 @@ template("ios_framework_bundle") {
|
| }
|
| }
|
|
|
| + if (!_is_fat_build || _is_fat_build_main_target) {
|
| + _info_plist_target = _target_name + "_info_plist"
|
| + _info_plist_bundle = _target_name + "_info_plist_bundle"
|
| + ios_info_plist(_info_plist_target) {
|
| + visibility = [ ":$_info_plist_bundle" ]
|
| + executable_name = _output_name
|
| + forward_variables_from(invoker,
|
| + [
|
| + "extra_substitutions",
|
| + "info_plist",
|
| + "info_plist_target",
|
| + ])
|
| + }
|
| +
|
| + bundle_data(_info_plist_bundle) {
|
| + visibility = [ ":$_framework_target" ]
|
| + forward_variables_from(invoker, [ "testonly" ])
|
| + sources = get_target_outputs(":$_info_plist_target")
|
| + outputs = [
|
| + "{{bundle_root_dir}}/Info.plist",
|
| + ]
|
| + public_deps = [
|
| + ":$_info_plist_target",
|
| + ]
|
| + }
|
| + }
|
| +
|
| framework_bundle(_framework_target) {
|
| forward_variables_from(invoker,
|
| "*",
|
| @@ -804,6 +831,13 @@ template("ios_framework_bundle") {
|
| ])
|
| output_name = _output_name
|
|
|
| + if (!_is_fat_build || _is_fat_build_main_target) {
|
| + if (!defined(bundle_deps)) {
|
| + bundle_deps = []
|
| + }
|
| + bundle_deps += [ ":$_info_plist_bundle" ]
|
| + }
|
| +
|
| if (_has_public_headers) {
|
| if (!defined(public_configs)) {
|
| public_configs = []
|
|
|