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

Issue 340072: FFmpeg in-tree build for mac. (Closed)

Created:
11 years, 1 month ago by awong
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, fbarchard, Alpha Left Google
Visibility:
Public.

Description

FFmpeg in-tree build for mac. BUG=26509 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31050

Patch Set 1 #

Patch Set 2 : Use gcc-4.0 and allow text_relocations. #

Patch Set 3 : get library into link line, but path is broken (missing -L) #

Total comments: 16

Patch Set 4 : A more restrainted gyp, for the discerning platform. #

Patch Set 5 : Add -Wl,read_only_relocs,suppress #

Patch Set 6 : fix install name and the copies commands. #

Patch Set 7 : Fix libraries #

Patch Set 8 : hihi #

Total comments: 31

Patch Set 9 : For to be the win. #

Patch Set 10 : rebased changes #

Total comments: 23

Patch Set 11 : mostly good. #

Patch Set 12 : fix yasm expansion typo. #

Patch Set 13 : F*** scons. #

Patch Set 14 : work around link-settings bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5717 lines, -97 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -2 lines 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -1 line 0 comments Download
M chrome/chrome.gyp View 6 7 8 9 10 11 12 13 2 chunks +9 lines, -26 lines 0 comments Download
M third_party/ffmpeg/README.chromium View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/ffmpeg/ffmpeg.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +136 lines, -53 lines 0 comments Download
A third_party/ffmpeg/source/config/Chrome/mac/ia32/config.h View 1 chunk +766 lines, -0 lines 0 comments Download
A third_party/ffmpeg/source/config/Chrome/mac/ia32/version.h View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/ffmpeg/source/config/Chromium/mac/ia32/config.h View 1 chunk +766 lines, -0 lines 0 comments Download
A third_party/ffmpeg/source/config/Chromium/mac/ia32/version.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/yasm/README.chromium View 1 chunk +5 lines, -4 lines 0 comments Download
A third_party/yasm/source/config/mac/Makefile View 1 chunk +3822 lines, -0 lines 0 comments Download
A third_party/yasm/source/config/mac/config.h View 1 chunk +176 lines, -0 lines 0 comments Download
A third_party/yasm/source/config/mac/libyasm-stdint.h View 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/yasm/yasm.gyp View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +9 lines, -8 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gyp View 6 7 8 9 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
awong
Close...but no cigar. Issue with PIC again. Any ideas? If we could make xcode build ...
11 years, 1 month ago (2009-11-03 02:22:33 UTC) #1
awong
Found the xcode_settings block to be a gold-mine. :) Anyways, new patch. gcc now set ...
11 years, 1 month ago (2009-11-03 13:25:47 UTC) #2
awong
One more update...I got the path wrong initially, but after fixing it, I only get ...
11 years, 1 month ago (2009-11-03 13:44:31 UTC) #3
Mark Mentovai
http://codereview.chromium.org/340072/diff/4001/3005 File third_party/ffmpeg/ffmpeg.gyp (right): http://codereview.chromium.org/340072/diff/4001/3005#newcode188 Line 188: 'ldflags': [ The Xcode generator doesn't use this. ...
11 years, 1 month ago (2009-11-03 13:51:59 UTC) #4
Mark Mentovai
http://codereview.chromium.org/340072/diff/4001/3005 File third_party/ffmpeg/ffmpeg.gyp (right): http://codereview.chromium.org/340072/diff/4001/3005#newcode172 Line 172: 'xcode_settings': { Try adding to this block: 'LIBRARY_SEARCH_PATHS': ...
11 years, 1 month ago (2009-11-03 13:53:43 UTC) #5
awong
Turns out, the gcc-4.2 versus gcc-4.0 seems to be basically the whether -mdynamic_no_pic is on ...
11 years, 1 month ago (2009-11-03 20:28:33 UTC) #6
Mark Mentovai
Does that mean that we can leave the compiler at 4.2 and just have it ...
11 years, 1 month ago (2009-11-03 20:35:23 UTC) #7
awong
On Tue, Nov 3, 2009 at 12:35 PM, Mark Mentovai <mark@chromium.org> wrote: > Does that ...
11 years, 1 month ago (2009-11-03 20:38:52 UTC) #8
awong
How's this one look? Current outstanding issue, for a Chrome branded build, it's not linking ...
11 years, 1 month ago (2009-11-03 23:17:19 UTC) #9
awong
How's this one look? Current outstanding issue, for a Chrome branded build, it's not linking ...
11 years, 1 month ago (2009-11-03 23:17:23 UTC) #10
awong
Works in max and linux, chrome and chromium. release and debug!
11 years, 1 month ago (2009-11-04 02:23:32 UTC) #11
Mark Mentovai
Overall, this was way easier to read than the Linux changes, mostly because it's so ...
11 years, 1 month ago (2009-11-04 02:45:05 UTC) #12
awong
Fixed the issues. Running through try servers. http://codereview.chromium.org/340072/diff/8002/1028 File build/all.gyp (right): http://codereview.chromium.org/340072/diff/8002/1028#newcode55 Line 55: '../third_party/yasm/yasm.gyp:*', ...
11 years, 1 month ago (2009-11-04 03:30:11 UTC) #13
Mark Mentovai
Advance comments to answer your questions, I'll still do another pass with your changes. http://codereview.chromium.org/340072/diff/8002/1031 ...
11 years, 1 month ago (2009-11-04 03:41:23 UTC) #14
Mark Mentovai
Great! LGTM with these changes and a final successful tryserver run. http://codereview.chromium.org/340072/diff/2084/6043 File chrome/chrome.gyp (right): ...
11 years, 1 month ago (2009-11-04 04:25:48 UTC) #15
awong
Addressed most of the comments, except for moving libraries into link_settings, which, I think isn't ...
11 years, 1 month ago (2009-11-04 20:07:49 UTC) #16
awong
Fixes for scons, and half-fix for the link_settings comment. Because -lffmpegasm leaks, ffmpegsumo_nolink breaks because ...
11 years, 1 month ago (2009-11-05 00:13:53 UTC) #17
Mark Mentovai
11 years, 1 month ago (2009-11-05 00:19:34 UTC) #18
I'm ready to call it a day.  Let's get this in.  LGTM.

Powered by Google App Engine
This is Rietveld 408576698