Chromium Code Reviews| 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 UI-related build flags. It should theoretically be in the | 5 # This file contains UI-related build flags. It should theoretically be in the |
| 6 # src/ui directory and only things that depend on the ui module should get the | 6 # src/ui directory and only things that depend on the ui module should get the |
| 7 # definitions. | 7 # definitions. |
| 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. | 10 # e.g. base, so they need to be global. |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 32 # --debug-devtools cmdline switch. | 32 # --debug-devtools cmdline switch. |
| 33 debug_devtools = false | 33 debug_devtools = false |
| 34 | 34 |
| 35 # Enables WebRTC. | 35 # Enables WebRTC. |
| 36 #enable_webrtc = !is_ios TODO(GYP) use this condition when WebRTC works in | 36 #enable_webrtc = !is_ios TODO(GYP) use this condition when WebRTC works in |
| 37 # the GN build. | 37 # the GN build. |
| 38 enable_webrtc = false | 38 enable_webrtc = false |
| 39 | 39 |
| 40 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. | 40 # Enables proprietary codecs and demuxers; e.g. H264, MOV, AAC, and MP3. |
| 41 proprietary_codecs = false | 41 proprietary_codecs = false |
| 42 | |
| 43 # The Widevine CDM is enabled by default for Chrome builds, and is a platform | |
| 44 # feature on Android. | |
| 45 enable_widevine_cdm = is_chrome_branded || is_android | |
| 46 | |
| 47 # Widevine is distributed as a component for Mac and Windows. | |
| 48 widevine_cdm_is_component = is_mac || is_win | |
|
ddorwin
2014/12/15 18:31:06
ditto on && chrome
sandersd (OOO until July 31)
2014/12/15 21:51:22
Done.
| |
| 42 } | 49 } |
| 43 | 50 |
| 44 # Additional dependent variables ----------------------------------------------- | 51 # Additional dependent variables ----------------------------------------------- |
| 45 | 52 |
| 46 # Set the version of CLD. | 53 # Set the version of CLD. |
| 47 # 0: Don't specify the version. This option is for the Finch testing. | 54 # 0: Don't specify the version. This option is for the Finch testing. |
| 48 # 1: Use only CLD1. | 55 # 1: Use only CLD1. |
| 49 # 2: Use only CLD2. | 56 # 2: Use only CLD2. |
| 50 if (is_android) { | 57 if (is_android) { |
| 51 cld_version = 1 | 58 cld_version = 1 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 157 | 164 |
| 158 # Option controlling the use of GConf (the classic GNOME configuration | 165 # Option controlling the use of GConf (the classic GNOME configuration |
| 159 # system). | 166 # system). |
| 160 # TODO(GYP) also require !embedded to enable. | 167 # TODO(GYP) also require !embedded to enable. |
| 161 use_gconf = is_linux && !is_chromeos | 168 use_gconf = is_linux && !is_chromeos |
| 162 | 169 |
| 163 # Hangout services is an extension that adds extra features to Hangouts. | 170 # Hangout services is an extension that adds extra features to Hangouts. |
| 164 # For official GYP builds, this flag is set, it will likely need to be | 171 # For official GYP builds, this flag is set, it will likely need to be |
| 165 # parameterized in the future for a similar use. | 172 # parameterized in the future for a similar use. |
| 166 enable_hangout_services_extension = false | 173 enable_hangout_services_extension = false |
| OLD | NEW |