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 2966573002: Fix media/formats:unit_tests build (Closed)

Created:
3 years, 5 months ago by paulmiller
Modified:
3 years, 5 months ago
CC:
amineer, chromium-reviews, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix media/formats:unit_tests build These tests were moved from //media:unit_tests to //media/formats:unit_tests, but the new target doesn't depend on //media:media_features, so the required media_features.h may not be generated. BUG=737857

Patch Set 1 #

Patch Set 2 : add media #

Patch Set 3 : remove media add libvpx #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M media/formats/BUILD.gn View 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
paulmiller
On 2017/06/29 19:22:19, paulmiller wrote: > mailto:paulmiller@chromium.org changed reviewers: > + mailto:jrummell@chromium.org PTAL
3 years, 5 months ago (2017-06-29 19:22:46 UTC) #3
paulmiller
+ some more owners
3 years, 5 months ago (2017-06-29 20:33:12 UTC) #5
DaleCurtis
lgtm
3 years, 5 months ago (2017-06-29 20:51:48 UTC) #6
jrummell
lgtm
3 years, 5 months ago (2017-06-29 21:36:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2966573002/1
3 years, 5 months ago (2017-06-29 21:38:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/453589)
3 years, 5 months ago (2017-06-29 21:56:11 UTC) #11
paulmiller
On 2017/06/29 21:56:11, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 5 months ago (2017-06-29 22:23:13 UTC) #12
DaleCurtis
Weird, those should be fixed by adding a section to media/base/BUILD.gn that says: if (media_use_libvpx) ...
3 years, 5 months ago (2017-06-29 22:26:47 UTC) #13
DaleCurtis
Similar to this one https://cs.chromium.org/chromium/src/media/base/BUILD.gn?q=decode_capabilities&sq=package:chromium&dr=C&l=300
3 years, 5 months ago (2017-06-29 22:27:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2966573002/60001
3 years, 5 months ago (2017-06-29 22:47:33 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/446129)
3 years, 5 months ago (2017-06-30 00:25:28 UTC) #19
paulmiller
On 2017/06/30 00:25:28, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 5 months ago (2017-06-30 00:48:14 UTC) #20
a.suchit2
On 2017/06/30 00:48:14, paulmiller wrote: > On 2017/06/30 00:25:28, commit-bot: I haz the power wrote: ...
3 years, 5 months ago (2017-06-30 03:39:48 UTC) #21
paulmiller
> Please share the problem/error in the official build. See the bug for the official ...
3 years, 5 months ago (2017-06-30 17:22:26 UTC) #22
a.suchit2
On 2017/06/30 17:22:26, paulmiller wrote: > > Please share the problem/error in the official build. ...
3 years, 5 months ago (2017-06-30 19:04:30 UTC) #23
paulmiller
3 years, 5 months ago (2017-06-30 20:18:43 UTC) #24
On 2017/06/30 19:04:30, a.suchit2 wrote:
> On 2017/06/30 17:22:26, paulmiller wrote:
> > > Please share the problem/error in the official build.
> > 
> > See the bug for the official build error. I assume it doesn't show up on the
> > trybots, or the original patch wouldn't have landed. This is the fix for the
> > official build error, but as you can see, it creates some new errors.
> 
> I do not have access for this bug.

It was:

FAILED: obj/media/formats/unit_tests/sample_to_group_iterator_unittest.o
...
In file included from
../../media/formats/mp4/sample_to_group_iterator_unittest.cc:5:
In file included from ../../media/formats/mp4/sample_to_group_iterator.h:13:
In file included from ../../media/formats/mp4/box_definitions.h:17:
In file included from ../../media/base/media_log.h:20:
In file included from ../../media/base/pipeline_impl.h:15:
In file included from ../../media/base/pipeline.h:15:
In file included from ../../media/base/media_track.h:11:
In file included from ../../media/base/stream_parser.h:22:
../../media/base/eme_constants.h:10:10: fatal error: 'media/media_features.h'
file not found
#include "media/media_features.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

media_features.h is out/.../gen/media/media_features.h. It's generated by the
//media:media_features build step, on which //media/formats:formats depends.

Powered by Google App Engine
This is Rietveld 408576698