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

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

Issue 2778813002: [ios] Add framework_dir flag to all_dependent_configs (-F). (Closed)
Patch Set: Rebase on origin/master. Created 3 years, 9 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 | no next file » | 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 489e06f94812995fa0497de828611be201519e2f..11bcd5cda930c3246ceae40420ac52379d816e0d 100644
--- a/build/config/ios/rules.gni
+++ b/build/config/ios/rules.gni
@@ -1146,13 +1146,16 @@ template("ios_framework_bundle") {
":$_link_target_name($default_toolchain)",
]
- if (!defined(public_configs)) {
- public_configs = []
- }
- public_configs += [ ":$_framework_public_config" ]
if (_has_public_headers) {
+ if (!defined(public_configs)) {
+ public_configs = []
+ }
public_configs += [ ":$_framework_headers_config" ]
}
+ if (!defined(all_dependent_configs)) {
+ all_dependent_configs = []
+ }
+ all_dependent_configs += [ ":$_framework_public_config" ]
}
if (defined(invoker.bundle_deps)) {
@@ -1297,13 +1300,16 @@ template("ios_framework_bundle") {
}
public_deps += [ ":$_target_name" ]
- if (!defined(public_configs)) {
- public_configs = []
- }
- public_configs += [ ":$_framework_public_config" ]
if (_has_public_headers) {
+ if (!defined(public_configs)) {
+ public_configs = []
+ }
public_configs += [ ":$_framework_headers_config" ]
}
+ if (!defined(all_dependent_configs)) {
+ all_dependent_configs = []
+ }
+ all_dependent_configs += [ ":$_framework_public_config" ]
}
bundle_data(_target_name + "+bundle") {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698