summaryrefslogtreecommitdiffstats
path: root/gears/SConscript.libgd
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-25 22:08:44 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-25 22:08:44 +0000
commitde8d2667d6953abb31b7c5385ca718ad47adf6a1 (patch)
tree3d4499631bbf551dd81bb50b43452705b37d7bfb /gears/SConscript.libgd
parentc9ec45429c64884c35f83b74131c0e3ae5b2bbe9 (diff)
downloadchromium_src-de8d2667d6953abb31b7c5385ca718ad47adf6a1.zip
chromium_src-de8d2667d6953abb31b7c5385ca718ad47adf6a1.tar.gz
chromium_src-de8d2667d6953abb31b7c5385ca718ad47adf6a1.tar.bz2
Wow, it's been a while since we cleaned EOL.
Ran dos2unix on *.cc, *.h, *.py and SCons*.* Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.cc Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.h Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.py Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\SCons*.* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript.libgd')
-rw-r--r--gears/SConscript.libgd160
1 files changed, 80 insertions, 80 deletions
diff --git a/gears/SConscript.libgd b/gears/SConscript.libgd
index fb3c25c..652e4e1 100644
--- a/gears/SConscript.libgd
+++ b/gears/SConscript.libgd
@@ -1,80 +1,80 @@
-# Copyright (c) 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.
-
-# Ripped and modded from chrome.
-
-Import('env')
-
-env = env.Clone(
-)
-
-env.Replace(
- LIBGD_DIR = '$THIRD_PARTY_DIR/libgd',
- CPPPATH = [
- '$LIBGD_DIR',
- '$THIRD_PARTY_DIR/libjpeg',
- '$THIRD_PARTY_DIR/libpng',
- '$THIRD_PARTY_DIR/zlib',
- ],
-)
-
-env.Append(
- CPPDEFINES = [
- 'HAVE_CONFIG_H',
- 'BGDWIN32',
- ],
-
-)
-
-if env['PLATFORM'] == 'win32':
- env.Append(
- CPPFLAGS = [
-# Disable some warnings when building third-party code, so we can enable /WX.
-# Examples:
-# warning C4244: conversion from 'type1' to 'type2', possible loss of data
-# warning C4018: signed/unsigned mismatch in comparison
-# warning C4003: not enough actual parameters for macro
- '/wd4244',
- '/wd4996',
- '/wd4005',
- '/wd4142',
- '/wd4018',
- '/wd4133',
- '/wd4102',
- ],
- )
-
-
-input_files = [
- '$LIBGD_DIR/gd.c',
- '$LIBGD_DIR/gdfx.c',
- '$LIBGD_DIR/gd_security.c',
- '$LIBGD_DIR/gd_gd.c',
- '$LIBGD_DIR/gd_gd2.c',
- '$LIBGD_DIR/gd_io.c',
- '$LIBGD_DIR/gd_io_dp.c',
- '$LIBGD_DIR/gd_gif_in.c',
- '$LIBGD_DIR/gd_gif_out.c',
- '$LIBGD_DIR/gd_io_file.c',
- '$LIBGD_DIR/gd_io_ss.c',
- '$LIBGD_DIR/gd_jpeg.c',
- '$LIBGD_DIR/gd_png.c',
- '$LIBGD_DIR/gd_ss.c',
- '$LIBGD_DIR/gd_topal.c',
- '$LIBGD_DIR/gd_wbmp.c',
- '$LIBGD_DIR/gdcache.c',
- '$LIBGD_DIR/gdfontg.c',
- '$LIBGD_DIR/gdfontl.c',
- '$LIBGD_DIR/gdfontmb.c',
- '$LIBGD_DIR/gdfonts.c',
- '$LIBGD_DIR/gdfontt.c',
- '$LIBGD_DIR/gdft.c',
- '$LIBGD_DIR/gdhelpers.c',
- '$LIBGD_DIR/gdkanji.c',
- '$LIBGD_DIR/gdtables.c',
- '$LIBGD_DIR/gdxpm.c',
- '$LIBGD_DIR/wbmp.c',
-]
-
-env.ChromeStaticLibrary('gd', input_files)
+# Copyright (c) 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.
+
+# Ripped and modded from chrome.
+
+Import('env')
+
+env = env.Clone(
+)
+
+env.Replace(
+ LIBGD_DIR = '$THIRD_PARTY_DIR/libgd',
+ CPPPATH = [
+ '$LIBGD_DIR',
+ '$THIRD_PARTY_DIR/libjpeg',
+ '$THIRD_PARTY_DIR/libpng',
+ '$THIRD_PARTY_DIR/zlib',
+ ],
+)
+
+env.Append(
+ CPPDEFINES = [
+ 'HAVE_CONFIG_H',
+ 'BGDWIN32',
+ ],
+
+)
+
+if env['PLATFORM'] == 'win32':
+ env.Append(
+ CPPFLAGS = [
+# Disable some warnings when building third-party code, so we can enable /WX.
+# Examples:
+# warning C4244: conversion from 'type1' to 'type2', possible loss of data
+# warning C4018: signed/unsigned mismatch in comparison
+# warning C4003: not enough actual parameters for macro
+ '/wd4244',
+ '/wd4996',
+ '/wd4005',
+ '/wd4142',
+ '/wd4018',
+ '/wd4133',
+ '/wd4102',
+ ],
+ )
+
+
+input_files = [
+ '$LIBGD_DIR/gd.c',
+ '$LIBGD_DIR/gdfx.c',
+ '$LIBGD_DIR/gd_security.c',
+ '$LIBGD_DIR/gd_gd.c',
+ '$LIBGD_DIR/gd_gd2.c',
+ '$LIBGD_DIR/gd_io.c',
+ '$LIBGD_DIR/gd_io_dp.c',
+ '$LIBGD_DIR/gd_gif_in.c',
+ '$LIBGD_DIR/gd_gif_out.c',
+ '$LIBGD_DIR/gd_io_file.c',
+ '$LIBGD_DIR/gd_io_ss.c',
+ '$LIBGD_DIR/gd_jpeg.c',
+ '$LIBGD_DIR/gd_png.c',
+ '$LIBGD_DIR/gd_ss.c',
+ '$LIBGD_DIR/gd_topal.c',
+ '$LIBGD_DIR/gd_wbmp.c',
+ '$LIBGD_DIR/gdcache.c',
+ '$LIBGD_DIR/gdfontg.c',
+ '$LIBGD_DIR/gdfontl.c',
+ '$LIBGD_DIR/gdfontmb.c',
+ '$LIBGD_DIR/gdfonts.c',
+ '$LIBGD_DIR/gdfontt.c',
+ '$LIBGD_DIR/gdft.c',
+ '$LIBGD_DIR/gdhelpers.c',
+ '$LIBGD_DIR/gdkanji.c',
+ '$LIBGD_DIR/gdtables.c',
+ '$LIBGD_DIR/gdxpm.c',
+ '$LIBGD_DIR/wbmp.c',
+]
+
+env.ChromeStaticLibrary('gd', input_files)