Convert USE_PROPRIETARY_CODECS to a buildflag header.
Convert the preprocessor define to a buildflag //header defined in //media. The build arg is kept in //build/config/features.gni due to a dependency on WebRTC (described in a comment). R=xhwang@chromium.org Review-Url: https://codereview.chromium.org/2572883002 . Cr-Original-Commit-Position: refs/heads/master@{#439175} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 866e43b5348172572654dde22dfcf0556fe47d26
This commit is contained in:
Родитель
0ce623bad8
Коммит
25a0554294
|
@ -136,9 +136,6 @@ config("feature_flags") {
|
|||
if (enable_wayland_server) {
|
||||
defines += [ "ENABLE_WAYLAND_SERVER=1" ]
|
||||
}
|
||||
if (proprietary_codecs) {
|
||||
defines += [ "USE_PROPRIETARY_CODECS" ]
|
||||
}
|
||||
if (safe_browsing_mode == 1) {
|
||||
defines += [ "FULL_SAFE_BROWSING" ]
|
||||
defines += [ "SAFE_BROWSING_CSD" ]
|
||||
|
|
|
@ -35,6 +35,9 @@ declare_args() {
|
|||
|
||||
# Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4.
|
||||
# We always build Google Chrome and Chromecast with proprietary codecs.
|
||||
#
|
||||
# Note: this flag is used by WebRTC which is DEPSed into Chrome. Moving it
|
||||
# out of //build will require using the build_overrides directory.
|
||||
proprietary_codecs = is_chrome_branded || is_chromecast
|
||||
|
||||
# Variable safe_browsing is used to control the build time configuration for
|
||||
|
|
Загрузка…
Ссылка в новой задаче