| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 # Enable WebVR support by default on Android | 73 # Enable WebVR support by default on Android |
| 74 # Still requires command line flag to access API | 74 # Still requires command line flag to access API |
| 75 # TODO(bshe): Enable for other architecture too. Currently we only support arm | 75 # TODO(bshe): Enable for other architecture too. Currently we only support arm |
| 76 # and arm64. | 76 # and arm64. |
| 77 enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64") | 77 enable_webvr = is_android && (current_cpu == "arm" || current_cpu == "arm64") |
| 78 } | 78 } |
| 79 | 79 |
| 80 # Additional dependent variables ----------------------------------------------- | 80 # Additional dependent variables ----------------------------------------------- |
| 81 | 81 |
| 82 # Enable notifications everywhere except iOS. | |
| 83 enable_notifications = !is_ios | |
| 84 | |
| 85 enable_web_speech = !is_android && !is_ios | 82 enable_web_speech = !is_android && !is_ios |
| 86 | 83 |
| 87 enable_task_manager = !is_ios && !is_android | 84 enable_task_manager = !is_ios && !is_android |
| 88 | 85 |
| 89 enable_themes = !is_android && !is_ios | 86 enable_themes = !is_android && !is_ios |
| 90 | 87 |
| 91 # Whether we are using the rlz library or not. Platforms like Android send | 88 # Whether we are using the rlz library or not. Platforms like Android send |
| 92 # rlz codes for searches but do not use the library. | 89 # rlz codes for searches but do not use the library. |
| 93 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos | 90 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos |
| 94 enable_rlz = is_chrome_branded && enable_rlz_support | 91 enable_rlz = is_chrome_branded && enable_rlz_support |
| 95 | 92 |
| 96 # Chrome OS: whether to also build the upcoming version of | 93 # Chrome OS: whether to also build the upcoming version of |
| 97 # ChromeVox, which can then be enabled via a command-line switch. | 94 # ChromeVox, which can then be enabled via a command-line switch. |
| 98 enable_chromevox_next = false | 95 enable_chromevox_next = false |
| 99 | 96 |
| 100 enable_configuration_policy = !is_ios | 97 enable_configuration_policy = !is_ios |
| 101 | 98 |
| 102 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 99 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
| 103 # | 100 # |
| 104 # ============================================= | 101 # ============================================= |
| 105 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 102 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
| 106 # ============================================= | 103 # ============================================= |
| 107 # | 104 # |
| 108 # See comment at the top. | 105 # See comment at the top. |
| OLD | NEW |