summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-08 21:29:24 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-08 21:29:24 +0000
commit146d7f5b9056a8f6b5a1386917b8f4691f274806 (patch)
treedb3956a29990e98ee470ccef971e619b4d7d253b /webkit/tools
parentdb55f8770c85bfee8836fe70233b769a48b176d9 (diff)
downloadchromium_src-146d7f5b9056a8f6b5a1386917b8f4691f274806.zip
chromium_src-146d7f5b9056a8f6b5a1386917b8f4691f274806.tar.gz
chromium_src-146d7f5b9056a8f6b5a1386917b8f4691f274806.tar.bz2
linux: build a fake libxul and libxpcom
This makes some plugins happy. As described in the file comments, this approach is also used by nspluginwrapper. Review URL: http://codereview.chromium.org/202012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25665 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/libxul_hack/libxul_hack.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/webkit/tools/libxul_hack/libxul_hack.cc b/webkit/tools/libxul_hack/libxul_hack.cc
new file mode 100644
index 0000000..600d75a
--- /dev/null
+++ b/webkit/tools/libxul_hack/libxul_hack.cc
@@ -0,0 +1,14 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Some plugins on older Linuxes depend on libxul.so and libxpcom.so
+// despite not actually requiring any symbols from them. So we build
+// a fake libxul.so and libxpcom.so and include them in our library
+// path.
+//
+// This source file is therefore empty, and used to build those
+// libraries.
+//
+// This may sound like a terrible hack, but after I thought of it I
+// noticed that nspluginwrapper does the same thing.