Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: webkit/webkit.gyp

Issue 202012: linux: build a fake libxul and libxpcom (Closed)
Patch Set: works Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/chrome.gyp ('K') | « webkit/tools/libxul_hack/libxul_hack.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« chrome/chrome.gyp ('K') | « webkit/tools/libxul_hack/libxul_hack.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698