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

Side by Side Diff: third_party/libjpeg/SConscript

Issue 11430: Fix use of LOAD= with WantSystemLib()... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright 2008, Google Inc.
2 # All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
13 # distribution.
14 # * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30 # TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct
31 Import('env')
32
33 env = env.Clone()
34
35 env.Prepend(
36 CPPPATH = [
37 '$CHROME_SRC_DIR',
38 ],
39 )
40
41 if env['PLATFORM'] == 'win32':
42 env.Append(
43 CCFLAGS = [
44 '/TC',
45 '/wd4800',
46 ],
47 )
48 elif env['PLATFORM'] == 'posix':
49 if '-Wall' in env['CCFLAGS']:
50 # We're not responsible for bad warning hygiene in this third party code.
51 env['CCFLAGS'].remove('-Wall')
52
53 input_files = [
54 'jcapimin.c',
55 'jcapistd.c',
56 'jccoefct.c',
57 'jccolor.c',
58 'jcdctmgr.c',
59 'jchuff.c',
60 'jcinit.c',
61 'jcmainct.c',
62 'jcmarker.c',
63 'jcmaster.c',
64 'jcomapi.c',
65 'jcparam.c',
66 'jcphuff.c',
67 'jcprepct.c',
68 'jcsample.c',
69 'jdapimin.c',
70 'jdapistd.c',
71 'jdatadst.c',
72 'jdatasrc.c',
73 'jdcoefct.c',
74 'jdcolor.c',
75 'jddctmgr.c',
76 'jdhuff.c',
77 'jdinput.c',
78 'jdmainct.c',
79 'jdmarker.c',
80 'jdmaster.c',
81 'jdmerge.c',
82 'jdphuff.c',
83 'jdpostct.c',
84 'jdsample.c',
85 'jerror.c',
86 'jfdctflt.c',
87 'jfdctfst.c',
88 'jfdctint.c',
89 'jidctflt.c',
90 'jidctfst.c',
91 'jidctint.c',
92 'jmemmgr.c',
93 'jmemnobs.c',
94 'jquant1.c',
95 'jquant2.c',
96 'jutils.c',
97 ]
98
99 env.ChromeStaticLibrary('libjpeg', input_files)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698