Index: webkit/webkit.gyp |
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp |
index 4eb4d37d903bf7b705906c090d8daf85acf7c540..25948ffae12b920ab00d3f75b2707e6f87e0ca44 100644 |
--- a/webkit/webkit.gyp |
+++ b/webkit/webkit.gyp |
@@ -1571,7 +1571,7 @@ |
'../v8/tools/logreader.js', |
'../v8/tools/profile.js', |
'../v8/tools/profile_view.js', |
- '../v8/tools/splaytree.js', |
+ '../v8/tools/splaytree.js', |
], |
}, |
{ |
@@ -1584,5 +1584,31 @@ |
}, |
], |
}, |
- ], |
+ ], # targets |
+ 'conditions': [ |
+ ['OS=="linux"', { |
+ # See the comments in libxul_hack.cc for a description of why these |
+ # libraries exist. |
+ 'targets': [ |
+ { |
+ # We want to build exactly "libxul.so". |
+ 'target_name': 'xul', |
+ 'product_dir': '<(PRODUCT_DIR)', |
+ 'type': 'loadable_module', |
+ 'sources': [ |
+ 'tools/libxul_hack/libxul_hack.cc' |
+ ], |
+ }, |
+ { |
+ # We want to build exactly "libxpcom.so". |
+ 'target_name': 'xpcom', |
+ 'product_dir': '<(PRODUCT_DIR)', |
+ 'type': 'loadable_module', |
+ 'sources': [ |
+ 'tools/libxul_hack/libxul_hack.cc' |
+ ], |
+ }, |
+ ], # targets |
+ }], |
+ ], # conditions |
} |