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

Unified Diff: ios/build/chrome_build.gni

Issue 2555233002: [iOS] Upstreaming of Info.plist and entitlements generation. (Closed)
Patch Set: Created 4 years 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 | ios/chrome/app/BUILD.gn » ('j') | ios/chrome/app/resources/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/build/chrome_build.gni
diff --git a/ios/build/chrome_build.gni b/ios/build/chrome_build.gni
new file mode 100644
index 0000000000000000000000000000000000000000..a5a1394822c8dfaa8b7c65f6034326cde8fe6ff0
--- /dev/null
+++ b/ios/build/chrome_build.gni
@@ -0,0 +1,57 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/chrome_build.gni")
+import("//build/config/ios/ios_sdk.gni")
+import("//build/config/mac/symbols.gni")
+
+declare_args() {
+ # Enable today extension.
+ ios_enable_today_extension = true
+
+ # Enable share extension.
+ ios_enable_share_extension = true
+
+ # Value of the encryption export compliance code. See "Cryptography and
+ # U.S. Export Compliance" in "Submitting the App to App Review" in the
+ # Apple developer documentation (https://goo.gl/yv1xEF).
+ ios_encryption_export_compliance_code = ""
+
+ # List of plist templates to merge when generating chrome Info.plist.
+ ios_chrome_info_plist_additions = []
+
+ # List of plist templates to merge when generating chrome entitlements.
+ ios_chrome_entitlements_additions = []
+}
+
+# Configure whether breakpad support is enabled.
+breakpad_enabled = is_official_build && is_chrome_branded
+
+if (breakpad_enabled) {
+ breakpad_enabled_as_int = 1
+ is_official_release = enable_dsyms && !use_ios_simulator &&
+ current_toolchain == default_toolchain
+} else {
+ breakpad_enabled_as_int = 0
+ is_official_release = false
+}
+
+chromium_bundle_id = "chrome.ios.herebedragons"
rohitrao (ping after 24h) 2016/12/07 21:56:04 This results in a bundleid of org.chromium.chrome.
sdefresne 2016/12/08 08:51:30 I don't really know how we can drop "chrome" from
+chromium_handoff_id = "$ios_app_bundle_id_prefix.chrome.handoff"
+
+if (is_chrome_branded) {
+ chromium_short_name = "Chrome"
+ url_channel_scheme = "googlechrome-dev"
+ url_secure_scheme = "googlechromes"
+ url_ssoauth_scheme = "$ios_app_bundle_id_prefix.sso.chrome.stable"
+ url_unsecure_scheme = "googlechrome"
+ url_x_callback_scheme = "googlechrome-x-callback"
+} else {
+ chromium_short_name = "Chromium"
+ url_channel_scheme = "chromium-dev"
+ url_secure_scheme = "chromiums"
+ url_ssoauth_scheme = "$ios_app_bundle_id_prefix.sso.chromium"
+ url_unsecure_scheme = "chromium"
+ url_x_callback_scheme = "chromium-x-callback"
+}
« no previous file with comments | « no previous file | ios/chrome/app/BUILD.gn » ('j') | ios/chrome/app/resources/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698