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

Side by Side Diff: skia/SConscript

Issue 11808: Move port/.../skia/public to skia/ext for Linux. Windows & Mac already moved ... (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 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ] 155 ]
156 156
157 if env['PLATFORM'] == 'posix': 157 if env['PLATFORM'] == 'posix':
158 input_files.append('ext/bitmap_platform_device_linux.cc')
159 input_files.append('ext/platform_canvas_linux.cc')
160 input_files.append('ext/platform_device_linux.cc')
161
158 # On Linux we use Skia to render fonts with FreeType and fontconfig 162 # On Linux we use Skia to render fonts with FreeType and fontconfig
159 input_files.remove('sgl/SkTypeface_fake.cpp') 163 input_files.remove('sgl/SkTypeface_fake.cpp')
160 input_files.remove('ports/SkFontHost_none.cpp') 164 input_files.remove('ports/SkFontHost_none.cpp')
161 input_files.append('sgl/SkTypeface.cpp') 165 input_files.append('sgl/SkTypeface.cpp')
162 input_files.append('ports/SkFontHost_FreeType.cpp') 166 input_files.append('ports/SkFontHost_FreeType.cpp')
163 input_files.append('ports/SkFontHost_gamma_none.cpp') 167 input_files.append('ports/SkFontHost_gamma_none.cpp')
164 input_files.append('ports/SkFontHost_fontconfig.cpp') 168 input_files.append('ports/SkFontHost_fontconfig.cpp')
165 input_files.append('images/SkMMapStream.cpp') 169 input_files.append('images/SkMMapStream.cpp')
166 170
167 if env['PLATFORM'] in ('darwin', 'posix'): 171 if env['PLATFORM'] in ('darwin', 'posix'):
(...skipping 23 matching lines...) Expand all
191 # in the skia directory. 195 # in the skia directory.
192 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. 196 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created.
193 # It's a 0-length file so likely harmless. Is this a side effect of having 197 # It's a 0-length file so likely harmless. Is this a side effect of having
194 # IncrediBuild installed on the build machine? 198 # IncrediBuild installed on the build machine?
195 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') 199 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc')
196 env_p['PCH'] = pch 200 env_p['PCH'] = pch
197 input_files += [obj] 201 input_files += [obj]
198 202
199 env.ChromeStaticLibrary('skia', input_files) 203 env.ChromeStaticLibrary('skia', input_files)
200 204
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698