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

Unified Diff: third_party/libxml/libxml.gyp

Issue 10251004: Move libxml_utils from chrome/common to third_party/libxml/chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DEPS. Created 8 years, 7 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
Index: third_party/libxml/libxml.gyp
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp
index 621bc989b5d55b1d2921cc04d143faa32fa0e99e..4867f610a85e9752b0b3d6e2a7dc75d8eb9ce665 100644
--- a/third_party/libxml/libxml.gyp
+++ b/third_party/libxml/libxml.gyp
@@ -20,7 +20,20 @@
'target_name': 'libxml',
'conditions': [
['os_posix == 1 and OS != "mac" and use_system_libxml', {
- 'type': 'none',
+ 'type': 'static_library',
+ 'sources': [
+ 'chromium/include/libxml/libxml_utils.h',
+ 'chromium/libxml_utils.cc',
+ ],
+ 'cflags': [
+ '<!@(pkg-config --cflags libxml-2.0)',
+ ],
+ 'defines': [
+ 'USE_SYSTEM_LIBXML',
+ ],
+ 'include_dirs': [
+ 'chromium/include',
+ ],
'direct_dependent_settings': {
'cflags': [
'<!@(pkg-config --cflags libxml-2.0)',
@@ -28,6 +41,9 @@
'defines': [
'USE_SYSTEM_LIBXML',
],
+ 'include_dirs': [
+ 'chromium/include',
+ ],
},
'link_settings': {
'ldflags': [
@@ -40,6 +56,8 @@
}, { # else: os_posix != 1 or OS == "mac" or ! use_system_libxml
'type': 'static_library',
'sources': [
+ 'chromium/include/libxml/libxml_utils.h',
+ 'chromium/libxml_utils.cc',
'linux/config.h',
'linux/include/libxml/xmlversion.h',
'mac/config.h',
@@ -159,6 +177,7 @@
'include_dirs': [
'<(os_include)',
'<(os_include)/include',
+ 'chromium/include',
'src/include',
],
'dependencies': [
@@ -174,6 +193,7 @@
],
'include_dirs': [
'<(os_include)/include',
+ 'chromium/include',
'src/include',
],
},

Powered by Google App Engine
This is Rietveld 408576698