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

Issue 1412653006: Fix Visual Studio 2015 WebRtc x86 build. (Closed)

Created:
5 years, 1 month ago by GeneralFault
Modified:
4 years, 10 months ago
CC:
aluebs-webrtc, andresp, Andrew MacDonald, bjornv1, kwiberg-webrtc, mflodman, niklas.enbom, peah-webrtc, perkj_webrtc, qiang.lu, the sun, stefan-webrtc, tterriberry_mozilla.com, webrtc-reviews_webrtc.org, yujie_mao (webrtc)
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix WebRtc ninja x86 build using Visual Studio 2015 (set GYP_MSVS_VERSION=2015). Visual Studio 2015 balks at the implicit truncation of values. Easily fixed with an explicit cast. Fixed redefinition of CLOCKS_PER_SEC when using Visual Studio 2015 and the Windows 10 SDK. CLOCKS_PER_SEC is also defined in "<WIN10 SDK DIR>\include\10.0.10240.0\ucrt\time.h" and also has the value of 1000 Hiding snprintf definition if building with Visual Studio 2015 Fixed C4573 compiler complaint in audio_processing_impl_locking_unittest.cc. BUG=webrtc:5183 Committed: https://crrev.com/3f70562bbbc217d292c745143b07f9139a6a6f0b Cr-Commit-Position: refs/heads/master@{#11434}

Patch Set 1 #

Patch Set 2 : Fix the Visual Studio 2015 build #

Total comments: 1

Patch Set 3 : convention compliance #

Total comments: 4

Patch Set 4 : PTAL #

Patch Set 5 : Another line-ending fix #

Total comments: 1

Patch Set 6 : PTAL #

Patch Set 7 : Added comments for VS2015 compiler bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M AUTHORS View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/logging.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c View 1 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl_locking_unittest.cc View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/transient/file_utils_unittest.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (11 generated)
GeneralFault
A revert of this CL (patchset #1 id:1) has been created in https://codereview.webrtc.org/1412363004/ by conceptgenesis@gmail.com. ...
5 years, 1 month ago (2015-11-08 07:33:00 UTC) #1
GeneralFault
The purpose of this change is to allow the use of the WebRtc native API ...
5 years, 1 month ago (2015-11-08 08:06:23 UTC) #2
GeneralFault
BUG=webrtc:5183
5 years, 1 month ago (2015-11-08 08:07:28 UTC) #3
tommi
On 2015/11/08 07:33:00, GeneralFault wrote: > A revert of this CL (patchset #1 id:1) has ...
5 years, 1 month ago (2015-11-08 09:01:22 UTC) #4
GeneralFault
On 2015/11/08 at 09:01:22, tommi wrote: > On 2015/11/08 07:33:00, GeneralFault wrote: > > A ...
5 years, 1 month ago (2015-11-08 20:52:57 UTC) #5
GeneralFault
Added reviewers.
5 years, 1 month ago (2015-11-08 21:12:37 UTC) #7
GeneralFault
I'm trying to get the hang of this codereview system. I apologize if anybody is ...
5 years, 1 month ago (2015-11-08 21:14:42 UTC) #9
hlundin-webrtc
https://codereview.webrtc.org/1412653006/diff/20001/webrtc/modules/audio_processing/transient/file_utils_unittest.cc File webrtc/modules/audio_processing/transient/file_utils_unittest.cc (right): https://codereview.webrtc.org/1412653006/diff/20001/webrtc/modules/audio_processing/transient/file_utils_unittest.cc#newcode368 webrtc/modules/audio_processing/transient/file_utils_unittest.cc:368: written_buffer[0] = (float)kPi; Please, use static_cast<float)>(kPi) and so on.
5 years, 1 month ago (2015-11-11 15:59:38 UTC) #10
GeneralFault
On 2015/11/11 at 15:59:38, henrik.lundin wrote: > https://codereview.webrtc.org/1412653006/diff/20001/webrtc/modules/audio_processing/transient/file_utils_unittest.cc > File webrtc/modules/audio_processing/transient/file_utils_unittest.cc (right): > > https://codereview.webrtc.org/1412653006/diff/20001/webrtc/modules/audio_processing/transient/file_utils_unittest.cc#newcode368 ...
4 years, 11 months ago (2015-12-29 18:02:56 UTC) #12
hlundin-webrtc
On 2015/12/29 18:02:56, GeneralFault wrote: > On 2015/11/11 at 15:59:38, henrik.lundin wrote: > > > ...
4 years, 11 months ago (2016-01-07 12:52:58 UTC) #13
tommi
lgtm
4 years, 11 months ago (2016-01-07 12:56:20 UTC) #14
mflodman
LGTM for payload_router_unittest.cc
4 years, 11 months ago (2016-01-21 06:32:32 UTC) #15
tlegrand-webrtc
Thanks for fixing this! A few things you need to fix before it's ready to ...
4 years, 11 months ago (2016-01-21 14:54:06 UTC) #16
mflodman
https://codereview.webrtc.org/1412653006/diff/40001/webrtc/video_engine/payload_router_unittest.cc File webrtc/video_engine/payload_router_unittest.cc (right): https://codereview.webrtc.org/1412653006/diff/40001/webrtc/video_engine/payload_router_unittest.cc#newcode144 webrtc/video_engine/payload_router_unittest.cc:144: const uint16_t kDefaultMaxLength = 1500 - 20 - 8 ...
4 years, 11 months ago (2016-01-22 08:33:04 UTC) #17
GeneralFault
On 2016/01/22 at 08:33:04, mflodman wrote: > https://codereview.webrtc.org/1412653006/diff/40001/webrtc/video_engine/payload_router_unittest.cc > File webrtc/video_engine/payload_router_unittest.cc (right): > > https://codereview.webrtc.org/1412653006/diff/40001/webrtc/video_engine/payload_router_unittest.cc#newcode144 ...
4 years, 11 months ago (2016-01-27 07:24:29 UTC) #18
tlegrand-webrtc
On 2016/01/27 07:24:29, GeneralFault wrote: > On 2016/01/22 at 08:33:04, mflodman wrote: > > > ...
4 years, 11 months ago (2016-01-27 12:30:15 UTC) #20
tlegrand-webrtc
Regarding the new compiler error, I'm worried we'll not be able to make sure we're ...
4 years, 11 months ago (2016-01-27 12:39:43 UTC) #21
GeneralFault
On 2016/01/27 at 12:39:43, tina.legrand wrote: > Regarding the new compiler error, I'm worried we'll ...
4 years, 11 months ago (2016-01-28 01:11:45 UTC) #22
GeneralFault
On 2016/01/28 at 01:11:45, GeneralFault wrote: > On 2016/01/27 at 12:39:43, tina.legrand wrote: > > ...
4 years, 11 months ago (2016-01-28 02:03:09 UTC) #23
tlegrand-webrtc
On 2016/01/28 02:03:09, GeneralFault wrote: > On 2016/01/28 at 01:11:45, GeneralFault wrote: > > On ...
4 years, 10 months ago (2016-01-29 12:22:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412653006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412653006/120001
4 years, 10 months ago (2016-01-29 15:35:19 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 10 months ago (2016-01-29 17:35:45 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412653006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412653006/120001
4 years, 10 months ago (2016-01-30 05:39:13 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-30 05:44:00 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412653006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412653006/120001
4 years, 10 months ago (2016-01-30 21:36:16 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 10 months ago (2016-01-30 22:40:50 UTC) #36
commit-bot: I haz the power
4 years, 10 months ago (2016-01-30 22:41:01 UTC) #38
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3f70562bbbc217d292c745143b07f9139a6a6f0b
Cr-Commit-Position: refs/heads/master@{#11434}

Powered by Google App Engine
This is Rietveld 408576698