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

Side by Side Diff: skia/SConscript

Issue 12842: Move convolver, image_operations, and skia_utils from base/gfx to skia/ext.... (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 | « chrome/views/text_field.cc ('k') | skia/ext/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 Import('env') 5 Import('env')
6 6
7 env = env.Clone() 7 env = env.Clone()
8 8
9 env.Prepend( 9 env.Prepend(
10 CPPPATH = [ 10 CPPPATH = [
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 'sgl/SkSpriteBlitter_ARGB32.cpp', 145 'sgl/SkSpriteBlitter_ARGB32.cpp',
146 'sgl/SkSpriteBlitter_RGB16.cpp', 146 'sgl/SkSpriteBlitter_RGB16.cpp',
147 'sgl/SkString.cpp', 147 'sgl/SkString.cpp',
148 'sgl/SkStroke.cpp', 148 'sgl/SkStroke.cpp',
149 'sgl/SkStrokerPriv.cpp', 149 'sgl/SkStrokerPriv.cpp',
150 'sgl/SkTSearch.cpp', 150 'sgl/SkTSearch.cpp',
151 'sgl/SkTypeface_fake.cpp', 151 'sgl/SkTypeface_fake.cpp',
152 'sgl/SkUtils.cpp', 152 'sgl/SkUtils.cpp',
153 'sgl/SkWriter32.cpp', 153 'sgl/SkWriter32.cpp',
154 'sgl/SkXfermode.cpp', 154 'sgl/SkXfermode.cpp',
155
156 'ext/convolver.cc',
157 'ext/image_operations.cc',
158 'ext/skia_utils.cc',
155 ] 159 ]
156 160
157 if env['PLATFORM'] == 'posix': 161 if env['PLATFORM'] == 'posix':
158 input_files.append('ext/bitmap_platform_device_linux.cc') 162 input_files.append('ext/bitmap_platform_device_linux.cc')
159 input_files.append('ext/platform_canvas_linux.cc') 163 input_files.append('ext/platform_canvas_linux.cc')
160 input_files.append('ext/platform_device_linux.cc') 164 input_files.append('ext/platform_device_linux.cc')
161 165
162 # On Linux we use Skia to render fonts with FreeType and fontconfig 166 # On Linux we use Skia to render fonts with FreeType and fontconfig
163 input_files.remove('sgl/SkTypeface_fake.cpp') 167 input_files.remove('sgl/SkTypeface_fake.cpp')
164 input_files.remove('ports/SkFontHost_none.cpp') 168 input_files.remove('ports/SkFontHost_none.cpp')
165 input_files.append('sgl/SkTypeface.cpp') 169 input_files.append('sgl/SkTypeface.cpp')
166 input_files.append('ports/SkFontHost_FreeType.cpp') 170 input_files.append('ports/SkFontHost_FreeType.cpp')
167 input_files.append('ports/SkFontHost_TrueType_Tables.cpp') 171 input_files.append('ports/SkFontHost_TrueType_Tables.cpp')
168 input_files.append('ports/SkFontHost_gamma_none.cpp') 172 input_files.append('ports/SkFontHost_gamma_none.cpp')
169 input_files.append('ports/SkFontHost_fontconfig.cpp') 173 input_files.append('ports/SkFontHost_fontconfig.cpp')
170 input_files.append('images/SkMMapStream.cpp') 174 input_files.append('images/SkMMapStream.cpp')
171 175
172 if env['PLATFORM'] in ('darwin', 'posix'): 176 if env['PLATFORM'] in ('darwin', 'posix'):
173 input_files.append('ports/SkThread_pthread.cpp') 177 input_files.append('ports/SkThread_pthread.cpp')
174 178
175 if env['PLATFORM'] == 'darwin': 179 if env['PLATFORM'] == 'darwin':
176 input_files.append('ext/bitmap_platform_device_mac.cc') 180 input_files.append('ext/bitmap_platform_device_mac.cc')
177 input_files.append('ext/platform_canvas_mac.cc') 181 input_files.append('ext/platform_canvas_mac.cc')
178 input_files.append('ext/platform_device_mac.cc') 182 input_files.append('ext/platform_device_mac.cc')
183 input_files.append('ext/skia_utils_mac.cc')
179 184
180 if env['PLATFORM'] == 'win32': 185 if env['PLATFORM'] == 'win32':
181 input_files.append('ext/bitmap_platform_device_win.cc') 186 input_files.append('ext/bitmap_platform_device_win.cc')
182 input_files.append('ext/platform_canvas_win.cc') 187 input_files.append('ext/platform_canvas_win.cc')
183 input_files.append('ext/platform_device_win.cc') 188 input_files.append('ext/platform_device_win.cc')
189 input_files.append('ext/skia_utils_win.cc')
184 input_files.append('ext/vector_canvas.cc') 190 input_files.append('ext/vector_canvas.cc')
185 input_files.append('ext/vector_device.cc') 191 input_files.append('ext/vector_device.cc')
186 192
187 input_files.append('ports/SkThread_win.cpp') 193 input_files.append('ports/SkThread_win.cpp')
188 194
189 env_p = env.Clone( 195 env_p = env.Clone(
190 PCHSTOP = 'SkTypes.h', 196 PCHSTOP = 'SkTypes.h',
191 PDB = 'vc80.pdb', 197 PDB = 'vc80.pdb',
192 ) 198 )
193 199
194 # TODO(rspangler): This step forces -Zi, but doesn't actually use it. Need to 200 # TODO(rspangler): This step forces -Zi, but doesn't actually use it. Need to
195 # fix so it doesn't override our -Z7. -Zi also causes vc80.pdb to be created 201 # fix so it doesn't override our -Z7. -Zi also causes vc80.pdb to be created
196 # in the skia directory. 202 # in the skia directory.
197 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. 203 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created.
198 # It's a 0-length file so likely harmless. Is this a side effect of having 204 # It's a 0-length file so likely harmless. Is this a side effect of having
199 # IncrediBuild installed on the build machine? 205 # IncrediBuild installed on the build machine?
200 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') 206 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc')
201 env_p['PCH'] = pch 207 env_p['PCH'] = pch
202 input_files += [obj] 208 input_files += [obj]
203 209
204 env.ChromeStaticLibrary('skia', input_files) 210 env.ChromeStaticLibrary('skia', input_files)
205 211
OLDNEW
« no previous file with comments | « chrome/views/text_field.cc ('k') | skia/ext/convolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698