| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 use_dbus = is_linux && !is_chromecast | 63 use_dbus = is_linux && !is_chromecast |
| 64 | 64 |
| 65 # Option controlling the use of GConf (the classic GNOME configuration | 65 # Option controlling the use of GConf (the classic GNOME configuration |
| 66 # system). | 66 # system). |
| 67 use_gconf = is_linux && !is_chromeos && !is_chromecast | 67 use_gconf = is_linux && !is_chromeos && !is_chromecast |
| 68 | 68 |
| 69 use_gio = is_linux && !is_chromeos && !is_chromecast | 69 use_gio = is_linux && !is_chromeos && !is_chromecast |
| 70 | 70 |
| 71 # Whether or not to use external popup menu. | 71 # Whether or not to use external popup menu. |
| 72 use_external_popup_menu = is_android || is_mac | 72 use_external_popup_menu = is_android || is_mac |
| 73 | |
| 74 # Enable WebVR support by default on Android | |
| 75 # Still requires command line flag to access API | |
| 76 # TODO(bshe): Enable for other architecture too. Currently we only support arm | |
| 77 # and arm64. | |
| 78 enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64") | |
| 79 } | 73 } |
| 80 | 74 |
| 81 # Additional dependent variables ----------------------------------------------- | 75 # Additional dependent variables ----------------------------------------------- |
| 82 | 76 |
| 83 # Chrome OS: whether to also build the upcoming version of | 77 # Chrome OS: whether to also build the upcoming version of |
| 84 # ChromeVox, which can then be enabled via a command-line switch. | 78 # ChromeVox, which can then be enabled via a command-line switch. |
| 85 enable_chromevox_next = false | 79 enable_chromevox_next = false |
| 86 # | 80 # |
| 87 # ============================================= | 81 # ============================================= |
| 88 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 82 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
| 89 # ============================================= | 83 # ============================================= |
| 90 # | 84 # |
| 91 # See comment at the top. | 85 # See comment at the top. |
| OLD | NEW |