mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 06:40:43 +01:00

Manually - update the path to libc++, libunwind, and android_toolchain - update paths to licence files - add missing arg `use_perfetto_trace_processor` - use C++20 for android compilation (due to dependency on //base from the JNI generator) - only test on Android sdk version (21) due to non-hermetic test `TCPChannelClientTest` Change log:6b95b8aa08..80c35b98ae
Full diff:6b95b8aa08..80c35b98ae
Changed dependencies * fuchsia_version: version:13.20230714.0.1..version:14.20230804.1.1 * reclient_version: re_client_version:0.110.0.43ec6b1-gomaip..re_client_version:0.111.0.1ccaa23-gomaip * src/base:dcfe245ca1..4845bf859d
* src/build:b74cdc4550..c14d86f2ac
* src/buildtools:16be42a9ff..a9a6f0c49d
* src/buildtools/linux64: git_revision:fae280eabe5d31accc53100137459ece19a7a295..git_revision:811d332bd90551342c5cbd39e133aa276022d7f8 * src/buildtools/mac: git_revision:fae280eabe5d31accc53100137459ece19a7a295..git_revision:811d332bd90551342c5cbd39e133aa276022d7f8 * src/buildtools/reclient: re_client_version:0.110.0.43ec6b1-gomaip..re_client_version:0.111.0.1ccaa23-gomaip * src/buildtools/win: git_revision:fae280eabe5d31accc53100137459ece19a7a295..git_revision:811d332bd90551342c5cbd39e133aa276022d7f8 * src/ios:51a637843f..af5e59ca5c
* src/testing:b946312a89..43317e989d
* src/third_party:93b5f4c408..3b06b3cc29
* src/third_party/android_build_tools/manifest_merger: 8fr-1Vf_pfxN9ulzWVaZvIXggDgWDs-0dtlGA1Sue48C..d1tFnzOW6H5xoDN7WWsMuAiHuhkl0kXijQGiO7IU1VQC * src/third_party/androidx: y7rF_rx56mD3FGhMiqnlbQ6HOqHJ95xUFNX1m-_a988C..fKq4SHYaZsLkQtDQsKxkn2xysI5m1pLftMfADDOXsywC * src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/b98ce18c5b..e4acd6cb56 * src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/84e3795d98..220cbb13b5 * src/third_party/clang-format/script:f97059df7f..e5337933f2
* src/third_party/depot_tools:54e86436a8..6d0c235dae
* src/third_party/ffmpeg:881c5c3f64..0ba3773340
* src/third_party/fontconfig/src:06929a556f..2fb3419a92
* src/third_party/freetype/src:9e3c5d7e18..3829fdaae5
* src/third_party/icu:e8c3bc9ea9..de4ce0071e
* src/third_party/jdk: IivIDwNBf73mf7UwCOBceRUuDdtizMCgSOQDfUGHArsC..GCFtf5t6M4HlrHj6NXedHbpHp2xjgognF8ptNci4478C * src/third_party/libaom/source/libaom: https://aomedia.googlesource.com/aom.git/+log/af2b02ce05..92fb72a64e * src/third_party/libunwind/src:6c0013015b..b113f23e4c
* src/third_party/libvpx/source/libvpx:9ad950a9c4..e1c124f896
* src/third_party/perfetto:ab16995d92..446adf5b7b
* src/third_party/r8: O1BBWiBTIeNUcraX8STMtQXVaCleu6SJJjWCcnfhPLkC..dbml4pnGIsEBy3dFYki-S8IYt4jxxqZXaUDwtY3Q-SgC * src/third_party/turbine: 2I2Nz480QsuCxpQ1lMfbigX8l5HAhX3_ykWU4TKRGo4C..HFp7iOu-n4-CdEasFTQZvD1Vg1L-q1URqRTOM-iZ2AMC * src/tools:4057b98943..e3244f7e27
* src/tools/luci-go: git_revision:f02582af78f530a7bbfe2f059fa5d211c9517756..git_revision:e608c1f557fceae8eb6cf35ae2ad6f4908e35245 * src/tools/luci-go: git_revision:f02582af78f530a7bbfe2f059fa5d211c9517756..git_revision:e608c1f557fceae8eb6cf35ae2ad6f4908e35245 DEPS diff:6b95b8aa08..80c35b98ae
/DEPS No update to Clang. BUG=b/295113672, b/294976628 Change-Id: I1ce70f570843bc98c480abba7babfa34c1e869e0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/315181 Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40532}
68 lines
2.9 KiB
Text
68 lines
2.9 KiB
Text
# Copyright (c) 2016 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.
|
|
|
|
# Some non-Chromium builds don't support building java targets.
|
|
enable_java_templates = true
|
|
|
|
# Enables assertions on safety checks in libc++.
|
|
enable_safe_libcxx = true
|
|
|
|
# Don't set this variable to true when building stadalone WebRTC, it is
|
|
# only needed to support both WebRTC standalone and Chromium builds.
|
|
build_with_chromium = false
|
|
|
|
use_cxx17 = !is_android
|
|
|
|
# Use our own suppressions files.
|
|
asan_suppressions_file = "//build/sanitizers/asan_suppressions.cc"
|
|
lsan_suppressions_file = "//tools_webrtc/sanitizers/lsan_suppressions_webrtc.cc"
|
|
tsan_suppressions_file = "//tools_webrtc/sanitizers/tsan_suppressions_webrtc.cc"
|
|
msan_ignorelist_path =
|
|
rebase_path("//tools_webrtc/msan/suppressions.txt", root_build_dir)
|
|
ubsan_ignorelist_path =
|
|
rebase_path("//tools_webrtc/ubsan/suppressions.txt", root_build_dir)
|
|
ubsan_vptr_ignorelist_path =
|
|
rebase_path("//tools_webrtc/ubsan/vptr_suppressions.txt", root_build_dir)
|
|
|
|
# For Chromium, Android 32-bit non-component, non-clang builds hit a 4GiB size
|
|
# limit, making them requiring symbol_level=2. WebRTC doesn't hit that problem
|
|
# so we just ignore that assert. See https://crbug.com/648948 for more info.
|
|
ignore_elf32_limitations = true
|
|
|
|
# Use bundled hermetic Xcode installation maintainted by Chromium,
|
|
# except for local iOS builds where it's unsupported.
|
|
# Allow for mac cross compile on linux machines.
|
|
if (host_os == "mac" || host_os == "linux") {
|
|
_result = exec_script("//build/mac/should_use_hermetic_xcode.py",
|
|
[ target_os ],
|
|
"value")
|
|
assert(_result != 2,
|
|
"Do not allow building targets with the default " +
|
|
"hermetic toolchain if the minimum OS version is not met.")
|
|
use_system_xcode = _result == 0
|
|
}
|
|
|
|
declare_args() {
|
|
# WebRTC doesn't depend on //base from production code but only for testing
|
|
# purposes. In any case, it doesn't depend on //third_party/perfetto which
|
|
# is used for base tracing, so this feature is disabled.
|
|
enable_base_tracing = false
|
|
use_perfetto_client_library = false
|
|
use_perfetto_trace_processor = false
|
|
|
|
# Limits the defined //third_party/android_deps targets to only "buildCompile"
|
|
# and "buildCompileNoDeps" targets. This is useful for third-party
|
|
# repositories which do not use JUnit tests. For instance,
|
|
# limit_android_deps == true removes "gn gen" requirement for
|
|
# //third_party/robolectric .
|
|
limit_android_deps = false
|
|
|
|
# If true, it assumes that //third_party/abseil-cpp is an available
|
|
# dependency for googletest.
|
|
gtest_enable_absl_printers = true
|
|
}
|