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

Issue 2254143003: GYP is not validating flags. (Closed)

Created:
4 years, 4 months ago by ehmaldonado_webrtc
Modified:
4 years, 4 months ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

GYP is not validating flags in neteq_quality_test.cc All the validation functions are dead code. BUG=

Patch Set 1 #

Patch Set 2 : Dead code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -41 lines) Patch
M webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc View 1 8 chunks +2 lines, -41 lines 0 comments Download

Messages

Total messages: 4 (3 generated)
kjellander_webrtc
4 years, 4 months ago (2016-08-19 07:20:27 UTC) #4
I think the validators are actually working but that the code is not executed
unless a flag is passed. Not until then there's something to validate.

The case with this code is that it (as part of "neteq_test_support" target) is
shared between multiple test/tool binaries:
https://cs.chromium.org/search/?q=:neteq_test_support+f:gn&sq=package:chromiu...

Only some of them uses the --in_filename and other flags. More importantly:
modules_unittests doesn't.

Powered by Google App Engine
This is Rietveld 408576698