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("//net/features.gni") | 9 import("//net/features.gni") |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast) | 44 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast) |
45 | 45 |
46 # Set to true to bundle all the mash related mojo services into chrome. | 46 # 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. | 47 # Specify --mash to chrome to have chrome start the mash environment. |
48 enable_package_mash_services = is_chromeos | 48 enable_package_mash_services = is_chromeos |
49 | 49 |
50 enable_plugin_installation = is_win || is_mac | 50 enable_plugin_installation = is_win || is_mac |
51 | 51 |
52 enable_service_discovery = enable_mdns || is_mac | 52 enable_service_discovery = enable_mdns || is_mac |
53 | 53 |
| 54 # Enables use of the session service, which is enabled by default. |
| 55 # Android stores them separately on the Java side. |
| 56 enable_session_service = !is_android && !is_ios && !is_chromecast |
| 57 |
| 58 enable_supervised_users = !is_ios && !is_chromecast |
| 59 |
54 # Enables vr shell. | 60 # Enables vr shell. |
55 enable_vr_shell = false | 61 enable_vr_shell = false |
56 | 62 |
57 # Enables vr shell UI development on local or remote page. | 63 # Enables vr shell UI development on local or remote page. |
58 enable_vr_shell_ui_dev = false | 64 enable_vr_shell_ui_dev = false |
59 | 65 |
60 # Enable native notifications via XPC services (mac only). | 66 # Enable native notifications via XPC services (mac only). |
61 enable_xpc_notifications = false | 67 enable_xpc_notifications = false |
62 | 68 |
63 # Indicates if the build is using PGO. | 69 # Indicates if the build is using PGO. |
64 pgo_build = chrome_pgo_phase > 0 | 70 pgo_build = chrome_pgo_phase > 0 |
65 | 71 |
66 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | 72 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
67 # pages. https://github.com/polymer/vulcanize | 73 # pages. https://github.com/polymer/vulcanize |
68 use_vulcanize = true | 74 use_vulcanize = true |
69 } | 75 } |
70 | 76 |
71 chrome_grit_defines = [ | 77 chrome_grit_defines = [ |
72 "enable_app_list=$enable_app_list", | 78 "enable_app_list=$enable_app_list", |
73 "enable_background=$enable_background", | 79 "enable_background=$enable_background", |
74 "enable_google_now=$enable_google_now", | 80 "enable_google_now=$enable_google_now", |
75 "enable_hangout_services_extension=$enable_hangout_services_extension", | 81 "enable_hangout_services_extension=$enable_hangout_services_extension", |
76 "enable_hotwording=$enable_hotwording", | 82 "enable_hotwording=$enable_hotwording", |
77 "enable_service_discovery=$enable_service_discovery", | 83 "enable_service_discovery=$enable_service_discovery", |
78 "enable_vr_shell=$enable_vr_shell", | 84 "enable_vr_shell=$enable_vr_shell", |
79 "enable_webvr=$enable_webvr", | 85 "enable_webvr=$enable_webvr", |
80 "safe_browsing_mode=$safe_browsing_mode", | 86 "safe_browsing_mode=$safe_browsing_mode", |
81 "use_vulcanize=$use_vulcanize", | 87 "use_vulcanize=$use_vulcanize", |
82 ] | 88 ] |
OLD | NEW |