summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorpeter@chromium.org <peter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-18 17:09:06 +0000
committerpeter@chromium.org <peter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-18 17:09:06 +0000
commit98a5805bd49704ef353e3b35c616f26ff49a7f55 (patch)
tree482623d47fdc38bc6753be181e7913a9a5b12c22 /third_party
parent83a13b2018c85e9a6e57edcc6868d0d5061f4acb (diff)
downloadchromium_src-98a5805bd49704ef353e3b35c616f26ff49a7f55.zip
chromium_src-98a5805bd49704ef353e3b35c616f26ff49a7f55.tar.gz
chromium_src-98a5805bd49704ef353e3b35c616f26ff49a7f55.tar.bz2
Fix building libxml for Android
libxml should be built with _REENTRANT defined when building for Android, as this will enable threading. BUG= TEST= Review URL: http://codereview.chromium.org/7926009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101702 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/libxml/libxml.gyp4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp
index 0b6bf67..9f27263 100644
--- a/third_party/libxml/libxml.gyp
+++ b/third_party/libxml/libxml.gyp
@@ -1,4 +1,4 @@
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -186,7 +186,7 @@
],
},
}],
- ['OS=="mac"', {'defines': ['_REENTRANT']}],
+ ['OS=="mac" or OS=="android"', {'defines': ['_REENTRANT']}],
['OS=="win"', {
'product_name': 'libxml2',
}, { # else: OS!="win"