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

Issue 14659007: Remove use_system_ffmpeg-related logic from media and other mainline gyp files. (Closed)

Created:
7 years, 7 months ago by Paweł Hajdan Jr.
Modified:
7 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Remove use_system_ffmpeg-related logic from media and other mainline gyp files. BUG=226860 R=fischman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198746

Patch Set 1 #

Total comments: 4

Patch Set 2 : more removals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -42 lines) Patch
M build/common.gypi View 1 1 chunk +0 lines, -3 lines 0 comments Download
M build/linux/unbundle/ffmpeg.gyp View 1 chunk +25 lines, -0 lines 0 comments Download
M media/base/media_posix.cc View 1 3 chunks +0 lines, -9 lines 0 comments Download
M media/ffmpeg/ffmpeg_common.cc View 4 chunks +0 lines, -8 lines 0 comments Download
M media/media.gyp View 1 1 chunk +0 lines, -22 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Paweł Hajdan Jr.
7 years, 7 months ago (2013-05-04 20:22:49 UTC) #1
Ami GONE FROM CHROMIUM
Can you also remove the vestiges of USE_SYSTEM_FFMPEG from non-unbundle files? https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp File build/linux/unbundle/ffmpeg.gyp (right): ...
7 years, 7 months ago (2013-05-05 03:41:53 UTC) #2
Paweł Hajdan Jr.
PTAL https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp File build/linux/unbundle/ffmpeg.gyp (right): https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp#newcode18 build/linux/unbundle/ffmpeg.gyp:18: '--on-failure -DCHROMIUM_OMIT_AV_CODEC_ID_OPUS=1)', On 2013/05/05 03:41:53, Ami Fischman wrote: ...
7 years, 7 months ago (2013-05-06 23:48:56 UTC) #3
Ami GONE FROM CHROMIUM
LGTM++ https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp File build/linux/unbundle/ffmpeg.gyp (right): https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp#newcode18 build/linux/unbundle/ffmpeg.gyp:18: '--on-failure -DCHROMIUM_OMIT_AV_CODEC_ID_OPUS=1)', On 2013/05/06 23:48:56, Paweł Hajdan Jr. ...
7 years, 7 months ago (2013-05-06 23:55:04 UTC) #4
Paweł Hajdan Jr.
Committed patchset #2 manually as r198746 (presubmit successful).
7 years, 7 months ago (2013-05-07 16:59:04 UTC) #5
Paweł Hajdan Jr.
https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp File build/linux/unbundle/ffmpeg.gyp (right): https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp#newcode18 build/linux/unbundle/ffmpeg.gyp:18: '--on-failure -DCHROMIUM_OMIT_AV_CODEC_ID_OPUS=1)', On 2013/05/06 23:55:04, Ami Fischman wrote: > ...
7 years, 7 months ago (2013-05-07 17:14:45 UTC) #6
Ami GONE FROM CHROMIUM
7 years, 7 months ago (2013-05-07 17:16:54 UTC) #7
My point was that the ensuing patches (which will act on the defines) for
debian and for gentoo and for redhat and for ... are all going to be the
exact same thing, so I was surprised you didn't include that somewhere
under unbundle as well.


On Tue, May 7, 2013 at 10:14 AM, <phajdan.jr@chromium.org> wrote:

>
> https://codereview.chromium.**org/14659007/diff/1/build/**
>
linux/unbundle/ffmpeg.gyp<https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp>
> File build/linux/unbundle/ffmpeg.**gyp (right):
>
> https://codereview.chromium.**org/14659007/diff/1/build/**
>
linux/unbundle/ffmpeg.gyp#**newcode18<https://codereview.chromium.org/14659007/diff/1/build/linux/unbundle/ffmpeg.gyp#newcode18>
> build/linux/unbundle/ffmpeg.**gyp:18: '--on-failure
> -DCHROMIUM_OMIT_AV_CODEC_ID_**OPUS=1)',
> On 2013/05/06 23:55:04, Ami Fischman wrote:
>
>> Isn't each distro going to need the same exact patch b/c they'll be
>>
> patching the
>
>> same chromium source to do the same thing?
>> (I'm not complaining, just curious)
>>
>
> Good question.
>
> First, custom patching is really something to be avoided. You can see in
> various distro guidelines, e.g.
>
https://fedoraproject.org/**wiki/Staying_close_to_**upstream_projects<https:/...
> all changes that can be sent upstream should be - and at least this gyp
> part can live upstream.
>
> Then, most distro packagers are not familiar with gyp and our build
> system. C++ is something we can reasonably expect them to know however.
> When custom patching it's valuable to understand the patch one's
> applying instead of doing sort of cargo cult - it works for distro X so
> I'm taking it even though I have no idea what's going on (applying
> patches without full understanding reminds me of Debian PRNG debacle).
>
> And then somewhat minor reason, but keeping the custom patch smaller is
> also of value.
>
>
https://codereview.chromium.**org/14659007/<https://codereview.chromium.org/1...
>

Powered by Google App Engine
This is Rietveld 408576698