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

Side by Side Diff: third_party/libpng/libpng.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libjpeg/using_libjpeg.scons ('k') | third_party/libpng/using_libpng.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2006-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
6 __doc__ = """
7 Configuration for building libpng.lib / libpng.a.
8 """
9
10 Import('env')
11
12 if env.WantSystemLib('libpng'):
13 Return()
14
15 env = env.Clone()
16
17 env.ApplySConscript([
18 '$ZLIB_DIR/using_zlib.scons',
19 ])
20
21 env.Prepend(
22 CPPPATH = [
23 '$CHROME_SRC_DIR',
24 ],
25 )
26
27 if env.Bit('windows'):
28 env.Append(
29 CCFLAGS = [
30 '/TP',
31 '/wd4800',
32 ],
33 )
34
35 env.Append(
36 CPPDEFINES = [
37 'PNG_USER_CONFIG',
38 'CHROME_PNG_WRITE_SUPPORT',
39 ],
40 )
41
42 input_files = ChromeFileList([
43 'png.c',
44 'png.h',
45 'pngconf.h',
46 'pngerror.c',
47 'pnggccrd.c',
48 'pngget.c',
49 'pngmem.c',
50 'pngpread.c',
51 'pngread.c',
52 'pngrio.c',
53 'pngrtran.c',
54 'pngrutil.c',
55 'pngset.c',
56 'pngtrans.c',
57 'pngusr.h',
58 'pngvcrd.c',
59 'pngwio.c',
60 'pngwrite.c',
61 'pngwtran.c',
62 'pngwutil.c',
63 ])
64
65 env.ChromeLibrary('libpng', input_files)
66
67 p = env.ChromeMSVSProject('libpng.vcproj',
68 dest=('$CHROME_SRC_DIR/third_party/'
69 + 'libpng/libpng.vcproj'),
70 guid='{C564F145-9172-42C3-BFCB-6014CA97DBCD}',
71 keyword='Win32Proj',
72 files=input_files,
73 relative_path_prefix='./',
74 tools = [
75 'VCLibrarianTool',
76 'VCCLCompilerTool',
77 ])
78
79 p.AddConfig('Debug|Win32',
80 ConfigurationType = '4',
81 InheritedPropertySheets = [
82 '$(SolutionDir)../build/common.vsprops',
83 '$(SolutionDir)../build/debug.vsprops',
84 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops',
85 '$(SolutionDir)../build/external_code.vsprops',
86 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops',
87 ])
88
89 p.AddConfig('Release|Win32',
90 ConfigurationType = '4',
91 InheritedPropertySheets = [
92 '$(SolutionDir)../build/common.vsprops',
93 '$(SolutionDir)../build/release.vsprops',
94 '$(SolutionDir)../third_party/zlib/using_zlib.vsprops',
95 '$(SolutionDir)../build/external_code.vsprops',
96 '$(SolutionDir)../third_party/libpng/using_libpng.vsprops',
97 ])
OLDNEW
« no previous file with comments | « third_party/libjpeg/using_libjpeg.scons ('k') | third_party/libpng/using_libpng.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698