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

Issue 12213029: Lift MEDIA_MMX_INTRINSICS_AVAILABLE definition to header and use it to condition media_unittests (Closed)

Created:
7 years, 10 months ago by wolenetz
Modified:
7 years, 10 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Lift MEDIA_MMX_INTRINSICS_AVAILABLE definition to header and use it to condition media_unittests BUG=173697, 166496 TEST=With other build errors fixed in privates (fix win64 gmock_mutant template functor redefinitions & ignore C4267 size_t to int truncations), win64 media_unittests builds without link error to (shared library) media::FilterYUVRows_MMX R=scherkus@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181344

Patch Set 1 #

Patch Set 2 : Clean up unit test code exclusion #

Patch Set 3 : Fix lint errors #

Total comments: 4

Patch Set 4 : Use DISABLED_ to mark the excluded win64 mmx intrinsics tests #

Patch Set 5 : Completely exclude FilterYUVRows_MMX tests on win64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -10 lines) Patch
M media/base/yuv_convert.h View 1 chunk +10 lines, -0 lines 0 comments Download
M media/base/yuv_convert.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M media/base/yuv_convert_unittest.cc View 1 2 3 4 4 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
wolenetz
Please review. Previous related CR is at https://codereview.chromium.org/12082087 Thanks, Matt
7 years, 10 months ago (2013-02-05 23:24:38 UTC) #1
scherkus (not reviewing)
lgtm w/ nits try as I might to limit that #define to the .cc I ...
7 years, 10 months ago (2013-02-06 08:09:01 UTC) #2
wolenetz
https://codereview.chromium.org/12213029/diff/5001/media/base/yuv_convert_unittest.cc File media/base/yuv_convert_unittest.cc (right): https://codereview.chromium.org/12213029/diff/5001/media/base/yuv_convert_unittest.cc#newcode778 media/base/yuv_convert_unittest.cc:778: TEST(YUVConvertTest, FilterYUVRows_MMX_OutOfBounds) { On 2013/02/06 08:09:01, scherkus wrote: > ...
7 years, 10 months ago (2013-02-06 19:03:10 UTC) #3
scherkus (not reviewing)
Ah if a link error would happen just #ifdef out the whole tests. Don't bother ...
7 years, 10 months ago (2013-02-06 19:32:14 UTC) #4
wolenetz
On 2013/02/06 19:32:14, scherkus wrote: > Ah if a link error would happen just #ifdef ...
7 years, 10 months ago (2013-02-06 21:21:51 UTC) #5
scherkus (not reviewing)
lgtm! On Feb 6, 2013 1:21 PM, <wolenetz@chromium.org> wrote: > On 2013/02/06 19:32:14, scherkus wrote: ...
7 years, 10 months ago (2013-02-06 21:37:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/12213029/1008
7 years, 10 months ago (2013-02-06 22:12:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/12213029/1008
7 years, 10 months ago (2013-02-07 17:08:44 UTC) #8
commit-bot: I haz the power
7 years, 10 months ago (2013-02-07 19:09:40 UTC) #9
Message was sent while issue was closed.
Change committed as 181344

Powered by Google App Engine
This is Rietveld 408576698