| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 # Enables Native Client support. | 26 # Enables Native Client support. |
| 27 # Temporarily disable nacl on arm64 linux to get rid of compilation errors. | 27 # Temporarily disable nacl on arm64 linux to get rid of compilation errors. |
| 28 # TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion. | 28 # TODO(mcgrathr): When mipsel-nacl-clang is available, drop the exclusion. |
| 29 enable_nacl = !is_ios && !is_android && !is_chromecast && | 29 enable_nacl = !is_ios && !is_android && !is_chromecast && |
| 30 current_cpu != "mipsel" && !(is_linux && target_cpu == "arm64") | 30 current_cpu != "mipsel" && !(is_linux && target_cpu == "arm64") |
| 31 | 31 |
| 32 # Non-SFI is not yet supported on mipsel | 32 # Non-SFI is not yet supported on mipsel |
| 33 enable_nacl_nonsfi = current_cpu != "mipsel" | 33 enable_nacl_nonsfi = current_cpu != "mipsel" |
| 34 | 34 |
| 35 # Enables WebRTC. | |
| 36 enable_webrtc = !is_ios | |
| 37 | |
| 38 # Enables the Media Router. | 35 # Enables the Media Router. |
| 39 enable_media_router = !is_ios && !is_chromecast | 36 enable_media_router = !is_ios && !is_chromecast |
| 40 | 37 |
| 41 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. | 38 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. |
| 42 # We always build Google Chrome and Chromecast with proprietary codecs. | 39 # We always build Google Chrome and Chromecast with proprietary codecs. |
| 43 proprietary_codecs = is_chrome_branded || is_chromecast | 40 proprietary_codecs = is_chrome_branded || is_chromecast |
| 44 | 41 |
| 45 # Variable safe_browsing is used to control the build time configuration for | 42 # Variable safe_browsing is used to control the build time configuration for |
| 46 # safe browsing feature. Safe browsing can be compiled in 3 different levels: | 43 # safe browsing feature. Safe browsing can be compiled in 3 different levels: |
| 47 # 0 disables it, 1 enables it fully, and 2 enables mobile protection via an | 44 # 0 disables it, 1 enables it fully, and 2 enables mobile protection via an |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 108 |
| 112 enable_configuration_policy = !is_ios | 109 enable_configuration_policy = !is_ios |
| 113 | 110 |
| 114 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build | 111 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build |
| 115 # | 112 # |
| 116 # ============================================= | 113 # ============================================= |
| 117 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE | 114 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE |
| 118 # ============================================= | 115 # ============================================= |
| 119 # | 116 # |
| 120 # See comment at the top. | 117 # See comment at the top. |
| OLD | NEW |