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 # TODO(hbos): where to place this? | |
57 # Enable this to build OpenH264. | |
58 # CHECK THE OPENH264 LICENSE BEFORE BUILDING. | |
59 build_openh264 = true | |
torbjorng
2015/11/05 13:18:24
See comment in .gypi file.
| |
60 | |
56 # Enables the Media Router. | 61 # Enables the Media Router. |
57 enable_media_router = !is_ios | 62 enable_media_router = !is_ios |
58 | 63 |
59 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 64 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
60 # Android OS includes support for proprietary codecs regardless of building | 65 # Android OS includes support for proprietary codecs regardless of building |
61 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with | 66 # Chromium or Google Chrome. We also ship Google Chrome and Chromecast with |
62 # proprietary codecs. | 67 # proprietary codecs. |
63 proprietary_codecs = is_android || is_chrome_branded || is_chromecast | 68 proprietary_codecs = is_android || is_chrome_branded || is_chromecast |
64 | 69 |
65 # TODO(GYP) This should be enabled on ios as well. | 70 # 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 | 197 # Option controlling the use of GConf (the classic GNOME configuration |
193 # system). | 198 # system). |
194 use_gconf = is_linux && !is_chromeos && !is_chromecast | 199 use_gconf = is_linux && !is_chromeos && !is_chromecast |
195 | 200 |
196 # Whether to back up data before sync. | 201 # Whether to back up data before sync. |
197 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) | 202 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) |
198 | 203 |
199 # Enable WebVR support by default on Android | 204 # Enable WebVR support by default on Android |
200 # Still requires command line flag to access API | 205 # Still requires command line flag to access API |
201 enable_webvr = is_android | 206 enable_webvr = is_android |
OLD | NEW |