OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//device/vr/features.gni") | 9 import("//device/vr/features.gni") |
10 import("//extensions/features/features.gni") | 10 import("//extensions/features/features.gni") |
11 import("//media/media_options.gni") | 11 import("//media/media_options.gni") |
12 import("//net/features.gni") | 12 import("//net/features.gni") |
13 import("//ppapi/features/features.gni") | 13 import("//ppapi/features/features.gni") |
14 import("//printing/features/features.gni") | 14 import("//printing/features/features.gni") |
15 import("//ui/base/ui_features.gni") | 15 import("//ui/base/ui_features.gni") |
16 | 16 |
| 17 assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome") |
| 18 |
17 # Please keep features in alphabetical order. | 19 # Please keep features in alphabetical order. |
18 declare_args() { | 20 declare_args() { |
19 enable_app_list = is_chromeos | 21 enable_app_list = is_chromeos |
20 | 22 |
21 # Enables support for background apps. | 23 # Enables support for background apps. |
22 enable_background = !is_ios && !is_android && !is_chromecast | 24 enable_background = !is_android && !is_chromecast |
23 | 25 |
24 # Enable the printing system dialog for platforms that support printing | 26 # Enable the printing system dialog for platforms that support printing |
25 # and have a system dialog. | 27 # and have a system dialog. |
26 enable_basic_print_dialog = enable_basic_printing && !is_chromeos | 28 enable_basic_print_dialog = enable_basic_printing && !is_chromeos |
27 | 29 |
28 enable_captive_portal_detection = !is_android && !is_ios && !is_chromecast | 30 enable_captive_portal_detection = !is_android && !is_chromecast |
29 | 31 |
30 # Google Now is disabled to prepare for its removal. | 32 # Google Now is disabled to prepare for its removal. |
31 # http://crbug.com/539674 | 33 # http://crbug.com/539674 |
32 enable_google_now = false | 34 enable_google_now = false |
33 | 35 |
34 # Hangout services is an extension that adds extra features to Hangouts. | 36 # Hangout services is an extension that adds extra features to Hangouts. |
35 # It is enableable separately to facilitate testing. | 37 # It is enableable separately to facilitate testing. |
36 enable_hangout_services_extension = is_chrome_branded | 38 enable_hangout_services_extension = is_chrome_branded |
37 | 39 |
38 # 'Ok Google' hotwording is disabled by default. Set to true to enable. (This | 40 # 'Ok Google' hotwording is disabled by default. Set to true to enable. (This |
39 # will download a closed-source NaCl module at startup.) Chrome-branded | 41 # will download a closed-source NaCl module at startup.) Chrome-branded |
40 # ChromeOS builds have this enabled by default. | 42 # ChromeOS builds have this enabled by default. |
41 enable_hotwording = is_chrome_branded && is_chromeos | 43 enable_hotwording = is_chrome_branded && is_chromeos |
42 | 44 |
43 enable_one_click_signin = | 45 enable_one_click_signin = |
44 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast) | 46 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast) |
45 | 47 |
46 # Set to true to bundle all the mash related mojo services into chrome. | 48 # Set to true to bundle all the mash related mojo services into chrome. |
47 # Specify --mash to chrome to have chrome start the mash environment. | 49 # Specify --mash to chrome to have chrome start the mash environment. |
48 enable_package_mash_services = is_chromeos | 50 enable_package_mash_services = is_chromeos |
49 | 51 |
50 enable_service_discovery = enable_mdns || is_mac | 52 enable_service_discovery = enable_mdns || is_mac |
51 | 53 |
52 # Enables use of the session service, which is enabled by default. | 54 # Enables use of the session service, which is enabled by default. |
53 # Android stores them separately on the Java side. | 55 # Android stores them separately on the Java side. |
54 enable_session_service = !is_android && !is_ios && !is_chromecast | 56 enable_session_service = !is_android && !is_chromecast |
55 | 57 |
56 enable_supervised_users = !is_ios && !is_chromecast | 58 enable_supervised_users = !is_chromecast |
57 | 59 |
58 # Enables vr shell UI development on local or remote page. | 60 # Enables vr shell UI development on local or remote page. |
59 enable_vr_shell_ui_dev = false | 61 enable_vr_shell_ui_dev = false |
60 | 62 |
61 # Indicates if Wayland display server support is enabled. | 63 # Indicates if Wayland display server support is enabled. |
62 enable_wayland_server = is_chromeos | 64 enable_wayland_server = is_chromeos |
63 | 65 |
64 # Enable native notifications via XPC services (mac only). | 66 # Enable native notifications via XPC services (mac only). |
65 # TODO(miguelg): remove this. | 67 # TODO(miguelg): remove this. |
66 enable_xpc_notifications = true | 68 enable_xpc_notifications = true |
(...skipping 25 matching lines...) Expand all Loading... |
92 "enable_plugins=$enable_plugins", | 94 "enable_plugins=$enable_plugins", |
93 "enable_print_preview=$enable_print_preview", | 95 "enable_print_preview=$enable_print_preview", |
94 "enable_printing=$_enable_printing", | 96 "enable_printing=$_enable_printing", |
95 "enable_service_discovery=$enable_service_discovery", | 97 "enable_service_discovery=$enable_service_discovery", |
96 "enable_webrtc=$enable_webrtc", | 98 "enable_webrtc=$enable_webrtc", |
97 "enable_webvr=$enable_webvr", | 99 "enable_webvr=$enable_webvr", |
98 "mac_views_browser=$mac_views_browser", | 100 "mac_views_browser=$mac_views_browser", |
99 "safe_browsing_mode=$safe_browsing_mode", | 101 "safe_browsing_mode=$safe_browsing_mode", |
100 "use_vulcanize=$use_vulcanize", | 102 "use_vulcanize=$use_vulcanize", |
101 ] | 103 ] |
OLD | NEW |