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

Issue 1415793003: fix build when ffmpeg, libvpx and libwebm are disabled (Closed)

Created:
5 years, 1 month ago by Julien Isorce Samsung
Modified:
5 years, 1 month ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

fix build when ffmpeg, libvpx and libwebm are disabled Tested with all combinaisons of GYP_DEFINES="media_use_ffmpeg=i media_use_libvpx=j media_use_libwebm=k" with i,j,k in {0, 1}^3 Same with GN: media_use_ffmpeg = i media_use_libvpx = j media_use_libwebm = k with i,j,k in {false, true}^3 If disabled it shows a black rectangle on video tag as expected. If only ffmpeg is disabled, it succeeds to play webm video encoded with vpx. BUG= R=reillyg@chromium.org, jochen@chromium.org, xhwang@chromium.org, raymes@chromium.org TEST=GYP_DEFINES="media_use_ffmpeg=0 media_use_libvpx=0 media_use_libwebm=0" Committed: https://crrev.com/f6778e65400fd7b4b9592523c1de811dcde1355a Cr-Commit-Position: refs/heads/master@{#359855}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Patch Set 2 #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -4 lines) Patch
M AUTHORS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M build/gn_migration.gypi View 1 2 3 4 3 chunks +8 lines, -1 line 0 comments Download
M chrome/utility/extensions/extensions_handler.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M chrome/utility/media_galleries/media_metadata_parser.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/media/audio_decoder.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/media/media_recorder_handler.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/media/media_recorder_handler.cc View 1 2 3 5 chunks +15 lines, -2 lines 0 comments Download
M content/renderer/pepper/video_decoder_shim.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M media/BUILD.gn View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (8 generated)
xhwang
Thanks for fixing these. I just have a few comments. https://codereview.chromium.org/1415793003/diff/1/build/gn_migration.gypi File build/gn_migration.gypi (right): https://codereview.chromium.org/1415793003/diff/1/build/gn_migration.gypi#newcode379 ...
5 years, 1 month ago (2015-11-02 18:11:51 UTC) #1
xhwang
Please also help fix the gn build. You can start with media/BUILD.gn.
5 years, 1 month ago (2015-11-02 18:12:46 UTC) #2
Julien Isorce Samsung
Thx for the review, I'll address remark (see my replies) and I'll also check the ...
5 years, 1 month ago (2015-11-03 16:02:28 UTC) #3
Julien Isorce Samsung
Just in case you have not noticed I submitted "patch set 2" that addressed your ...
5 years, 1 month ago (2015-11-05 17:21:29 UTC) #4
xhwang
lgtm Please also wait for other reviewers' review. Thanks for contributing to Chromium! https://codereview.chromium.org/1415793003/diff/1/chrome/utility/extensions/extensions_handler.cc File ...
5 years, 1 month ago (2015-11-05 17:27:17 UTC) #5
xhwang
On 2015/11/05 17:21:29, j.isorce wrote: > Just in case you have not noticed I submitted ...
5 years, 1 month ago (2015-11-05 17:29:24 UTC) #6
Reilly Grant (use Gerrit)
https://codereview.chromium.org/1415793003/diff/20001/chrome/utility/extensions/extensions_handler.cc File chrome/utility/extensions/extensions_handler.cc (right): https://codereview.chromium.org/1415793003/diff/20001/chrome/utility/extensions/extensions_handler.cc#newcode133 chrome/utility/extensions/extensions_handler.cc:133: NOTREACHED(); It seems that we should reply with failure ...
5 years, 1 month ago (2015-11-05 18:33:06 UTC) #7
Julien Isorce gmail
https://codereview.chromium.org/1415793003/diff/20001/chrome/utility/extensions/extensions_handler.cc File chrome/utility/extensions/extensions_handler.cc (right): https://codereview.chromium.org/1415793003/diff/20001/chrome/utility/extensions/extensions_handler.cc#newcode133 chrome/utility/extensions/extensions_handler.cc:133: NOTREACHED(); On 2015/11/05 18:33:06, Reilly Grant wrote: > It ...
5 years, 1 month ago (2015-11-06 10:17:47 UTC) #8
Julien Isorce Samsung
On 2015/11/06 10:17:47, j.isorce wrote: > https://codereview.chromium.org/1415793003/diff/20001/chrome/utility/extensions/extensions_handler.cc#newcode133 > chrome/utility/extensions/extensions_handler.cc:133: NOTREACHED(); > On 2015/11/05 18:33:06, Reilly ...
5 years, 1 month ago (2015-11-06 10:20:38 UTC) #9
Reilly Grant (use Gerrit)
lgtm
5 years, 1 month ago (2015-11-06 19:25:34 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415793003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415793003/40001
5 years, 1 month ago (2015-11-07 16:31:16 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/120367) mac_chromium_rel_ng on ...
5 years, 1 month ago (2015-11-07 16:32:46 UTC) #14
jochen (gone - plz use gerrit)
could you rebase the patch please?
5 years, 1 month ago (2015-11-07 16:38:13 UTC) #15
Julien Isorce Samsung
On 2015/11/07 16:38:13, jochen (slow - traveling) wrote: > could you rebase the patch please? ...
5 years, 1 month ago (2015-11-09 11:55:20 UTC) #17
xhwang
On 2015/11/09 11:55:20, j.isorce wrote: > On 2015/11/07 16:38:13, jochen (slow - traveling) wrote: > ...
5 years, 1 month ago (2015-11-09 19:19:57 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415793003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415793003/60001
5 years, 1 month ago (2015-11-10 20:05:50 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/117184)
5 years, 1 month ago (2015-11-10 20:16:09 UTC) #22
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-11 07:43:20 UTC) #24
Julien Isorce Samsung
On 2015/11/11 07:43:20, jochen (slow - traveling) wrote: > lgtm Thx for the reviews. Do ...
5 years, 1 month ago (2015-11-13 15:42:08 UTC) #25
jochen (gone - plz use gerrit)
On 2015/11/13 at 15:42:08, j.isorce wrote: > On 2015/11/11 07:43:20, jochen (slow - traveling) wrote: ...
5 years, 1 month ago (2015-11-16 11:53:50 UTC) #26
Julien Isorce gmail
ticked "commit" but seems to fail without any particular message.
5 years, 1 month ago (2015-11-16 13:59:24 UTC) #27
Julien Isorce Samsung
Ticked while signed it with correct account
5 years, 1 month ago (2015-11-16 14:01:18 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415793003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415793003/80001
5 years, 1 month ago (2015-11-16 14:01:45 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-16 17:14:32 UTC) #32
commit-bot: I haz the power
5 years, 1 month ago (2015-11-16 17:15:13 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f6778e65400fd7b4b9592523c1de811dcde1355a
Cr-Commit-Position: refs/heads/master@{#359855}

Powered by Google App Engine
This is Rietveld 408576698