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

Issue 1727953005: Enable AudioDecoder unit tests on Android (Closed)

Created:
4 years, 10 months ago by Tima Vaisburd
Modified:
4 years, 9 months ago
Reviewers:
watk, xhwang, DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org, liberato (no reviews please), qinmin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable AudioDecoder unit tests on Android Disabled FFmpeg decoder tests on Android in audio_decoder_unittests.cc and included this file in the build on Android platform. On Android, a hash value for one Opus decoded buffer is slightly off, this CL also introduces and uses a hash comparison function that accepts a tolerance. BUG=542910 Committed: https://crrev.com/a212641db51b76b3a5c7c0e5d35b4126f226b63c Cr-Commit-Position: refs/heads/master@{#378374}

Patch Set 1 #

Patch Set 2 : Added media.gyp changes #

Total comments: 1

Patch Set 3 : Undid the split, disabled ffmpeg tests on Android #

Total comments: 5

Patch Set 4 : Compile audio_decoder_unittest.cc only if media_use_ffmpeg is set #

Total comments: 10

Patch Set 5 : Removed contitions from base/container_names.* compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -16 lines) Patch
M media/BUILD.gn View 1 2 3 4 chunks +3 lines, -8 lines 0 comments Download
M media/base/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M media/base/audio_hash.h View 1 chunk +5 lines, -0 lines 0 comments Download
M media/base/audio_hash.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M media/filters/audio_decoder_unittest.cc View 1 2 3 chunks +8 lines, -1 line 0 comments Download
M media/media.gyp View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (15 generated)
Tima Vaisburd
This is preliminary step that's required for MediaCodecAudioDecoder unit tests. Right now the audio decoder ...
4 years, 10 months ago (2016-02-26 02:55:08 UTC) #2
Tima Vaisburd
https://codereview.chromium.org/1727953005/diff/20001/media/BUILD.gn File media/BUILD.gn (right): https://codereview.chromium.org/1727953005/diff/20001/media/BUILD.gn#newcode749 media/BUILD.gn:749: if (!is_android || ffmpeg_branding == "Chrome") { On GYP ...
4 years, 10 months ago (2016-02-26 20:58:48 UTC) #10
DaleCurtis
I don't understand this split. The ffmpeg_branding thing should hopefully be temporary; I have emails ...
4 years, 10 months ago (2016-02-26 21:05:28 UTC) #11
Tima Vaisburd
On 2016/02/26 21:05:28, DaleCurtis wrote: > I don't understand this split. The ffmpeg_branding thing should ...
4 years, 10 months ago (2016-02-26 21:21:31 UTC) #12
DaleCurtis
Yeah, I'd just disable the ffmpeg variants of this test on android for right now.
4 years, 10 months ago (2016-02-26 21:23:06 UTC) #13
Tima Vaisburd
On 2016/02/26 21:23:06, DaleCurtis wrote: > Yeah, I'd just disable the ffmpeg variants of this ...
4 years, 10 months ago (2016-02-26 23:18:26 UTC) #16
DaleCurtis
https://codereview.chromium.org/1727953005/diff/40001/media/BUILD.gn File media/BUILD.gn (right): https://codereview.chromium.org/1727953005/diff/40001/media/BUILD.gn#newcode738 media/BUILD.gn:738: if (media_use_ffmpeg || is_android) { Just add the file ...
4 years, 10 months ago (2016-02-26 23:31:42 UTC) #17
Tima Vaisburd
https://codereview.chromium.org/1727953005/diff/40001/media/BUILD.gn File media/BUILD.gn (right): https://codereview.chromium.org/1727953005/diff/40001/media/BUILD.gn#newcode738 media/BUILD.gn:738: if (media_use_ffmpeg || is_android) { On 2016/02/26 23:31:42, DaleCurtis ...
4 years, 9 months ago (2016-02-29 23:07:15 UTC) #18
DaleCurtis
https://codereview.chromium.org/1727953005/diff/60001/media/BUILD.gn File media/BUILD.gn (left): https://codereview.chromium.org/1727953005/diff/60001/media/BUILD.gn#oldcode419 media/BUILD.gn:419: if (!is_android || media_use_ffmpeg) { On 2016/02/29 at 23:07:14, ...
4 years, 9 months ago (2016-02-29 23:17:46 UTC) #19
Tima Vaisburd
https://codereview.chromium.org/1727953005/diff/60001/media/BUILD.gn File media/BUILD.gn (right): https://codereview.chromium.org/1727953005/diff/60001/media/BUILD.gn#newcode736 media/BUILD.gn:736: "filters/audio_decoder_unittest.cc", On 2016/02/29 23:17:46, DaleCurtis wrote: > If you ...
4 years, 9 months ago (2016-03-01 00:14:23 UTC) #20
DaleCurtis
https://codereview.chromium.org/1727953005/diff/60001/media/BUILD.gn File media/BUILD.gn (right): https://codereview.chromium.org/1727953005/diff/60001/media/BUILD.gn#newcode736 media/BUILD.gn:736: "filters/audio_decoder_unittest.cc", On 2016/03/01 at 00:14:22, Tima Vaisburd wrote: > ...
4 years, 9 months ago (2016-03-01 00:16:37 UTC) #21
Tima Vaisburd
https://codereview.chromium.org/1727953005/diff/60001/media/base/BUILD.gn File media/base/BUILD.gn (right): https://codereview.chromium.org/1727953005/diff/60001/media/base/BUILD.gn#newcode442 media/base/BUILD.gn:442: if (media_use_ffmpeg) { On 2016/03/01 00:16:37, DaleCurtis wrote: > ...
4 years, 9 months ago (2016-03-01 00:48:55 UTC) #22
DaleCurtis
lgtm
4 years, 9 months ago (2016-03-01 00:50:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1727953005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1727953005/80001
4 years, 9 months ago (2016-03-01 00:58:39 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/29156)
4 years, 9 months ago (2016-03-01 01:06:48 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1727953005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1727953005/80001
4 years, 9 months ago (2016-03-01 01:12:01 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-01 02:27:21 UTC) #31
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 02:28:45 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a212641db51b76b3a5c7c0e5d35b4126f226b63c
Cr-Commit-Position: refs/heads/master@{#378374}

Powered by Google App Engine
This is Rietveld 408576698