文件最后提交记录最后更新时间
Use generate_stubs without //base dependency For this I added a header called no_cfi_icall.h and use it. Also, some files use the gio header, but if the //base dependency is not used, compilation errors occur. So I added an explicit dependency on gio. Bug: webrtc:13662 Change-Id: If732ede202dd413be6702bf06bf024cd203fdae2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267340 Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37395} 3 年前
Delete unused ScopedRegisterThreadForDebugging facility Bug: webrtc:6424 Change-Id: I3564d204e8c886ce53e82426ef1d3896d7f6409d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258021 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36441} 4 年前
loongarch: Add loongarch architecture support. Copied from chromium's build/build_config.h No-Try: True Bug: webrtc:14433 Change-Id: I5ab4dbb49bd74aa8f6f6054776d9f1f3d606d914 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275288 Owners-Override: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Andrey Logvin <landrey@google.com> Cr-Commit-Position: refs/heads/main@{#38067} 3 年前
Reformat the WebRTC code base Running clang-format with chromium's style guide. The goal is n-fold: * providing consistency and readability (that's what code guidelines are for) * preventing noise with presubmit checks and git cl format * building on the previous point: making it easier to automatically fix format issues * you name it Please consider using git-hyper-blame to ignore this commit. Bug: webrtc:9340 Change-Id: I694567c4cdf8cee2860958cfe82bfaf25848bb87 Reviewed-on: https://webrtc-review.googlesource.com/81185 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23660}7 年前
Proof of concept: Cancer Stick Castle, a sigslot replacement This needs to be followed immediately by a CL that adds unit tests for CancerStickCastle and UntypedFunction. Bug: none Change-Id: I5ade68cc4721d7442db7695f218ecd9be1d639ba Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/182460 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Lahiru Ginnaliya Gamathige <glahiru@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32085} 5 年前
Get rid of thread_darwin file. This file has been causing problems for the build. ObjC was required for a few methods because autoreleasepools are necessary on new threads if those threads will be running objc code. This CL introduces a workaround by using ObjC runtime C APIs to create and drain autoreleasepools, but this comes with the cost of relying on an internal API that may break on future OS/clang releases. Bug: webrtc:9838 Change-Id: I18e765020c20c096c9ef8d80dfa82375ecb202ff Reviewed-on: https://webrtc-review.googlesource.com/c/105301 Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25141}7 年前
Get rid of thread_darwin file. This file has been causing problems for the build. ObjC was required for a few methods because autoreleasepools are necessary on new threads if those threads will be running objc code. This CL introduces a workaround by using ObjC runtime C APIs to create and drain autoreleasepools, but this comes with the cost of relying on an internal API that may break on future OS/clang releases. Bug: webrtc:9838 Change-Id: I18e765020c20c096c9ef8d80dfa82375ecb202ff Reviewed-on: https://webrtc-review.googlesource.com/c/105301 Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25141}7 年前
Take out callback that modifies voice receive codec based on send codec No functionality that depends on this information has been identified; no tests break when it is taken out. Bug: webrtc:15224 Change-Id: I37298479c6b8a4acb82f59d32130c105371936b4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324760 Reviewed-by: Florent Castelli <orphis@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41037} 2 年前
Fix missing include. Bug: webrtc:15556 Change-Id: I18d0010333c4e5bb2ee9bb07a4320101e87cc0b6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/323641 Commit-Queue: Björn Terelius <terelius@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40942} 2 年前
Add FileSize method to FileWrapper Bug: webrtc:11933 Change-Id: I8d8dfc29aefa0208cf4ad64c86bb9f45251be757 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/212966 Commit-Queue: Björn Terelius <terelius@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33566} 5 年前
Reland "Leverage dispatch_queue_create_with_target when possible." This is a reland of de86381161651816c078adeb354902b15d03a35b Original change's description: > Leverage dispatch_queue_create_with_target when possible. > > Replacing dispatch_queue_create followed by > dispatch_set_target_queue with dispatch_queue_create_with_target > is claimed to be source of GCD performance improvement: > https://developer.apple.com/videos/play/wwdc2017/706/ > Video since 40 min. Slides since 199. > > Bug: webrtc:9055 > Change-Id: I0136f7faaef0951a7ad243bc8772f3ee952d5470 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168491 > Reviewed-by: Tommi <tommi@webrtc.org> > Reviewed-by: Kári Helgason <kthelgason@webrtc.org> > Commit-Queue: Yura Yaroshevich <yura.yaroshevich@gmail.com> > Cr-Commit-Position: refs/heads/master@{#30781} Bug: webrtc:9055 Change-Id: I36b0b6423c81c0497f66f7c993741c33ff6ec5ba Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170443 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30821} 6 年前
Wrap WebRTC OBJC API types with RTC_OBJC_TYPE. This CL introduced 2 new macros that affect the WebRTC OBJC API symbols: - RTC_OBJC_TYPE_PREFIX: Macro used to prepend a prefix to the API types that are exported with RTC_OBJC_EXPORT. Clients can patch the definition of this macro locally and build WebRTC.framework with their own prefix in case symbol clashing is a problem. This macro must only be defined by changing the value in sdk/objc/base/RTCMacros.h and not on via compiler flag to ensure it has a unique value. - RCT_OBJC_TYPE: Macro used internally to reference API types. Declaring an API type without using this macro will not include the declared type in the set of types that will be affected by the configurable RTC_OBJC_TYPE_PREFIX. Manual changes: https://webrtc-review.googlesource.com/c/src/+/173781/5..10 The auto-generated changes in PS#5 have been done with: https://webrtc-review.googlesource.com/c/src/+/174061. Bug: None Change-Id: I0d54ca94db764fb3b6cb4365873f79e14cd879b8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173781 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31153} 5 年前
Break out the part of the iSAC codec that's used for Voice Activity Detection The audio processing code is using parts of the iSAC codec to do voice activity detection (VAD), but it's undesirable for it to pull in the entire iSAC codec as a dependency. So this CL factors out the parts of iSAC that's needed for VAD to a separate build target. Bug: webrtc:8396 Change-Id: I884e25d8fd0bc815fca664352b0573b4b173880e Reviewed-on: https://webrtc-review.googlesource.com/69640 Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23110}7 年前
RTC_LOG_* macros: Implement argument passing with a single variadic call Instead of making multiple calls to the std::stringstream << operator, collect all the arguments and make a single printf-like variadic call under the hood. Besides reducing our reliance on iostreams, this makes each RTC_LOG_* call site smaller; in aggregate, this reduces the size of libjingle_peerconnection_so.so by 28-32 kB. A quick benchmark indicates that this change makes log statements a few percent slower. Bug: webrtc:8982, webrtc:9185 Change-Id: I3137a4dd8ac510e8d910acccb0c97ce4fffb61c9 Reviewed-on: https://webrtc-review.googlesource.com/75440 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Jonas Olsson <jonasolsson@webrtc.org> Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23375}7 年前
Use generate_stubs without //base dependency For this I added a header called no_cfi_icall.h and use it. Also, some files use the gio header, but if the //base dependency is not used, compilation errors occur. So I added an explicit dependency on gio. Bug: webrtc:13662 Change-Id: If732ede202dd413be6702bf06bf024cd203fdae2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267340 Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37395} 3 年前
Fix downstream review comments for C++20 This CL addresses the review comments for https://webrtc-review.googlesource.com/c/src/+/261221 in the downstream cherry-pick: https://crrev.com/c/4660950. * Always use size_t{} for casting. * Remove unneeded size_t casts. * Avoid using __x as it is reserved for the compiler. Bug: b:217226507 Change-Id: I13c57cb69d7db066ac9a6dbd15b7f6de54abb613 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/311360 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Li-Yu Yu <aaronyu@google.com> Cr-Commit-Position: refs/heads/main@{#40395} 2 年前
Add rtc_enable_symbol_export to incrementally create a WebRTC component. In order to implement a WebRTC component in Chromium, WebRTC needs to export some symbols. If RTC_EXPORT relies on COMPONENT_BUILD to mark symbols as exported or imported, it will not be possible to incrementally add RTC_EXPORT because the Chromium build will break (two Chromium components that export a symbol or no component that exports it). By using rtc_enable_symbol_export (which makes GN define WEBRTC_ENABLE_SYMBOL_EXPORT), WebRTC will be able to incrementally mark symbols with RTC_EXPORT and flip the value of rtc_enable_symbol_export in the Chromium build when everything will be ready. Bug: webrtc:9419 Change-Id: I57ab63c53545c500eaaefd75c112b4674aa7cf19 Reviewed-on: https://webrtc-review.googlesource.com/c/104980 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25087}7 年前
Add RTC_EXPORT_TEMPLATE_{DECLARE,DEFINE} macros. This CL adds macros to correctly export template instantiation declarations and definitions. These macros have been borrowed from Chromium's //base/export_template.h [1] and are supposed to be used together with RTC_EXPORT [2]. The goal is to start using explicit template instatiation declarations (introduced in C++11) [3] and remove workarounds that are not compatible with all the compilers. An example can be found in [4], where in order to workaround crbug.com/1018579, another workaround was almost created before being stopped at code review time. [1] - https://cs.chromium.org/chromium/src/base/export_template.h [2] - https://cs.chromium.org/chromium/src/third_party/webrtc/rtc_base/system/rtc_export.h [3] - https://en.cppreference.com/w/cpp/language/class_template#Explicit_instantiation [4] - https://webrtc-review.googlesource.com/c/src/+/158674 Bug: webrtc:9419 Change-Id: I2e9287a15e28f619462e0b9a5deb0b672be248c6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158742 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29661} 6 年前
Fix -Wunused-but-set-variable Bug: chromium:1203071 Change-Id: I338bd31ab0e74751f2c0abd5d441ea03ac33dead Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/237880 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35350} 4 年前
rtc::Event::Wait(kForever): Print stack trace when we deadlock After being stuck "forever" (3 seconds) waiting for an event to trigger, log the stack trace of the current thread to aid debugging of the deadlock. Bug: webrtc:10308 Change-Id: I04852f191027294d7e7a7f5e63de4c6c7fdd6326 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128342 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27263}7 年前
rtc::Event::Wait(kForever): Print stack trace when we deadlock After being stuck "forever" (3 seconds) waiting for an event to trigger, log the stack trace of the current thread to aid debugging of the deadlock. Bug: webrtc:10308 Change-Id: I04852f191027294d7e7a7f5e63de4c6c7fdd6326 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128342 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27263}7 年前