diff options
Diffstat (limited to 'third_party/libevent')
-rw-r--r-- | third_party/libevent/libevent.scons (renamed from third_party/libevent/SConscript) | 10 | ||||
-rw-r--r-- | third_party/libevent/using_libevent.scons | 15 |
2 files changed, 22 insertions, 3 deletions
diff --git a/third_party/libevent/SConscript b/third_party/libevent/libevent.scons index 3d1eb9b..82e54ce 100644 --- a/third_party/libevent/SConscript +++ b/third_party/libevent/libevent.scons @@ -2,12 +2,16 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -# This SConscript is currently only suitable for Linux. + +__doc__ = """ +Configuration for building event.lib / libevent.a. + +This is currently only suitable for Linux and Mac. +""" Import('env') -env = env.Clone( -) +env = env.Clone() env.Append( CPPDEFINES = [ diff --git a/third_party/libevent/using_libevent.scons b/third_party/libevent/using_libevent.scons new file mode 100644 index 0000000..958c653 --- /dev/null +++ b/third_party/libevent/using_libevent.scons @@ -0,0 +1,15 @@ +# Copyright (c) 2006-2008 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. + +__doc__ = """ +Settings for other components using the event library. +""" + +Import("env") + +env.Append( + LIBS = [ + 'event', + ], +) |