This reverts commit 90ce84e1d3201103823a6c615ccbed9e84b1c2c4. Reason for revert: Compilation failure on webrtc.fyi (error: no member named 'GetLogToDebug' in 'rtc::LogMessage') Original change's description: > Remove remaining mentions of gflags > > Bug: webrtc:7644 > Change-Id: I1906419e597fe6f80247e8def78c958f3759ba00 > Reviewed-on: https://webrtc-review.googlesource.com/2687 > Commit-Queue: Oleh Prypin <oprypin@webrtc.org> > Reviewed-by: Henrik Kjellander <kjellander@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#19938} TBR=kjellander@webrtc.org,oprypin@webrtc.org Change-Id: I0e4c7191a405e45c85d007bc385bee5de5b4d323 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:7644 Reviewed-on: https://webrtc-review.googlesource.com/3200 Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#19939}
71 lines
2.3 KiB
Plaintext
71 lines
2.3 KiB
Plaintext
# Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
import("//build/dotfile_settings.gni")
|
|
|
|
# The location of the build configuration file.
|
|
buildconfig = "//build/config/BUILDCONFIG.gn"
|
|
|
|
# The secondary source root is a parallel directory tree where
|
|
# GN build files are placed when they can not be placed directly
|
|
# in the source tree, e.g. for third party source trees.
|
|
secondary_source = "//build/secondary/"
|
|
|
|
# These are the targets to check headers for by default. The files in targets
|
|
# matching these patterns (see "gn help label_pattern" for format) will have
|
|
# their includes checked for proper dependencies when you run either
|
|
# "gn check" or "gn gen --check".
|
|
check_targets = [
|
|
"//api/*",
|
|
"//audio/*",
|
|
"//backup/*",
|
|
"//call/*",
|
|
"//common_audio/*",
|
|
"//common_video/*",
|
|
"//examples/*",
|
|
"//logging/*",
|
|
"//media/*",
|
|
"//modules/*",
|
|
"//ortc/*",
|
|
"//p2p/*",
|
|
"//pc/*",
|
|
"//rtc_base/*",
|
|
"//rtc_tools/*",
|
|
"//sdk/*",
|
|
"//stats/*",
|
|
"//system_wrappers/*",
|
|
"//test/*",
|
|
"//video/*",
|
|
"//voice_engine/*",
|
|
]
|
|
|
|
# These are the list of GN files that run exec_script. This whitelist exists
|
|
# to force additional review for new uses of exec_script, which is strongly
|
|
# discouraged except for gypi_to_gn calls.
|
|
exec_script_whitelist = build_dotfile_settings.exec_script_whitelist +
|
|
[ "//build_overrides/build.gni" ]
|
|
|
|
default_args = {
|
|
# Webrtc does not support component builds because we are not using the
|
|
# template "component" but we rely directly on "rtc_static_library" and
|
|
# "rtc_shared_library". This means that we cannot use the chromium default
|
|
# value for this argument.
|
|
# This also means that the user can override this value using --args or
|
|
# the args.gn file but this setting will be ignored because we don't support
|
|
# component builds.
|
|
is_component_build = false
|
|
|
|
mac_sdk_min = "10.12"
|
|
|
|
# WebRTC does not want to switch to C++14 yet.
|
|
use_cxx11 = true
|
|
|
|
# WebRTC relies on Chromium's Android test infrastructure.
|
|
use_cxx11_on_android = false
|
|
}
|