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

Side by Side Diff: base/gfx/base_gfx.scons

Issue 7807: SCons renaming updates for base, net and googleurl:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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 | « base/gfx/SConscript ('k') | base/gfx/using_base_gfx.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/SConscript:r69-2775
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 __doc__ = """
6 Configuration for building base_gfx.lib / libbase_gfx.a.
7 """
8
5 Import('env') 9 Import('env')
6 10
7 env = env.Clone() 11 env = env.Clone()
8 12
9 # Remove an inherited relative path that doesn't make sense anymore. This 13 env.SConscript([
10 # makes sure we don't pull in the wrong version of time.h when building on 14 '$ICU38_DIR/using_icu38.scons',
11 # linux. 15 '$LIBPNG_DIR/using_libpng.scons',
12 env['CPPPATH'].remove('..') 16 '$SKIA_DIR/using_skia.scons',
17 '$ZLIB_DIR/using_zlib.scons',
18 ], {'env':env})
13 19
14 env.Prepend( 20 env.Prepend(
15 CPPPATH = [ 21 CPPPATH = [
16 '$SKIA_DIR/include', 22 '$ROOT_DIR',
17 '$SKIA_DIR/include/corecg',
18 '$SKIA_DIR/include/platform',
19 '$ZLIB_DIR',
20 '$LIBPNG_DIR',
21 '$ICU38_DIR/public/common',
22 '$ICU38_DIR/public/i18n',
23 '../..',
24 ],
25 CPPDEFINES = [
26 'PNG_USER_CONFIG',
27 'CHROME_PNG_WRITE_SUPPORT',
28 'U_STATIC_IMPLEMENTATION',
29 ], 23 ],
30 ) 24 )
31 25
32 if env['PLATFORM'] == 'win32': 26 if env['PLATFORM'] == 'win32':
33 env.Prepend( 27 env.Prepend(
34 CCFLAGS = [ 28 CCFLAGS = [
35 '/TP', 29 '/TP',
36 '/WX', 30 '/WX',
37 ], 31 ],
38 ) 32 )
39 33
40 input_files = [ 34 input_files = [
41 'convolver.cc', 35 'convolver.cc',
42 'image_operations.cc',
43 'png_decoder.cc',
44 'png_encoder.cc',
45 'point.cc',
46 'rect.cc',
47 'size.cc',
48 ]
49
50 if env['PLATFORM'] == 'win32':
51 # Some of these aren't really Windows-specific, they're just here until
52 # we have the port versions working.
53 input_files.extend([
54 'font_utils.cc', 36 'font_utils.cc',
55 'gdi_util.cc', 37 'gdi_util.cc',
38 'image_operations.cc',
56 'native_theme.cc', 39 'native_theme.cc',
40 'png_decoder.cc',
41 'png_encoder.cc',
42 'point.cc',
43 'rect.cc',
44 'size.cc',
57 'skia_utils.cc', 45 'skia_utils.cc',
58 'uniscribe.cc', 46 'uniscribe.cc',
59 'vector_canvas.cc', 47 'vector_canvas.cc',
60 'vector_device.cc', 48 'vector_device.cc',
61 ]) 49 ]
50
51 if env['PLATFORM'] in ('posix', 'darwin'):
52 # Remove files that still need to be ported from the input_files list.
53 # TODO(port): delete files from this list as they get ported.
54 to_be_ported_files = [
55 'font_utils.cc',
56 'gdi_util.cc',
57 'native_theme.cc',
58 'skia_utils.cc',
59 'uniscribe.cc',
60 'vector_canvas.cc',
61 'vector_device.cc',
62 ]
63 for remove in to_be_ported_files:
64 input_files.remove(remove)
62 65
63 if env['PLATFORM'] == 'win32': 66 if env['PLATFORM'] == 'win32':
64 input_files.extend([ 67 input_files.extend([
65 'bitmap_platform_device_win.cc', 68 'bitmap_platform_device_win.cc',
66 'platform_canvas_win.cc', 69 'platform_canvas_win.cc',
67 'platform_device_win.cc', 70 'platform_device_win.cc',
68 ]) 71 ])
69 elif env['PLATFORM'] == 'posix': 72 elif env['PLATFORM'] == 'posix':
70 input_files.extend([ 73 input_files.extend([
71 'bitmap_platform_device_linux.cc', 74 'bitmap_platform_device_linux.cc',
72 'platform_canvas_linux.cc', 75 'platform_canvas_linux.cc',
73 'platform_device_linux.cc', 76 'platform_device_linux.cc',
74 ]) 77 ])
75 78
76 env.ChromeStaticLibrary('base_gfx', input_files) 79 env.ChromeStaticLibrary('base_gfx', input_files)
77
OLDNEW
« no previous file with comments | « base/gfx/SConscript ('k') | base/gfx/using_base_gfx.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698