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

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: 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
Index: build/config/ios/rules.gni
diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni
index 4b0592f39db0d889af9e30a180cefcbba20b9992..380cf8e83e9807d5e20a318370375267dd31d304 100644
--- a/build/config/ios/rules.gni
+++ b/build/config/ios/rules.gni
@@ -152,10 +152,12 @@ 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 != "", "force use of product_type")
sdefresne 2016/04/27 17:41:53 I'll either remove this in a later CL or split my
}
# TODO(crbug.com/297668):

Powered by Google App Engine
This is Rietveld 408576698