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 3# found in the LICENSE file. 4 5# ============================================= 6# PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 7# ============================================= 8# 9# These flags are effectively global. Your feature flag should go near the 10# code it controls. Most of these items are here now because they control 11# legacy global #defines passed to the compiler (now replaced with generated 12# buildflag headers -- see //build/buildflag_header.gni). 13# 14# There is more advice on where to put build flags in the "Build flag" section 15# of //build/config/BUILDCONFIG.gn. 16 17import("//build/config/chrome_build.gni") 18import("//build/config/chromecast_build.gni") 19 20declare_args() { 21 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. 22 # We always build Google Chrome and Chromecast with proprietary codecs. 23 # 24 # Note: this flag is used by WebRTC which is DEPSed into Chrome. Moving it 25 # out of //build will require using the build_overrides directory. 26 proprietary_codecs = is_chrome_branded || is_chromecast 27 28 # libudev usage. This currently only affects the content layer. 29 use_udev = (is_linux || is_chromeos) && !is_chromecast && !is_bsd 30 31 use_dbus = (is_linux || is_chromeos) && !is_chromecast 32 33 use_gio = is_linux && !is_chromeos && !is_chromecast 34} 35# 36# ============================================= 37# PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 38# ============================================= 39# 40# See comment at the top. 41