Index: build/config/ios/rules.gni |
diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni |
index 37563746865d1d67539fedb5f79b493dafdcffb4..994e7760de3adb90969de06817f949c437c2f41b 100644 |
--- a/build/config/ios/rules.gni |
+++ b/build/config/ios/rules.gni |
@@ -93,6 +93,29 @@ template("ios_app") { |
output_name = "${_app_name}.app/${_app_name}" |
+ forward_variables_from(invoker, |
+ [ |
+ "all_dependent_configs", |
+ "allow_circular_includes_from", |
+ "cflags", |
+ "cflags_c", |
+ "cflags_cc", |
+ "cflags_objc", |
+ "cflags_objcc", |
+ "configs", |
+ "check_includes", |
+ "data", |
+ "data_deps", |
+ "defines", |
+ "forward_dependent_configs_from", |
+ "include_dirs", |
+ "ldflags", |
+ "public", |
+ "public_configs", |
+ "public_deps", |
+ "sources", |
+ ]) |
+ |
if (defined(invoker.libs)) { |
libs = invoker.libs |
} else { |