summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-04 22:23:55 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-04 22:23:55 +0000
commit92508df5db3ec8927d1f0f3d786d38c2861e5c58 (patch)
tree3a22c4fee079adc25435191aaadcbe385d2bc3fe /base
parentd3766937d96f44abf9cfe5df3518fff8fc54bb90 (diff)
downloadchromium_src-92508df5db3ec8927d1f0f3d786d38c2861e5c58.zip
chromium_src-92508df5db3ec8927d1f0f3d786d38c2861e5c58.tar.gz
chromium_src-92508df5db3ec8927d1f0f3d786d38c2861e5c58.tar.bz2
Linux: fix build with system libevent.
message_pump_libevent_unittest.cc uses libevent directly, and it must get USE_SYSTEM_LIBEVENT symbol to work correctly with libevent. To make that work, base_unittests must depend on libevent.gyp, which uses direct_dependent_settings to set USE_SYSTEM_LIBEVENT. This is upstreaming a Gentoo Linux patch. BUG=none Review URL: http://codereview.chromium.org/7578011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95519 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/base.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp
index d952161..8e28506 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -283,6 +283,9 @@
'message_pump_libevent_unittest.cc',
],
}, { # OS != "win"
+ 'dependencies': [
+ '../third_party/libevent/libevent.gyp:libevent'
+ ],
'sources/': [
['exclude', '^win/'],
],