OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2008 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # Ripped and modded from chrome. |
| 6 |
| 7 Import('env') |
| 8 |
| 9 env = env.Clone( |
| 10 LIBJPEG_DIR = '' |
| 11 ) |
| 12 |
| 13 env.Replace( |
| 14 LIBJPEG_DIR = '$THIRD_PARTY_DIR/libjpeg', |
| 15 CPPPATH = [ |
| 16 '$LIBJPEG_DIR', |
| 17 ], |
| 18 ) |
| 19 |
| 20 #env.Append( |
| 21 # CPPDEFINES = [ |
| 22 # ], |
| 23 #) |
| 24 |
| 25 input_files = [ |
| 26 '$LIBJPEG_DIR/jcapimin.c', |
| 27 '$LIBJPEG_DIR/jcapistd.c', |
| 28 '$LIBJPEG_DIR/jccoefct.c', |
| 29 '$LIBJPEG_DIR/jccolor.c', |
| 30 '$LIBJPEG_DIR/jcdctmgr.c', |
| 31 '$LIBJPEG_DIR/jchuff.c', |
| 32 '$LIBJPEG_DIR/jcinit.c', |
| 33 '$LIBJPEG_DIR/jcmainct.c', |
| 34 '$LIBJPEG_DIR/jcmarker.c', |
| 35 '$LIBJPEG_DIR/jcmaster.c', |
| 36 '$LIBJPEG_DIR/jcomapi.c', |
| 37 '$LIBJPEG_DIR/jcparam.c', |
| 38 '$LIBJPEG_DIR/jcphuff.c', |
| 39 '$LIBJPEG_DIR/jcprepct.c', |
| 40 '$LIBJPEG_DIR/jcsample.c', |
| 41 '$LIBJPEG_DIR/jctrans.c', |
| 42 '$LIBJPEG_DIR/jdapimin.c', |
| 43 '$LIBJPEG_DIR/jdapistd.c', |
| 44 '$LIBJPEG_DIR/jdatadst.c', |
| 45 '$LIBJPEG_DIR/jdatasrc.c', |
| 46 '$LIBJPEG_DIR/jdcoefct.c', |
| 47 '$LIBJPEG_DIR/jdcolor.c', |
| 48 '$LIBJPEG_DIR/jddctmgr.c', |
| 49 '$LIBJPEG_DIR/jdhuff.c', |
| 50 '$LIBJPEG_DIR/jdinput.c', |
| 51 '$LIBJPEG_DIR/jdmainct.c', |
| 52 '$LIBJPEG_DIR/jdmarker.c', |
| 53 '$LIBJPEG_DIR/jdmaster.c', |
| 54 '$LIBJPEG_DIR/jdmerge.c', |
| 55 '$LIBJPEG_DIR/jdphuff.c', |
| 56 '$LIBJPEG_DIR/jdpostct.c', |
| 57 '$LIBJPEG_DIR/jdsample.c', |
| 58 '$LIBJPEG_DIR/jdtrans.c', |
| 59 '$LIBJPEG_DIR/jerror.c', |
| 60 '$LIBJPEG_DIR/jfdctflt.c', |
| 61 '$LIBJPEG_DIR/jfdctfst.c', |
| 62 '$LIBJPEG_DIR/jfdctint.c', |
| 63 '$LIBJPEG_DIR/jidctflt.c', |
| 64 '$LIBJPEG_DIR/jidctfst.c', |
| 65 '$LIBJPEG_DIR/jidctint.c', |
| 66 '$LIBJPEG_DIR/jidctred.c', |
| 67 '$LIBJPEG_DIR/jquant1.c', |
| 68 '$LIBJPEG_DIR/jquant2.c', |
| 69 '$LIBJPEG_DIR/jutils.c', |
| 70 '$LIBJPEG_DIR/jmemmgr.c', |
| 71 '$LIBJPEG_DIR/jmemnobs.c', |
| 72 ] |
| 73 |
| 74 env.ChromeStaticLibrary('jpeg', input_files) |
OLD | NEW |