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

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

Issue 10785: Debase our Uniscribe code. This moves FontUtils and all our Uniscribe code fr... (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
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
(...skipping 15 matching lines...) Expand all
26 if env['PLATFORM'] == 'win32': 26 if env['PLATFORM'] == 'win32':
27 env.Prepend( 27 env.Prepend(
28 CCFLAGS = [ 28 CCFLAGS = [
29 '/TP', 29 '/TP',
30 '/WX', 30 '/WX',
31 ], 31 ],
32 ) 32 )
33 33
34 input_files = [ 34 input_files = [
35 'convolver.cc', 35 'convolver.cc',
36 'font_utils.cc',
37 'gdi_util.cc', 36 'gdi_util.cc',
38 'image_operations.cc', 37 'image_operations.cc',
39 'native_theme.cc', 38 'native_theme.cc',
40 'png_decoder.cc', 39 'png_decoder.cc',
41 'png_encoder.cc', 40 'png_encoder.cc',
42 'point.cc', 41 'point.cc',
43 'rect.cc', 42 'rect.cc',
44 'size.cc', 43 'size.cc',
45 'skia_utils.cc', 44 'skia_utils.cc',
46 'uniscribe.cc',
47 'vector_canvas.cc', 45 'vector_canvas.cc',
48 'vector_device.cc', 46 'vector_device.cc',
49 ] 47 ]
50 48
51 if env['PLATFORM'] in ('posix', 'darwin'): 49 if env['PLATFORM'] in ('posix', 'darwin'):
52 # Remove files that still need to be ported from the input_files list. 50 # 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. 51 # TODO(port): delete files from this list as they get ported.
54 to_be_ported_files = [ 52 to_be_ported_files = [
55 'font_utils.cc',
56 'gdi_util.cc', 53 'gdi_util.cc',
57 'native_theme.cc', 54 'native_theme.cc',
58 'skia_utils.cc', 55 'skia_utils.cc',
59 'uniscribe.cc',
60 'vector_canvas.cc', 56 'vector_canvas.cc',
61 'vector_device.cc', 57 'vector_device.cc',
62 ] 58 ]
63 for remove in to_be_ported_files: 59 for remove in to_be_ported_files:
64 input_files.remove(remove) 60 input_files.remove(remove)
65 61
66 if env['PLATFORM'] == 'win32': 62 if env['PLATFORM'] == 'win32':
67 input_files.extend([ 63 input_files.extend([
68 'bitmap_platform_device_win.cc', 64 'bitmap_platform_device_win.cc',
69 'platform_canvas_win.cc', 65 'platform_canvas_win.cc',
70 'platform_device_win.cc', 66 'platform_device_win.cc',
71 ]) 67 ])
72 elif env['PLATFORM'] == 'posix': 68 elif env['PLATFORM'] == 'posix':
73 input_files.extend([ 69 input_files.extend([
74 'bitmap_platform_device_linux.cc', 70 'bitmap_platform_device_linux.cc',
75 'platform_canvas_linux.cc', 71 'platform_canvas_linux.cc',
76 'platform_device_linux.cc', 72 'platform_device_linux.cc',
77 ]) 73 ])
78 74
79 env.ChromeStaticLibrary('base_gfx', input_files) 75 env.ChromeStaticLibrary('base_gfx', input_files)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698