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

Side by Side Diff: ios/build/chrome_build.gni

Issue 2632333002: Add a prototype today extension behind gn flag (Closed)
Patch Set: rebase + owner Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | ios/chrome/app/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/ios/ios_sdk.gni") 6 import("//build/config/ios/ios_sdk.gni")
7 import("//build/config/mac/symbols.gni") 7 import("//build/config/mac/symbols.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Enable today extension. 10 # Enable today extension.
11 ios_enable_today_extension = true 11 ios_enable_today_extension = true
12 ios_enable_widget_extension = false
12 13
13 # Enable share extension. 14 # Enable share extension.
14 ios_enable_share_extension = true 15 ios_enable_share_extension = true
15 16
16 # Value of the encryption export compliance code. See "Cryptography and 17 # Value of the encryption export compliance code. See "Cryptography and
17 # U.S. Export Compliance" in "Submitting the App to App Review" in the 18 # U.S. Export Compliance" in "Submitting the App to App Review" in the
18 # Apple developer documentation (https://goo.gl/yv1xEF). 19 # Apple developer documentation (https://goo.gl/yv1xEF).
19 ios_encryption_export_compliance_code = "" 20 ios_encryption_export_compliance_code = ""
20 21
21 # List of plist templates to merge when generating chrome Info.plist. 22 # List of plist templates to merge when generating chrome Info.plist.
22 ios_chrome_info_plist_additions = [] 23 ios_chrome_info_plist_additions = []
23 24
24 # List of plist templates to merge when generating chrome entitlements. 25 # List of plist templates to merge when generating chrome entitlements.
25 ios_chrome_entitlements_additions = [] 26 ios_chrome_entitlements_additions = []
26 } 27 }
28 assert(!(ios_enable_today_extension && ios_enable_widget_extension),
29 "Both today extensions cannot be enabled simultaneously.")
27 30
28 # Configure whether breakpad support is enabled. 31 # Configure whether breakpad support is enabled.
29 breakpad_enabled = is_official_build && is_chrome_branded 32 breakpad_enabled = is_official_build && is_chrome_branded
30 33
31 if (breakpad_enabled) { 34 if (breakpad_enabled) {
32 breakpad_enabled_as_int = 1 35 breakpad_enabled_as_int = 1
33 is_official_release = enable_dsyms && !use_ios_simulator && 36 is_official_release = enable_dsyms && !use_ios_simulator &&
34 current_toolchain == default_toolchain 37 current_toolchain == default_toolchain
35 } else { 38 } else {
36 breakpad_enabled_as_int = 0 39 breakpad_enabled_as_int = 0
(...skipping 11 matching lines...) Expand all
48 url_unsecure_scheme = "googlechrome" 51 url_unsecure_scheme = "googlechrome"
49 url_x_callback_scheme = "googlechrome-x-callback" 52 url_x_callback_scheme = "googlechrome-x-callback"
50 } else { 53 } else {
51 chromium_short_name = "Chromium" 54 chromium_short_name = "Chromium"
52 url_channel_scheme = "chromium-dev" 55 url_channel_scheme = "chromium-dev"
53 url_secure_scheme = "chromiums" 56 url_secure_scheme = "chromiums"
54 url_ssoauth_scheme = "$ios_app_bundle_id_prefix.sso.chromium" 57 url_ssoauth_scheme = "$ios_app_bundle_id_prefix.sso.chromium"
55 url_unsecure_scheme = "chromium" 58 url_unsecure_scheme = "chromium"
56 url_x_callback_scheme = "chromium-x-callback" 59 url_x_callback_scheme = "chromium-x-callback"
57 } 60 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698