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

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

Issue 1827103005: [GN] Add support for generating Xcode projects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve comment about "assert(product_type != "")" Created 4 years, 8 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 | « build/config/compiler/BUILD.gn ('k') | tools/gn/BUILD.gn » ('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 8ef083cb0d61f1e48d77ab6869e74074f659462e..ebcd7748448cbedd36afe83d7124f70de3297ce2 100644
--- a/build/config/ios/rules.gni
+++ b/build/config/ios/rules.gni
@@ -167,10 +167,14 @@ template("ios_app_bundle") {
data_deps += [ "//testing/iossim" ]
}
+ product_type = "com.apple.product-type.application"
bundle_root_dir = "$root_out_dir/$_output_name.app"
bundle_resources_dir = bundle_root_dir
bundle_executable_dir = bundle_root_dir
bundle_plugins_dir = "$bundle_root_dir/Plugins"
+ assert(
+ product_type != "",
+ "workaround to allow generation with version of gn that don't support product_type property for create_bundle target => remove once gn has rolled this change")
}
# TODO(crbug.com/297668):
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/gn/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698