summaryrefslogtreecommitdiffstats
path: root/gears/SConscript.libjpeg
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-16 18:24:30 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-16 18:24:30 +0000
commit186f560e16c1e93189fd21571f2ba754ebe18118 (patch)
tree5fcfb11e65d0025cffc3d7c079564fb74f3ac4d3 /gears/SConscript.libjpeg
parent9cdaf0f648394c1affc52b7f92cc1d99f235e1b6 (diff)
downloadchromium_src-186f560e16c1e93189fd21571f2ba754ebe18118.zip
chromium_src-186f560e16c1e93189fd21571f2ba754ebe18118.tar.gz
chromium_src-186f560e16c1e93189fd21571f2ba754ebe18118.tar.bz2
Initial Gears SConscript file. A bit messy. Only builds chrome+dbg and
IE+dbg configurations. Review URL: http://codereview.chromium.org/232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gears/SConscript.libjpeg')
-rw-r--r--gears/SConscript.libjpeg74
1 files changed, 74 insertions, 0 deletions
diff --git a/gears/SConscript.libjpeg b/gears/SConscript.libjpeg
new file mode 100644
index 0000000..69c338e
--- /dev/null
+++ b/gears/SConscript.libjpeg
@@ -0,0 +1,74 @@
+# 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(
+ LIBJPEG_DIR = ''
+)
+
+env.Replace(
+ LIBJPEG_DIR = '$THIRD_PARTY_DIR/libjpeg',
+ CPPPATH = [
+ '$LIBJPEG_DIR',
+ ],
+)
+
+#env.Append(
+# CPPDEFINES = [
+# ],
+#)
+
+input_files = [
+ '$LIBJPEG_DIR/jcapimin.c',
+ '$LIBJPEG_DIR/jcapistd.c',
+ '$LIBJPEG_DIR/jccoefct.c',
+ '$LIBJPEG_DIR/jccolor.c',
+ '$LIBJPEG_DIR/jcdctmgr.c',
+ '$LIBJPEG_DIR/jchuff.c',
+ '$LIBJPEG_DIR/jcinit.c',
+ '$LIBJPEG_DIR/jcmainct.c',
+ '$LIBJPEG_DIR/jcmarker.c',
+ '$LIBJPEG_DIR/jcmaster.c',
+ '$LIBJPEG_DIR/jcomapi.c',
+ '$LIBJPEG_DIR/jcparam.c',
+ '$LIBJPEG_DIR/jcphuff.c',
+ '$LIBJPEG_DIR/jcprepct.c',
+ '$LIBJPEG_DIR/jcsample.c',
+ '$LIBJPEG_DIR/jctrans.c',
+ '$LIBJPEG_DIR/jdapimin.c',
+ '$LIBJPEG_DIR/jdapistd.c',
+ '$LIBJPEG_DIR/jdatadst.c',
+ '$LIBJPEG_DIR/jdatasrc.c',
+ '$LIBJPEG_DIR/jdcoefct.c',
+ '$LIBJPEG_DIR/jdcolor.c',
+ '$LIBJPEG_DIR/jddctmgr.c',
+ '$LIBJPEG_DIR/jdhuff.c',
+ '$LIBJPEG_DIR/jdinput.c',
+ '$LIBJPEG_DIR/jdmainct.c',
+ '$LIBJPEG_DIR/jdmarker.c',
+ '$LIBJPEG_DIR/jdmaster.c',
+ '$LIBJPEG_DIR/jdmerge.c',
+ '$LIBJPEG_DIR/jdphuff.c',
+ '$LIBJPEG_DIR/jdpostct.c',
+ '$LIBJPEG_DIR/jdsample.c',
+ '$LIBJPEG_DIR/jdtrans.c',
+ '$LIBJPEG_DIR/jerror.c',
+ '$LIBJPEG_DIR/jfdctflt.c',
+ '$LIBJPEG_DIR/jfdctfst.c',
+ '$LIBJPEG_DIR/jfdctint.c',
+ '$LIBJPEG_DIR/jidctflt.c',
+ '$LIBJPEG_DIR/jidctfst.c',
+ '$LIBJPEG_DIR/jidctint.c',
+ '$LIBJPEG_DIR/jidctred.c',
+ '$LIBJPEG_DIR/jquant1.c',
+ '$LIBJPEG_DIR/jquant2.c',
+ '$LIBJPEG_DIR/jutils.c',
+ '$LIBJPEG_DIR/jmemmgr.c',
+ '$LIBJPEG_DIR/jmemnobs.c',
+]
+
+env.ChromeStaticLibrary('jpeg', input_files)