This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop referencing ffmpegsumo and fix usage of libffpeg.so.
This is a follow-up to f5be873 ("Roll Chromium 44.0.2403.81"). That version of Chromium M44 includes changes in Chromium's version of ffmpeg that got rid of the ffmpegsumo library: there is only libffmpeg.so now, and it is a regular library. In practice, this means the following changes had to be made for a build from scratch to work again: * References to libffmpegsumo.so in Tizen's spec files have been dropped. libffmpeg.so is built in lib/ and does not need special treatment. * References to libffmegsumo.so in the Debian packaging files have also been dropped. This was a bit more intricate than the above, as some code in build.sh had to be moved to do_package() because even though the Debian packages are built with component=static_library the ffmpeg_component variable is set to shared_library. Consequently, when we called dpkg-shlibdeps in the xwalk binary in ${BUILDDIR} it had a dependency on lib/libffmpeg.so and this resulted in a lot of warnings like this: dpkg-shlibdeps: warning: $ORIGIN is used in RPATH of /path/to/out/Release/xwalk and the corresponding directory could not be identified due to lack of DEBIAN sub-directory in the root of package's build tree We now do the staging first so that the DEBIAN directory exists and call dpkg-shlibdeps on the staged binary instead of the one in the build directory. * We build ffmpeg as a shared library only on Linux instead of all platforms. Building ffmpeg as a shared library on Windows and OS X is not completely tested anymore I think, and it was not clear whether the gyp code that copies ffmpeg to the Crosswalk Framework on Mac is supposed to work with libffmpeg.so instead of libffmpegsumo.so. BUG=XWALK-3705 BUG=XWALK-4574
- Loading branch information
Showing
8 changed files
with
56 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters