Chromium Code Reviews

Unified Diff: third_party/expat/expat.gyp

Issue 212017: Fix expat.gyp to build on Linux (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/expat/expat.gyp
===================================================================
--- third_party/expat/expat.gyp (revision 26358)
+++ third_party/expat/expat.gyp (working copy)
@@ -9,7 +9,6 @@
'target_defaults': {
'defines': [
'_LIB',
- 'COMPILED_FROM_DSP',
'XML_STATIC', # Compile for static linkage.
],
'include_dirs': [
@@ -40,7 +39,19 @@
'defines': [
'XML_STATIC', # Tell dependants to expect static linkage.
],
- }
+ },
+ 'conditions': [
+ ['OS=="win"', {
+ 'defines' : [
ncarter (slow) 2009/09/18 14:19:08 no space before the colon.
+ 'COMPILED_FROM_DSP',
+ ],
+ }],
+ ['OS=="linux"', {
+ 'defines': [
+ 'HAVE_EXPAT_CONFIG_H',
+ ],
+ }],
+ ],
},
],
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine