Index: third_party/libxml/libxml.gyp |
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp |
index 3e6f6151576197929d0186964ec4b39eee4c0064..44b2e7578939ba147b1107dbb842dd4d1aa013d0 100644 |
--- a/third_party/libxml/libxml.gyp |
+++ b/third_party/libxml/libxml.gyp |
@@ -18,6 +18,7 @@ |
'targets': [ |
{ |
'target_name': 'libxml', |
+ 'toolsets': ['host', 'target'], |
'conditions': [ |
['use_system_libxml', { |
'conditions': [ |
@@ -51,7 +52,14 @@ |
}, |
}], |
['OS == "ios"', { |
- 'type': 'none', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'chromium/libxml_utils.h', |
+ 'chromium/libxml_utils.cc', |
+ ], |
+ 'include_dirs': [ |
+ '$(SDKROOT)/usr/include/libxml2', |
+ ], |
'all_dependent_settings': { |
'defines': [ |
'USE_SYSTEM_LIBXML', |