| Index: third_party/libevent/SConscript
 | 
| ===================================================================
 | 
| --- third_party/libevent/SConscript	(revision 3664)
 | 
| +++ third_party/libevent/SConscript	(working copy)
 | 
| @@ -1,72 +0,0 @@
 | 
| -# 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.
 | 
| -
 | 
| -# This SConscript is currently only suitable for Linux.
 | 
| -
 | 
| -Import('env')
 | 
| -
 | 
| -env = env.Clone(
 | 
| -)
 | 
| -
 | 
| -env.Append(
 | 
| -    CPPDEFINES = [
 | 
| -        'HAVE_CONFIG_H',
 | 
| -    ],
 | 
| -)
 | 
| -
 | 
| -if env['PLATFORM'] == 'darwin':
 | 
| -  env.Prepend(
 | 
| -      CPPPATH = [
 | 
| -          '$LIBEVENT_DIR/generated/',
 | 
| -      ],
 | 
| -  )
 | 
| -  env['ENV']['CONFIGURATION_TEMP_DIR'] = env.Dir('$LIBEVENT_DIR').abspath
 | 
| -  env.Command('$LIBEVENT_DIR/generated/config.h',
 | 
| -              ['libevent.xcodeproj/libevent_prebuild.sh', 'config.h.in'],
 | 
| -              'sh ${SOURCES[0]} ${SOURCES[1]}')
 | 
| -    
 | 
| -
 | 
| -if env['PLATFORM'] == 'posix':
 | 
| -  env.Prepend(
 | 
| -      CPPPATH = [
 | 
| -          '$LIBEVENT_DIR/linux/',
 | 
| -      ],
 | 
| -  )
 | 
| -
 | 
| -env.Prepend(
 | 
| -    CPPPATH = [
 | 
| -        '$LIBEVENT_DIR',
 | 
| -        '$LIBEVENT_DIR/compat/',
 | 
| -    ],
 | 
| -)
 | 
| -
 | 
| -input_files = [
 | 
| -    'buffer.c',
 | 
| -    'evbuffer.c',
 | 
| -    'evdns.c',
 | 
| -    'event.c',
 | 
| -    'event_tagging.c',
 | 
| -    'evrpc.c',
 | 
| -    'evutil.c',
 | 
| -    'http.c',
 | 
| -    'log.c',
 | 
| -    'poll.c',
 | 
| -    'select.c',
 | 
| -    'signal.c',
 | 
| -    'strlcpy.c',
 | 
| -]
 | 
| -
 | 
| -if env['PLATFORM'] == 'posix':
 | 
| -  input_files.extend([
 | 
| -      'epoll.c',
 | 
| -      'epoll_sub.c',
 | 
| -  ])
 | 
| -
 | 
| -if env['PLATFORM'] == 'darwin':
 | 
| -  input_files.extend([
 | 
| -      'kqueue.c',
 | 
| -  ])
 | 
| -
 | 
| -
 | 
| -env.ChromeStaticLibrary('event', input_files)
 | 
| 
 |