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

Unified Diff: build/config/features.gni

Issue 356303002: First pass on adding a chrome/browser GN target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/features.gni
diff --git a/build/config/features.gni b/build/config/features.gni
index ccfec7c7bdd663319e46b66058f924067b6a2bdd..a1f4d48f88f461988155bb730ad11616646eaa22 100644
--- a/build/config/features.gni
+++ b/build/config/features.gni
@@ -11,6 +11,10 @@
#
# See also build/config/ui.gni
+if (is_android) {
+ import("//build/config/android/config.gni")
+}
+
declare_args() {
# Multicast DNS.
enable_mdns = is_win || is_linux
@@ -88,3 +92,50 @@ if (is_android) {
} else {
safe_browsing_mode = 1
}
+
+enable_configuration_policy = true
tfarina 2014/06/29 19:51:10 I was not able to verify all this conditions in bu
Lei Zhang 2014/06/30 21:41:22 It defaults to 1 without any conditionals in build
+
+# The data acquisition mode for CLD2. Possible values are:
+# static: CLD2 data is statically linked to the executable.
+# standalone: CLD2 data is provided in a standalone file that is
+# bundled with the executable.
+# component: CLD2 data is provided as a Chrome "component" and is
+# downloaded via the component updater.
+#
+# For more information on switching the CLD2 data source, see:
+# https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact-language-detector-cld-data-source-configuration
+cld2_data_source = "static"
+
+# Enables support for background apps.
+enable_background = !is_ios && !is_android
+
+enable_task_manager = !is_ios && !is_android
+
+use_cups = is_desktop_linux || is_mac
+
+enable_themes = !is_android && !is_chromeos
+
+# TODO(brettw) why do we have this if it's always true?
Lei Zhang 2014/06/30 21:41:22 Add a TODO(scottmg) to remove this. There's two co
+win_pdf_metafile_for_printing = true
+
+enable_captive_portal_detection = !is_android && !is_ios
+
+# Enables use of the session service, which is enabled by default.
+# Android stores them separately on the Java side.
+enable_session_service = !is_android && !is_ios
+
+# Whether we are using the rlz library or not. Platforms like Android send
+# rlz codes for searches but do not use the library.
+enable_rlz = is_chrome_branded && (is_win || is_mac || is_ios || is_chromeos)
+
+enable_plugin_installation = is_win || is_mac
+
+enable_app_list = !is_ios && !is_android
+
+enable_managed_users = !is_ios
+
+enable_service_discovery = enable_mdns || is_mac
+
+enable_autofill_dialog = !is_ios && !(is_android && android_webview_build)
+
+enable_wifi_bootstrapping = is_win || is_mac

Powered by Google App Engine
This is Rietveld 408576698