Index: webkit/tools/libxul_hack/libxul_hack.cc |
diff --git a/webkit/tools/libxul_hack/libxul_hack.cc b/webkit/tools/libxul_hack/libxul_hack.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..600d75a287eec09cb64cdb2b86e4c844430f9dd1 |
--- /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. |