| 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_web_speech = !is_android && !is_ios |  | 
| 83 |  | 
| 84 enable_task_manager = !is_ios && !is_android | 82 enable_task_manager = !is_ios && !is_android | 
| 85 | 83 | 
| 86 enable_themes = !is_android && !is_ios | 84 enable_themes = !is_android && !is_ios | 
| 87 | 85 | 
| 88 # Whether we are using the rlz library or not.  Platforms like Android send | 86 # Whether we are using the rlz library or not.  Platforms like Android send | 
| 89 # rlz codes for searches but do not use the library. | 87 # rlz codes for searches but do not use the library. | 
| 90 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos | 88 enable_rlz_support = is_win || is_mac || is_ios || is_chromeos | 
| 91 enable_rlz = is_chrome_branded && enable_rlz_support | 89 enable_rlz = is_chrome_branded && enable_rlz_support | 
| 92 | 90 | 
| 93 # Chrome OS: whether to also build the upcoming version of | 91 # Chrome OS: whether to also build the upcoming version of | 
| 94 # ChromeVox, which can then be enabled via a command-line switch. | 92 # ChromeVox, which can then be enabled via a command-line switch. | 
| 95 enable_chromevox_next = false | 93 enable_chromevox_next = false | 
| 96 | 94 | 
| 97 enable_configuration_policy = !is_ios | 95 enable_configuration_policy = !is_ios | 
| 98 | 96 | 
| 99 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 97 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 
| 100 # | 98 # | 
| 101 # ============================================= | 99 # ============================================= | 
| 102 #   PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 100 #   PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 
| 103 # ============================================= | 101 # ============================================= | 
| 104 # | 102 # | 
| 105 # See comment at the top. | 103 # See comment at the top. | 
| OLD | NEW | 
|---|