summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/libxul_hack/libxpcom_hack.cc6
-rw-r--r--webkit/webkit.gyp2
2 files changed, 7 insertions, 1 deletions
diff --git a/webkit/tools/libxul_hack/libxpcom_hack.cc b/webkit/tools/libxul_hack/libxpcom_hack.cc
new file mode 100644
index 0000000..65a2aa8
--- /dev/null
+++ b/webkit/tools/libxul_hack/libxpcom_hack.cc
@@ -0,0 +1,6 @@
+// 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.
+
+// See libxul_hack.cc. This additional file works around scons not liking
+// multiple targets from the same source.
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp
index 12f7c2f..7d363da 100644
--- a/webkit/webkit.gyp
+++ b/webkit/webkit.gyp
@@ -1625,7 +1625,7 @@
'product_dir': '<(PRODUCT_DIR)',
'type': 'loadable_module',
'sources': [
- 'tools/libxul_hack/libxul_hack.cc'
+ 'tools/libxul_hack/libxpcom_hack.cc'
],
},
], # targets