summaryrefslogtreecommitdiffstats
path: root/content/zygote/zygote_main_linux.cc
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-01 18:54:19 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-01 18:54:19 +0000
commite4aa290bc7113c8ed53edc94837ba59df1cce800 (patch)
tree14d8b1ec925eaa14d0a37fb020af6bd6941f4c64 /content/zygote/zygote_main_linux.cc
parent0e5a13aa0e667d34f893cb04d7c07db2153a733a (diff)
downloadchromium_src-e4aa290bc7113c8ed53edc94837ba59df1cce800.zip
chromium_src-e4aa290bc7113c8ed53edc94837ba59df1cce800.tar.gz
chromium_src-e4aa290bc7113c8ed53edc94837ba59df1cce800.tar.bz2
Support for loading libpeerconnection dynamically instead of statically.
This means that instead of using shared_library as the target type for libpeerconnection, we'll support loadable_module. This fixes issues with test binaries that would otherwise unnecessarily depend on libpeerconnection in shared builds. The renderer now loads and initializes the module just before initializing the sandbox. I'm also enabling logging in the module since we can now do that after the process CommandLine instance has been initialized. The output directory on linux is now always the lib/ subfolder of the build directory. This is so that FILES.cfg and installer scripts will find it reliably. Make builds would previuosly put it in lib.target/ whereas ninja already used lib/. (lib/ is also the folder the installer will use) BUG=232402,233173,235379,235380 R=jam@chromium.org, jln@chromium.org, mark@chromium.org, ronghuawu@chromium.org Review URL: https://codereview.chromium.org/14021012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/zygote/zygote_main_linux.cc')
-rw-r--r--content/zygote/zygote_main_linux.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
index 9c909ab..ca75518 100644
--- a/content/zygote/zygote_main_linux.cc
+++ b/content/zygote/zygote_main_linux.cc
@@ -40,6 +40,7 @@
#include "sandbox/linux/services/libc_urandom_override.h"
#include "sandbox/linux/suid/client/setuid_sandbox_client.h"
#include "third_party/icu/public/i18n/unicode/timezone.h"
+#include "third_party/libjingle/overrides/init_webrtc.h"
#include "third_party/skia/include/ports/SkFontConfigInterface.h"
#if defined(OS_LINUX)
@@ -281,6 +282,9 @@ static void PreSandboxInit() {
// Ensure access to the Pepper plugins before the sandbox is turned on.
PepperPluginRegistry::PreloadModules();
#endif
+#if defined(ENABLE_WEBRTC)
+ InitializeWebRtcModule();
+#endif
}
#if !defined(CHROMIUM_SELINUX)