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

Unified Diff: third_party/libevent/libevent.scons

Issue 53121: Remove the checked-in scons configuration files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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
« no previous file with comments | « third_party/bzip2/using_bzip2.scons ('k') | third_party/libevent/using_libevent.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libevent/libevent.scons
===================================================================
--- third_party/libevent/libevent.scons (revision 12583)
+++ third_party/libevent/libevent.scons (working copy)
@@ -1,76 +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.
-
-
-__doc__ = """
-Configuration for building event.lib / libevent.a.
-
-This is currently only suitable for Linux and Mac.
-"""
-
-Import('env')
-
-env = env.Clone()
-
-env.Append(
- CPPDEFINES = [
- 'HAVE_CONFIG_H',
- ],
-)
-
-if env.Bit('mac'):
- 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.Bit('linux'):
- 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.Bit('linux'):
- input_files.extend([
- 'epoll.c',
- 'epoll_sub.c',
- ])
-
-if env.Bit('mac'):
- input_files.extend([
- 'kqueue.c',
- ])
-
-
-env.ChromeLibrary('event', input_files)
« no previous file with comments | « third_party/bzip2/using_bzip2.scons ('k') | third_party/libevent/using_libevent.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698