Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

79 lines
2.6 KiB
Plaintext
Raw Normal View History

# 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 = [
":webrtc_common",
"//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/*",
"//third_party/libyuv/*",
]
# 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" ]
Reland of Setting is_component_build to false by default (patchset #1 id:1 of https://codereview.webrtc.org/2731703004/ ) Reason for revert: Trying to fix this skipping the check if we are building webrtc within chromium. Original issue's description: > Revert of Setting is_component_build to false by default (patchset #5 id:80001 of https://codereview.webrtc.org/2728643003/ ) > > Reason for revert: > Breaks chrome rolls > > Original issue's description: > > Setting is_component_build to false by default > > > > Webrtc does not support component builds so we want to override > > the chromium default value (which can be true on debug builds if the > > os is different from iOS). > > > > Please note that the user can set this value to true in two ways: > > > > - using --args (e.g.: gn gen out/default --args='is_component_build=true' > > - changing the value in the args.gn file > > > > But in both cases the value will be ignored because we don't use the > > 'component' template but we rely directly on 'rtc_static_library' and > > 'rtc_shared_library'. > > > > BUG=webrtc:6975 > > NOTRY=True > > > > Review-Url: https://codereview.webrtc.org/2728643003 > > Cr-Commit-Position: refs/heads/master@{#17020} > > Committed: https://chromium.googlesource.com/external/webrtc/+/2cb3944ba7e4467601ebd94888e1811a6d77be49 > > TBR=kjellander@webrtc.org,mbonadei@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:6975 > > Review-Url: https://codereview.webrtc.org/2731703004 > Cr-Commit-Position: refs/heads/master@{#17025} > Committed: https://chromium.googlesource.com/external/webrtc/+/2d9e7685a59c05e62c23d7125064c8e5c1f88edb TBR=kjellander@webrtc.org,tommi@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:6975 Review-Url: https://codereview.webrtc.org/2729243003 Cr-Commit-Position: refs/heads/master@{#17027}
2017-03-03 19:41:59 -08:00
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"
Roll chromium_revision 5df4e1bfe7..5bd5874cbf (518692:519731) + iOS fix Pin iOS version to 9.0, to avoid the upstream change to 10.0 Change log: https://chromium.googlesource.com/chromium/src/+log/5df4e1bfe7..5bd5874cbf Full diff: https://chromium.googlesource.com/chromium/src/+/5df4e1bfe7..5bd5874cbf Changed dependencies: * src/base: https://chromium.googlesource.com/chromium/src/base/+log/4843599735..fc034c4143 * src/build: https://chromium.googlesource.com/chromium/src/build/+log/99653454ee..f0766940d5 * src/ios: https://chromium.googlesource.com/chromium/src/ios/+log/7287c9baeb..49bd74cee7 * src/testing: https://chromium.googlesource.com/chromium/src/testing/+log/60c665fffe..373652d16f * src/third_party: https://chromium.googlesource.com/chromium/src/third_party/+log/6a94dad699..34c5bb433a * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/2ffb57b102..230a61040f * src/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/7d9d9233cb..1b30125fbc * src/third_party/ffmpeg: https://chromium.googlesource.com/chromium/third_party/ffmpeg.git/+log/abead8cbcf..9cb03e5705 * src/third_party/icu: https://chromium.googlesource.com/chromium/deps/icu.git/+log/5ed26985c0..741688ebf3 * src/third_party/libvpx/source/libvpx: https://chromium.googlesource.com/webm/libvpx.git/+log/ea14a1a965..cbe62b9c2d * src/tools: https://chromium.googlesource.com/chromium/src/tools/+log/4e917ad6ac..8d915c324e DEPS diff: https://chromium.googlesource.com/chromium/src/+/5df4e1bfe7..5bd5874cbf/DEPS No update to Clang. TBR=marpan@webrtc.org CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal Bug: webrtc:8570, webrtc:8580 Change-Id: I36440e0e1a3b3daac767e196acd5bfadb4eb6d9c Reviewed-on: https://webrtc-review.googlesource.com/26026 Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20919}
2017-11-28 18:47:21 +01:00
# http://bugs.webrtc.org/8570
ios_deployment_target = "9.0"
# WebRTC does not want to switch to C++14 yet.
use_cxx11 = true
Roll chromium_revision d323a482ee..7114a66134 (494468:497367) manually * Enable workaround for building Android with C++14. * Disable build hooks for WebRTC on Android. Change log: https://chromium.googlesource.com/chromium/src/+log/d323a482ee..7114a66134 Full diff: https://chromium.googlesource.com/chromium/src/+/d323a482ee..7114a66134 Changed dependencies: * src/base: https://chromium.googlesource.com/chromium/src/base/+log/66d3c08e82..0b41aca75a * src/build: https://chromium.googlesource.com/chromium/src/build/+log/2a5e6515a5..a2a451d3c0 * src/buildtools: https://chromium.googlesource.com/chromium/buildtools.git/+log/ceb050498e..5af0a3a8b8 * src/ios: https://chromium.googlesource.com/chromium/src/ios/+log/2085f316c1..0a0ac63bd3 * src/testing: https://chromium.googlesource.com/chromium/src/testing/+log/3127a16731..8a25f55d8b * src/third_party: https://chromium.googlesource.com/chromium/src/third_party/+log/b4122f732f..8c0e65fa05 * src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/f4ecc84644..ae9f0616c5 * src/third_party/catapult: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/d27175a044..f8acf3b642 * src/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/6d0d04458d..e081cbe5aa * src/third_party/icu: https://chromium.googlesource.com/chromium/deps/icu.git/+log/98218d1e92..08cb956852 * src/third_party/libvpx/source/libvpx: https://chromium.googlesource.com/webm/libvpx.git/+log/cbb83ba4aa..6b9c691daf * src/tools: https://chromium.googlesource.com/chromium/src/tools/+log/5730fb2d3f..3e167a7bd3 DEPS diff: https://chromium.googlesource.com/chromium/src/+/d323a482ee..7114a66134/DEPS No update to Clang. TBR=marpan@webrtc.org, BUG=webrtc:8148 CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal Review-Url: https://codereview.webrtc.org/3003393002 Cr-Commit-Position: refs/heads/master@{#19517}
2017-08-25 06:21:52 -07:00
# WebRTC relies on Chromium's Android test infrastructure.
use_cxx11_on_android = false
# WebRTC does not provide the gflags dependency. Because libyuv uses it only
# for unittests, it can be disabled (see third_party/libyuv/BUILD.gn)
libyuv_use_gflags = false
Reland of Setting is_component_build to false by default (patchset #1 id:1 of https://codereview.webrtc.org/2731703004/ ) Reason for revert: Trying to fix this skipping the check if we are building webrtc within chromium. Original issue's description: > Revert of Setting is_component_build to false by default (patchset #5 id:80001 of https://codereview.webrtc.org/2728643003/ ) > > Reason for revert: > Breaks chrome rolls > > Original issue's description: > > Setting is_component_build to false by default > > > > Webrtc does not support component builds so we want to override > > the chromium default value (which can be true on debug builds if the > > os is different from iOS). > > > > Please note that the user can set this value to true in two ways: > > > > - using --args (e.g.: gn gen out/default --args='is_component_build=true' > > - changing the value in the args.gn file > > > > But in both cases the value will be ignored because we don't use the > > 'component' template but we rely directly on 'rtc_static_library' and > > 'rtc_shared_library'. > > > > BUG=webrtc:6975 > > NOTRY=True > > > > Review-Url: https://codereview.webrtc.org/2728643003 > > Cr-Commit-Position: refs/heads/master@{#17020} > > Committed: https://chromium.googlesource.com/external/webrtc/+/2cb3944ba7e4467601ebd94888e1811a6d77be49 > > TBR=kjellander@webrtc.org,mbonadei@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:6975 > > Review-Url: https://codereview.webrtc.org/2731703004 > Cr-Commit-Position: refs/heads/master@{#17025} > Committed: https://chromium.googlesource.com/external/webrtc/+/2d9e7685a59c05e62c23d7125064c8e5c1f88edb TBR=kjellander@webrtc.org,tommi@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:6975 Review-Url: https://codereview.webrtc.org/2729243003 Cr-Commit-Position: refs/heads/master@{#17027}
2017-03-03 19:41:59 -08:00
}