• VladimirTechMan's avatar
    Allow enabling libyuv symbols visibility for shared library targets · 56eb5a47
    VladimirTechMan authored
    When developing WebRTC applications with custom video sources, libyuv's
    API is often the required part of the project. For that, application
    developers can link with a separate standalone instance of libyuv.
    However, it is even better to avoid that binary code duplication and
    link against libyuv as a part compiled into the WebRTC library.
    
    When building WebRTC as a static library target, the symbols from libyuv
    are normally accessible to the linker without any extra actions. When
    building WebRTC as a shared library, that does not work as the exported
    symbols are those marked as visible, while libyuv is built with the
    hidden visibility setting by default.
    
    This patch adds an extra flag to enable switching the symbol visibility
    to default when building shared library targets depending on libyuv in
    WebRTC and Chromium projects. By default the flag is not enabled,
    preserving the prior behaviour.
    
    Bug: NONE
    Change-Id: I48893cb9f54b1e1b49a34e14434e67f91d3e5e79
    Reviewed-on: https://chromium-review.googlesource.com/827746Reviewed-by: 's avatarFrank Barchard <fbarchard@chromium.org>
    Commit-Queue: Frank Barchard <fbarchard@chromium.org>
    56eb5a47
Name
Last commit
Last update
build_overrides Loading commit data...
docs Loading commit data...
include Loading commit data...
infra/config Loading commit data...
source Loading commit data...
tools_libyuv Loading commit data...
unit_test Loading commit data...
util Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
AUTHORS Loading commit data...
Android.bp Loading commit data...
Android.mk Loading commit data...
BUILD.gn Loading commit data...
CM_linux_packages.cmake Loading commit data...
CMakeLists.txt Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE_THIRD_PARTY Loading commit data...
OWNERS Loading commit data...
PATENTS Loading commit data...
PRESUBMIT.py Loading commit data...
README.chromium Loading commit data...
README.md Loading commit data...
all.gyp Loading commit data...
cleanup_links.py Loading commit data...
codereview.settings Loading commit data...
download_vs_toolchain.py Loading commit data...
gyp_libyuv Loading commit data...
gyp_libyuv.py Loading commit data...
libyuv.gni Loading commit data...
libyuv.gyp Loading commit data...
libyuv.gypi Loading commit data...
libyuv_nacl.gyp Loading commit data...
libyuv_test.gyp Loading commit data...
linux.mk Loading commit data...
public.mk Loading commit data...
pylintrc Loading commit data...
winarm.mk Loading commit data...