| Index: build/config/ios/rules.gni
|
| diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni
|
| index 6f7e696b9a9580bfe775ea8371a4bcca91d52d5c..8a1e44ae99df2e56d9b23bc77a50e3fc890c481d 100644
|
| --- a/build/config/ios/rules.gni
|
| +++ b/build/config/ios/rules.gni
|
| @@ -849,6 +849,7 @@ template("ios_framework_bundle") {
|
| visibility = [
|
| ":$_target_name$_toolchain_suffix",
|
| ":$_target_name+link$_toolchain_suffix",
|
| + ":$_target_name+bundle$_toolchain_suffix",
|
| ]
|
| configs += [ ":$_headers_map_config$_toolchain_suffix" ]
|
|
|
| @@ -893,6 +894,25 @@ template("ios_framework_bundle") {
|
| ]
|
| }
|
| }
|
| +
|
| + if (!_is_fat_build || _is_fat_build_main_target) {
|
| + bundle_data(_target_name + "+bundle") {
|
| + forward_variables_from(invoker,
|
| + [
|
| + "testonly",
|
| + "visibility",
|
| + ])
|
| + public_deps = [
|
| + ":$_framework_target",
|
| + ]
|
| + sources = [
|
| + "$root_out_dir/$_output_name.framework",
|
| + ]
|
| + outputs = [
|
| + "{{bundle_resources_dir}}/Frameworks/$_output_name.framework",
|
| + ]
|
| + }
|
| + }
|
| }
|
|
|
| set_defaults("ios_framework_bundle") {
|
|
|