| 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 17 matching lines...) Expand all Loading... |
| 28 current_cpu != "mipsel" && !(is_linux && target_cpu == "arm64") | 28 current_cpu != "mipsel" && !(is_linux && target_cpu == "arm64") |
| 29 | 29 |
| 30 # Non-SFI is not yet supported on mipsel | 30 # Non-SFI is not yet supported on mipsel |
| 31 enable_nacl_nonsfi = current_cpu != "mipsel" | 31 enable_nacl_nonsfi = current_cpu != "mipsel" |
| 32 | 32 |
| 33 # Enables the Media Router. | 33 # Enables the Media Router. |
| 34 enable_media_router = !is_ios && !is_chromecast | 34 enable_media_router = !is_ios && !is_chromecast |
| 35 | 35 |
| 36 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. | 36 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. |
| 37 # We always build Google Chrome and Chromecast with proprietary codecs. | 37 # We always build Google Chrome and Chromecast with proprietary codecs. |
| 38 # |
| 39 # Note: this flag is used by WebRTC which is DEPSed into Chrome. Moving it |
| 40 # out of //build will require using the build_overrides directory. |
| 38 proprietary_codecs = is_chrome_branded || is_chromecast | 41 proprietary_codecs = is_chrome_branded || is_chromecast |
| 39 | 42 |
| 40 # Variable safe_browsing is used to control the build time configuration for | 43 # Variable safe_browsing is used to control the build time configuration for |
| 41 # safe browsing feature. Safe browsing can be compiled in 3 different levels: | 44 # safe browsing feature. Safe browsing can be compiled in 3 different levels: |
| 42 # 0 disables it, 1 enables it fully, and 2 enables mobile protection via an | 45 # 0 disables it, 1 enables it fully, and 2 enables mobile protection via an |
| 43 # external API. | 46 # external API. |
| 44 if (is_ios || is_chromecast) { | 47 if (is_ios || is_chromecast) { |
| 45 safe_browsing_mode = 0 | 48 safe_browsing_mode = 0 |
| 46 } else if (is_android) { | 49 } else if (is_android) { |
| 47 safe_browsing_mode = 2 | 50 safe_browsing_mode = 2 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 82 |
| 80 # Chrome OS: whether to also build the upcoming version of | 83 # Chrome OS: whether to also build the upcoming version of |
| 81 # ChromeVox, which can then be enabled via a command-line switch. | 84 # ChromeVox, which can then be enabled via a command-line switch. |
| 82 enable_chromevox_next = false | 85 enable_chromevox_next = false |
| 83 # | 86 # |
| 84 # ============================================= | 87 # ============================================= |
| 85 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 88 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
| 86 # ============================================= | 89 # ============================================= |
| 87 # | 90 # |
| 88 # See comment at the top. | 91 # See comment at the top. |
| OLD | NEW |