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

Side by Side Diff: gears/SConscript.libpng

Issue 232: Initial Gears SConscript file. Doesn't build yet. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « gears/SConscript.libjpeg ('k') | gears/SConscript.portaudio » ('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) 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 )
11
12 env.Replace(
13 LIBPNG_DIR = '$THIRD_PARTY_DIR/libpng',
14 CPPPATH = [
15 '$LIBPNG_DIR',
16 '$THIRD_PARTY_DIR/zlib',
17 ],
18 )
19
20 env.Append(
21 CPPDEFINES = [
22 ],
23 )
24
25 input_files = [
26 # Common Files
27 '$LIBPNG_DIR/png.c',
28 '$LIBPNG_DIR/pngerror.c',
29 '$LIBPNG_DIR/pngget.c',
30 '$LIBPNG_DIR/pngmem.c',
31 '$LIBPNG_DIR/pngset.c',
32 '$LIBPNG_DIR/pngtrans.c',
33
34 # Reading PNGs
35 '$LIBPNG_DIR/pngpread.c',
36 '$LIBPNG_DIR/pngread.c',
37 '$LIBPNG_DIR/pngrio.c',
38 '$LIBPNG_DIR/pngrtran.c',
39 '$LIBPNG_DIR/pngrutil.c',
40 ]
41
42 # The following files are not yet needed; exclude them to save size.
43 if not env['OFFICIAL_BUILD']:
44 input_files += [
45 # Writing PNGs
46 '$LIBPNG_DIR/pngwio.c',
47 '$LIBPNG_DIR/pngwrite.c',
48 '$LIBPNG_DIR/pngwtran.c',
49 '$LIBPNG_DIR/pngwutil.c',
50 ]
51
52 env.ChromeStaticLibrary('png', input_files)
OLDNEW
« no previous file with comments | « gears/SConscript.libjpeg ('k') | gears/SConscript.portaudio » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698