OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # ============================================= | 5 # ============================================= |
6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
7 # ============================================= | 7 # ============================================= |
8 # | 8 # |
9 # These flags are effectively global. Your feature flag should go near the | 9 # These flags are effectively global. Your feature flag should go near the |
10 # code it controls. Most of these items are here now because they control | 10 # code it controls. Most of these items are here now because they control |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 # system). | 74 # system). |
75 use_gconf = is_linux && !is_chromeos && !is_chromecast | 75 use_gconf = is_linux && !is_chromeos && !is_chromecast |
76 | 76 |
77 use_gio = is_linux && !is_chromeos && !is_chromecast | 77 use_gio = is_linux && !is_chromeos && !is_chromecast |
78 | 78 |
79 # Whether or not to use external popup menu. | 79 # Whether or not to use external popup menu. |
80 use_external_popup_menu = is_android || is_mac | 80 use_external_popup_menu = is_android || is_mac |
81 | 81 |
82 # Enable WebVR support by default on Android | 82 # Enable WebVR support by default on Android |
83 # Still requires command line flag to access API | 83 # Still requires command line flag to access API |
84 # TODO(bshe): Remove is_component_build once we can statically link gvr | 84 # TODO(bshe): Enable for other architecture too. Currently we only support arm |
85 # library. Currently gvr library only has a prebuild so file which causes | 85 # and arm64. |
86 # linking issue for non component build. | |
87 enable_webvr = is_android && is_component_build && | 86 enable_webvr = is_android && is_component_build && |
88 (current_cpu == "x86" || current_cpu == "x64" || | 87 (current_cpu == "arm" || current_cpu == "arm64") |
89 current_cpu == "arm" || current_cpu == "arm64") | |
90 } | 88 } |
91 | 89 |
92 # Additional dependent variables ----------------------------------------------- | 90 # Additional dependent variables ----------------------------------------------- |
93 | 91 |
94 # Enable the spell checker. | 92 # Enable the spell checker. |
95 enable_spellcheck = !is_ios | 93 enable_spellcheck = !is_ios |
96 | 94 |
97 # Use the operating system's spellchecker rather than hunspell. | 95 # Use the operating system's spellchecker rather than hunspell. |
98 use_browser_spellchecker = is_android || is_mac | 96 use_browser_spellchecker = is_android || is_mac |
99 | 97 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 133 |
136 enable_configuration_policy = !is_ios | 134 enable_configuration_policy = !is_ios |
137 | 135 |
138 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 136 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
139 # | 137 # |
140 # ============================================= | 138 # ============================================= |
141 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 139 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
142 # ============================================= | 140 # ============================================= |
143 # | 141 # |
144 # See comment at the top. | 142 # See comment at the top. |
OLD | NEW |