Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 3007253002: Remove typedefs.h from webrtc/ root (part 1)

Created:
3 years, 3 months ago by the sun
Modified:
3 years, 3 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), zhuangzesen_agora.io, tlegrand-webrtc, qiang.lu, peah-webrtc, bjornv1, video-team_agora.io, AleBzk, tterriberry_mozilla.com, sdk-team_agora.io, minyue-webrtc, mflodman, Andrew MacDonald, zhengzhonghou_agora.io, stefan-webrtc, kwiberg-webrtc, interface-changes_webrtc.org, danilchap, henrika_webrtc, audio-team_agora.io, hlundin-webrtc, niklas.enbom, aluebs-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove typedefs.h from webrtc/ root (part 1) Split out webrtc-specific #defines from typedefs.h, into rtc_base/annotations.h and rtc_base/arch.h. Also removes the curiously named WEBRTC_CPU_DETECTION #define. BUG=webrtc:6854 Review-Url: https://codereview.webrtc.org/3007253002 Cr-Commit-Position: refs/heads/master@{#19752} Committed: https://chromium.googlesource.com/external/webrtc/+/a895836321e68b67ca2081c3bdbf6c08d8ee4b57

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Total comments: 1

Patch Set 3 : git cl format on checks.cc #

Patch Set 4 : backwards compatible FALLTHROUGH #define #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -127 lines) Patch
M webrtc/common_audio/resampler/sinc_resampler.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_audio/resampler/sinc_resampler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_device/ios/voice_processing_audio_unit.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/test/bwe.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/jitter_buffer.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/rtp_frame_reference_finder.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/rtc_base/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/rtc_base/annotations.h View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A webrtc/rtc_base/arch.h View 1 1 chunk +58 lines, -0 lines 0 comments Download
M webrtc/rtc_base/checks.h View 3 chunks +12 lines, -4 lines 0 comments Download
M webrtc/rtc_base/checks.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/rtc_base/httpbase.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/typedefs.h View 1 chunk +3 lines, -107 lines 0 comments Download
M webrtc/video/rtp_video_stream_receiver.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/video_stream_encoder.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
the sun
3 years, 3 months ago (2017-09-08 07:07:57 UTC) #2
kwiberg-webrtc
https://codereview.webrtc.org/3007253002/diff/1/webrtc/rtc_base/annotations.h File webrtc/rtc_base/annotations.h (right): https://codereview.webrtc.org/3007253002/diff/1/webrtc/rtc_base/annotations.h#newcode2 webrtc/rtc_base/annotations.h:2: * Copyright (c) 2017 The WebRTC project authors. All ...
3 years, 3 months ago (2017-09-08 11:11:34 UTC) #3
the sun
https://codereview.webrtc.org/3007253002/diff/1/webrtc/rtc_base/annotations.h File webrtc/rtc_base/annotations.h (right): https://codereview.webrtc.org/3007253002/diff/1/webrtc/rtc_base/annotations.h#newcode2 webrtc/rtc_base/annotations.h:2: * Copyright (c) 2017 The WebRTC project authors. All ...
3 years, 3 months ago (2017-09-08 13:28:04 UTC) #4
kwiberg-webrtc
lgtm https://codereview.webrtc.org/3007253002/diff/20001/webrtc/rtc_base/checks.cc File webrtc/rtc_base/checks.cc (right): https://codereview.webrtc.org/3007253002/diff/20001/webrtc/rtc_base/checks.cc#newcode139 webrtc/rtc_base/checks.cc:139: RTC_NO_RETURN void rtc_FatalMessage(const char* file, int line, const ...
3 years, 3 months ago (2017-09-08 13:30:05 UTC) #5
the sun
On 2017/09/08 13:30:05, kwiberg-webrtc wrote: > lgtm > > https://codereview.webrtc.org/3007253002/diff/20001/webrtc/rtc_base/checks.cc > File webrtc/rtc_base/checks.cc (right): > ...
3 years, 3 months ago (2017-09-08 13:34:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3007253002/40001
3 years, 3 months ago (2017-09-08 13:35:11 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/a895836321e68b67ca2081c3bdbf6c08d8ee4b57
3 years, 3 months ago (2017-09-08 15:51:02 UTC) #12
kjellander_webrtc
3 years, 3 months ago (2017-09-08 18:00:12 UTC) #13
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.webrtc.org/3013543002/ by kjellander@webrtc.org.

The reason for reverting is: Breaks the Chromium WebRTC FYI bots:
https://build.chromium.org/p/chromium.webrtc.fyi/builders/ios-simulator/build...
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Win%20Builder/build...

Example:
FAILED:
obj/third_party/libjingle_xmpp/libjingle_xmpp_unittests/xmpplogintask_unittest.obj

ninja -t msvc -e environment.x86 -- E:\b\c\goma_client/gomacc.exe
"e:\b\c\win_toolchain\vs_files\f53e4598951162bad6330f7a167486c7ae5db1e5\vc\bin\amd64_x86/cl.exe"
/nologo /showIncludes 
@obj/third_party/libjingle_xmpp/libjingle_xmpp_unittests/xmpplogintask_unittest.obj.rsp
/c ../../third_party/libjingle_xmpp/xmpp/xmpplogintask_unittest.cc
/Foobj/third_party/libjingle_xmpp/libjingle_xmpp_unittests/xmpplogintask_unittest.obj
/Fd"obj/third_party/libjingle_xmpp/libjingle_xmpp_unittests_cc.pdb"
../../third_party/libjingle_xmpp/xmpp/xmpplogintask_unittest.cc(95): error
C3861: 'FALLTHROUGH': identifier not found

.

Powered by Google App Engine
This is Rietveld 408576698