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

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

Issue 1314413006: make sure cflags is forwarded in the ios_app executable template (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove __sources target from test() template, forward more vars Created 5 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 | testing/test.gni » ('j') | 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 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 {
« no previous file with comments | « no previous file | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698