| 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 # This file contains Chrome-feature-related build flags (see ui.gni for | 5 # This file contains Chrome-feature-related build flags (see ui.gni for |
| 6 # UI-related ones). These should theoretically be moved to the build files of | 6 # UI-related ones). These should theoretically be moved to the build files of |
| 7 # the features themselves. | 7 # the features themselves. |
| 8 # | 8 # |
| 9 # However, today we have many "bad" dependencies on some of these flags from, | 9 # However, today we have many "bad" dependencies on some of these flags from, |
| 10 # e.g. base, so they need to be global to match the GYP configuration. Also, | 10 # e.g. base, so they need to be global to match the GYP configuration. Also, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 # If debug_devtools is set to true, JavaScript files for DevTools are stored | 46 # If debug_devtools is set to true, JavaScript files for DevTools are stored |
| 47 # as is and loaded from disk. Otherwise, a concatenated file is stored in | 47 # as is and loaded from disk. Otherwise, a concatenated file is stored in |
| 48 # resources.pak. It is still possible to load JS files from disk by passing | 48 # resources.pak. It is still possible to load JS files from disk by passing |
| 49 # --debug-devtools cmdline switch. | 49 # --debug-devtools cmdline switch. |
| 50 debug_devtools = false | 50 debug_devtools = false |
| 51 | 51 |
| 52 # Enables WebRTC. | 52 # Enables WebRTC. |
| 53 # TODO(GYP) make mac work. | 53 # TODO(GYP) make mac work. |
| 54 enable_webrtc = !is_ios && !is_mac | 54 enable_webrtc = !is_ios && !is_mac |
| 55 | 55 |
| 56 # Enable this to build OpenH264. |
| 57 # CHECK THE OPENH264 LICENSE BEFORE BUILDING. The default value should be 0, |
| 58 # the open source version of Chromium should not build this by default due to |
| 59 # license and patent reasons. |
| 60 use_openh264 = true |
| 61 |
| 56 # Enables the Media Router. | 62 # Enables the Media Router. |
| 57 enable_media_router = !is_ios | 63 enable_media_router = !is_ios |
| 58 | 64 |
| 59 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 65 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
| 60 # Android OS includes support for proprietary codecs regardless of building | 66 # Android OS includes support for proprietary codecs regardless of building |
| 61 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with | 67 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
| 62 # proprietary codecs. | 68 # proprietary codecs. |
| 63 proprietary_codecs = is_android || is_chrome_branded || is_chromecast | 69 proprietary_codecs = is_android || is_chrome_branded || is_chromecast |
| 64 | 70 |
| 65 # TODO(GYP) This should be enabled on ios as well. | 71 # TODO(GYP) This should be enabled on ios as well. |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 # Option controlling the use of GConf (the classic GNOME configuration | 198 # Option controlling the use of GConf (the classic GNOME configuration |
| 193 # system). | 199 # system). |
| 194 use_gconf = is_linux && !is_chromeos && !is_chromecast | 200 use_gconf = is_linux && !is_chromeos && !is_chromecast |
| 195 | 201 |
| 196 # Whether to back up data before sync. | 202 # Whether to back up data before sync. |
| 197 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 203 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
| 198 | 204 |
| 199 # Enable WebVR support by default on Android | 205 # Enable WebVR support by default on Android |
| 200 # Still requires command line flag to access API | 206 # Still requires command line flag to access API |
| 201 enable_webvr = is_android | 207 enable_webvr = is_android |
| OLD | NEW |