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

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

Issue 13080: Move convolver and image_operations from base/gfx to skia/ext. This is just... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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/build/base_unittests.vcproj ('k') | base/gfx/convolver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__ = """ 5 __doc__ = """
6 Configuration for building base_gfx.lib / libbase_gfx.a. 6 Configuration for building base_gfx.lib / libbase_gfx.a.
7 """ 7 """
8 8
9 Import('env') 9 Import('env')
10 10
11 env = env.Clone() 11 env = env.Clone()
12 12
13 env.ApplySConscript([ 13 env.ApplySConscript([
14 '$ICU38_DIR/using_icu38.scons', 14 '$ICU38_DIR/using_icu38.scons',
15 '$LIBPNG_DIR/using_libpng.scons', 15 '$LIBPNG_DIR/using_libpng.scons',
16 '$SKIA_DIR/using_skia.scons', 16 '$SKIA_DIR/using_skia.scons',
17 '$ZLIB_DIR/using_zlib.scons', 17 '$ZLIB_DIR/using_zlib.scons',
18 ]) 18 ])
19 19
20 if env['PLATFORM'] == 'win32': 20 if env['PLATFORM'] == 'win32':
21 env.Prepend( 21 env.Prepend(
22 CCFLAGS = [ 22 CCFLAGS = [
23 '/WX', 23 '/WX',
24 ], 24 ],
25 ) 25 )
26 26
27 input_files = [ 27 input_files = [
28 'convolver.cc',
29 'gdi_util.cc', 28 'gdi_util.cc',
30 'image_operations.cc',
31 'native_theme.cc', 29 'native_theme.cc',
32 'png_decoder.cc', 30 'png_decoder.cc',
33 'png_encoder.cc', 31 'png_encoder.cc',
34 'point.cc', 32 'point.cc',
35 'rect.cc', 33 'rect.cc',
36 'size.cc', 34 'size.cc',
37 'skia_utils.cc', 35 'skia_utils.cc',
38 ] 36 ]
39 37
40 if env['PLATFORM'] in ('posix', 'darwin'): 38 if env['PLATFORM'] in ('posix', 'darwin'):
41 # Remove files that still need to be ported from the input_files list. 39 # Remove files that still need to be ported from the input_files list.
42 # TODO(port): delete files from this list as they get ported. 40 # TODO(port): delete files from this list as they get ported.
43 to_be_ported_files = [ 41 to_be_ported_files = [
44 'gdi_util.cc', 42 'gdi_util.cc',
45 'native_theme.cc', 43 'native_theme.cc',
46 'skia_utils.cc', 44 'skia_utils.cc',
47 ] 45 ]
48 for remove in to_be_ported_files: 46 for remove in to_be_ported_files:
49 input_files.remove(remove) 47 input_files.remove(remove)
50 48
51 if env['PLATFORM'] == 'win32': 49 if env['PLATFORM'] == 'win32':
52 input_files.extend([ 50 input_files.extend([
53 ]) 51 ])
54 elif env['PLATFORM'] == 'posix': 52 elif env['PLATFORM'] == 'posix':
55 input_files.extend([ 53 input_files.extend([
56 ]) 54 ])
57 55
58 env.ChromeStaticLibrary('base_gfx', input_files) 56 env.ChromeStaticLibrary('base_gfx', input_files)
OLDNEW
« no previous file with comments | « base/build/base_unittests.vcproj ('k') | base/gfx/convolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698