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("//extensions/features/features.gni") | 9 import("//extensions/features/features.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 enable_plugin_installation = is_win || is_mac | 55 enable_plugin_installation = is_win || is_mac |
56 | 56 |
57 enable_service_discovery = enable_mdns || is_mac | 57 enable_service_discovery = enable_mdns || is_mac |
58 | 58 |
59 # Enables use of the session service, which is enabled by default. | 59 # Enables use of the session service, which is enabled by default. |
60 # Android stores them separately on the Java side. | 60 # Android stores them separately on the Java side. |
61 enable_session_service = !is_android && !is_ios && !is_chromecast | 61 enable_session_service = !is_android && !is_ios && !is_chromecast |
62 | 62 |
63 enable_supervised_users = !is_ios && !is_chromecast | 63 enable_supervised_users = !is_ios && !is_chromecast |
64 | 64 |
65 # Enables vr shell. | 65 # Enables vr shell (enabled on same architectures as webvr). |
66 enable_vr_shell = false | 66 # TODO(amp): Collapse webvr and vr shell build flags into a single vr flag. |
| 67 enable_vr_shell = |
| 68 is_android && (current_cpu == "arm" || current_cpu == "arm64") |
67 | 69 |
68 # Enables vr shell UI development on local or remote page. | 70 # Enables vr shell UI development on local or remote page. |
69 enable_vr_shell_ui_dev = false | 71 enable_vr_shell_ui_dev = false |
70 | 72 |
71 # Enable native notifications via XPC services (mac only). | 73 # Enable native notifications via XPC services (mac only). |
72 enable_xpc_notifications = false | 74 enable_xpc_notifications = false |
73 | 75 |
74 # Indicates if the build is using PGO. | 76 # Indicates if the build is using PGO. |
75 pgo_build = chrome_pgo_phase > 0 | 77 pgo_build = chrome_pgo_phase > 0 |
76 | 78 |
(...skipping 20 matching lines...) Expand all Loading... |
97 "enable_print_preview=$enable_print_preview", | 99 "enable_print_preview=$enable_print_preview", |
98 "enable_printing=$_enable_printing", | 100 "enable_printing=$_enable_printing", |
99 "enable_service_discovery=$enable_service_discovery", | 101 "enable_service_discovery=$enable_service_discovery", |
100 "enable_vr_shell=$enable_vr_shell", | 102 "enable_vr_shell=$enable_vr_shell", |
101 "enable_webrtc=$enable_webrtc", | 103 "enable_webrtc=$enable_webrtc", |
102 "enable_webvr=$enable_webvr", | 104 "enable_webvr=$enable_webvr", |
103 "mac_views_browser=$mac_views_browser", | 105 "mac_views_browser=$mac_views_browser", |
104 "safe_browsing_mode=$safe_browsing_mode", | 106 "safe_browsing_mode=$safe_browsing_mode", |
105 "use_vulcanize=$use_vulcanize", | 107 "use_vulcanize=$use_vulcanize", |
106 ] | 108 ] |
OLD | NEW |