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

Issue 1473713004: Fix fuzzer breakage in Chromium. (Closed)

Created:
5 years ago by pbos-webrtc
Modified:
5 years ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix fuzzer breakage in Chromium. Removes log disabling under Chromium which doesn't compile due to missing LS_INFO in the override log implementation. Also removes dependency on webrtc/test/BUILD.gn which doesn't build in Chromium (due to third_party/gflags not being present). Instead the no-op implementation of field_trials in system_wrappers is used. BUG=chromium:561667, webrtc:4771 R=kjellander@webrtc.org TBR=henrikg@webrtc.org Committed: https://crrev.com/89d658f6b4d5efabf35b50cb050f13e37cfb0cfd Cr-Commit-Position: refs/heads/master@{#10793}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M webrtc/test/fuzzers/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/fuzzers/webrtc_fuzzer_main.cc View 2 chunks +17 lines, -5 lines 3 comments Download

Messages

Total messages: 16 (8 generated)
pbos-webrtc
PTAL, this doesn't build on any trybots so a CQ is useless. (I tested this ...
5 years ago (2015-11-25 20:47:48 UTC) #1
kjellander_webrtc
webrtc/test/fuzzers/BUILD.gn: lgtm I prefer to stay out of the logging business :) Please have someone ...
5 years ago (2015-11-25 20:56:37 UTC) #6
pbos-webrtc
TBR=henrikg@ for the log disabling
5 years ago (2015-11-25 20:57:34 UTC) #9
pbos-webrtc
Committed patchset #1 (id:1) manually as 89d658f6b4d5efabf35b50cb050f13e37cfb0cfd (presubmit successful).
5 years ago (2015-11-25 20:58:48 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/89d658f6b4d5efabf35b50cb050f13e37cfb0cfd Cr-Commit-Position: refs/heads/master@{#10793}
5 years ago (2015-11-25 20:58:53 UTC) #13
Henrik Grunell WebRTC
https://codereview.webrtc.org/1473713004/diff/1/webrtc/test/fuzzers/webrtc_fuzzer_main.cc File webrtc/test/fuzzers/webrtc_fuzzer_main.cc (right): https://codereview.webrtc.org/1473713004/diff/1/webrtc/test/fuzzers/webrtc_fuzzer_main.cc#newcode26 webrtc/test/fuzzers/webrtc_fuzzer_main.cc:26: #if !defined(WEBRTC_CHROMIUM_BUILD) Do you plan to modify this function ...
5 years ago (2015-11-26 12:06:00 UTC) #14
pbos-webrtc
https://codereview.webrtc.org/1473713004/diff/1/webrtc/test/fuzzers/webrtc_fuzzer_main.cc File webrtc/test/fuzzers/webrtc_fuzzer_main.cc (right): https://codereview.webrtc.org/1473713004/diff/1/webrtc/test/fuzzers/webrtc_fuzzer_main.cc#newcode26 webrtc/test/fuzzers/webrtc_fuzzer_main.cc:26: #if !defined(WEBRTC_CHROMIUM_BUILD) On 2015/11/26 12:06:00, Henrik Grunell (webrtc) wrote: ...
5 years ago (2015-11-26 12:23:42 UTC) #15
Henrik Grunell WebRTC
5 years ago (2015-11-26 12:59:58 UTC) #16
Message was sent while issue was closed.
lgtm

https://codereview.webrtc.org/1473713004/diff/1/webrtc/test/fuzzers/webrtc_fu...
File webrtc/test/fuzzers/webrtc_fuzzer_main.cc (right):

https://codereview.webrtc.org/1473713004/diff/1/webrtc/test/fuzzers/webrtc_fu...
webrtc/test/fuzzers/webrtc_fuzzer_main.cc:26: #if
!defined(WEBRTC_CHROMIUM_BUILD)
On 2015/11/26 12:23:42, pbos-webrtc wrote:
> On 2015/11/26 12:06:00, Henrik Grunell (webrtc) wrote:
> > Do you plan to modify this function when disabling in Chromium? Otherwise,
> this
> > function shouldn't be called at all when in Chromium, right?
> 
> This exact code should work in Chromium, but currently doesn't, so when the
> linked bug is fixed I'll remove the ifdefs.

I see. It wasn't really clear reading the todo. :)

Powered by Google App Engine
This is Rietveld 408576698