| 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 23 matching lines...) Expand all Loading... |
| 34 enable_nacl = | 34 enable_nacl = |
| 35 !is_ios && !is_android && !is_chromecast && current_cpu != "mipsel" | 35 !is_ios && !is_android && !is_chromecast && current_cpu != "mipsel" |
| 36 | 36 |
| 37 # If debug_devtools is set to true, JavaScript files for DevTools are stored | 37 # If debug_devtools is set to true, JavaScript files for DevTools are stored |
| 38 # as is and loaded from disk. Otherwise, a concatenated file is stored in | 38 # as is and loaded from disk. Otherwise, a concatenated file is stored in |
| 39 # resources.pak. It is still possible to load JS files from disk by passing | 39 # resources.pak. It is still possible to load JS files from disk by passing |
| 40 # --debug-devtools cmdline switch. | 40 # --debug-devtools cmdline switch. |
| 41 debug_devtools = false | 41 debug_devtools = false |
| 42 | 42 |
| 43 # Enables WebRTC. | 43 # Enables WebRTC. |
| 44 # TODO(GYP) make mac work. | |
| 45 enable_webrtc = !is_ios | 44 enable_webrtc = !is_ios |
| 46 | 45 |
| 47 # Enables the Media Router. | 46 # Enables the Media Router. |
| 48 enable_media_router = !is_ios | 47 enable_media_router = !is_ios |
| 49 | 48 |
| 50 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 49 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
| 51 # Android OS includes support for proprietary codecs regardless of building | 50 # Android OS includes support for proprietary codecs regardless of building |
| 52 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with | 51 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
| 53 # proprietary codecs. | 52 # proprietary codecs. |
| 54 proprietary_codecs = is_android || is_chrome_branded || is_chromecast | 53 proprietary_codecs = is_android || is_chrome_branded || is_chromecast |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 178 |
| 180 # Option controlling the use of GConf (the classic GNOME configuration | 179 # Option controlling the use of GConf (the classic GNOME configuration |
| 181 # system). | 180 # system). |
| 182 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless | 181 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless |
| 183 | 182 |
| 184 # Enable WebVR support by default on Android | 183 # Enable WebVR support by default on Android |
| 185 # Still requires command line flag to access API | 184 # Still requires command line flag to access API |
| 186 enable_webvr = is_android | 185 enable_webvr = is_android |
| 187 | 186 |
| 188 use_gio = is_linux && !is_chromeos && !is_chromecast && !is_headless | 187 use_gio = is_linux && !is_chromeos && !is_chromecast && !is_headless |
| OLD | NEW |