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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/app/BUILD.gn » ('j') | no next file with comments »
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
index a5a1394822c8dfaa8b7c65f6034326cde8fe6ff0..af4b46ce0a7c2486ec824583e64f51daba379598 100644
--- a/ios/build/chrome_build.gni
+++ b/ios/build/chrome_build.gni
@@ -9,6 +9,7 @@ import("//build/config/mac/symbols.gni")
declare_args() {
# Enable today extension.
ios_enable_today_extension = true
+ ios_enable_widget_extension = false
# Enable share extension.
ios_enable_share_extension = true
@@ -24,6 +25,8 @@ declare_args() {
# List of plist templates to merge when generating chrome entitlements.
ios_chrome_entitlements_additions = []
}
+assert(!(ios_enable_today_extension && ios_enable_widget_extension),
+ "Both today extensions cannot be enabled simultaneously.")
# Configure whether breakpad support is enabled.
breakpad_enabled = is_official_build && is_chrome_branded
« 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