| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 # Enables WebRTC. | 43 # Enables WebRTC. |
| 44 enable_webrtc = !is_ios | 44 enable_webrtc = !is_ios |
| 45 | 45 |
| 46 # Enables the Media Router. | 46 # Enables the Media Router. |
| 47 enable_media_router = !is_ios && !is_chromecast | 47 enable_media_router = !is_ios && !is_chromecast |
| 48 | 48 |
| 49 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. | 49 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. |
| 50 # We always build Google Chrome and Chromecast with proprietary codecs. | 50 # We always build Google Chrome and Chromecast with proprietary codecs. |
| 51 proprietary_codecs = is_chrome_branded || is_chromecast | 51 proprietary_codecs = is_chrome_branded || is_chromecast |
| 52 | 52 |
| 53 # Enables use of the session service, which is enabled by default. | |
| 54 # Android stores them separately on the Java side. | |
| 55 enable_session_service = !is_android && !is_ios && !is_chromecast | |
| 56 | |
| 57 enable_supervised_users = !is_ios && !is_chromecast | |
| 58 | |
| 59 # Variable safe_browsing is used to control the build time configuration for | 53 # Variable safe_browsing is used to control the build time configuration for |
| 60 # safe browsing feature. Safe browsing can be compiled in 3 different levels: | 54 # safe browsing feature. Safe browsing can be compiled in 3 different levels: |
| 61 # 0 disables it, 1 enables it fully, and 2 enables mobile protection via an | 55 # 0 disables it, 1 enables it fully, and 2 enables mobile protection via an |
| 62 # external API. | 56 # external API. |
| 63 if (is_ios || is_chromecast) { | 57 if (is_ios || is_chromecast) { |
| 64 safe_browsing_mode = 0 | 58 safe_browsing_mode = 0 |
| 65 } else if (is_android) { | 59 } else if (is_android) { |
| 66 safe_browsing_mode = 2 | 60 safe_browsing_mode = 2 |
| 67 } else { | 61 } else { |
| 68 safe_browsing_mode = 1 | 62 safe_browsing_mode = 1 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 147 |
| 154 enable_configuration_policy = !is_ios | 148 enable_configuration_policy = !is_ios |
| 155 | 149 |
| 156 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 150 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
| 157 # | 151 # |
| 158 # ============================================= | 152 # ============================================= |
| 159 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 153 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
| 160 # ============================================= | 154 # ============================================= |
| 161 # | 155 # |
| 162 # See comment at the top. | 156 # See comment at the top. |
| OLD | NEW |