OLD | NEW |
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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 if env['PLATFORM'] in ('darwin', 'posix'): | 167 if env['PLATFORM'] in ('darwin', 'posix'): |
168 input_files.append('ports/SkThread_pthread.cpp') | 168 input_files.append('ports/SkThread_pthread.cpp') |
169 | 169 |
170 if env['PLATFORM'] == 'darwin': | 170 if env['PLATFORM'] == 'darwin': |
171 input_files.append('ext/bitmap_platform_device_mac.cc') | 171 input_files.append('ext/bitmap_platform_device_mac.cc') |
172 input_files.append('ext/platform_canvas_mac.cc') | 172 input_files.append('ext/platform_canvas_mac.cc') |
173 input_files.append('ext/platform_device_mac.cc') | 173 input_files.append('ext/platform_device_mac.cc') |
174 | 174 |
175 if env['PLATFORM'] == 'win32': | 175 if env['PLATFORM'] == 'win32': |
| 176 input_files.append('ext/bitmap_platform_device_win.cc') |
| 177 input_files.append('ext/platform_canvas_win.cc') |
| 178 input_files.append('ext/platform_device_win.cc') |
| 179 input_files.append('ext/vector_canvas.cc') |
| 180 input_files.append('ext/vector_device.cc') |
| 181 |
176 input_files.append('ports/SkThread_win.cpp') | 182 input_files.append('ports/SkThread_win.cpp') |
177 | 183 |
178 env_p = env.Clone( | 184 env_p = env.Clone( |
179 PCHSTOP = 'SkTypes.h', | 185 PCHSTOP = 'SkTypes.h', |
180 PDB = 'vc80.pdb', | 186 PDB = 'vc80.pdb', |
181 ) | 187 ) |
182 | 188 |
183 # TODO(rspangler): This step forces -Zi, but doesn't actually use it. Need to | 189 # TODO(rspangler): This step forces -Zi, but doesn't actually use it. Need to |
184 # fix so it doesn't override our -Z7. -Zi also causes vc80.pdb to be created | 190 # fix so it doesn't override our -Z7. -Zi also causes vc80.pdb to be created |
185 # in the skia directory. | 191 # in the skia directory. |
186 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. | 192 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. |
187 # It's a 0-length file so likely harmless. Is this a side effect of having | 193 # It's a 0-length file so likely harmless. Is this a side effect of having |
188 # IncrediBuild installed on the build machine? | 194 # IncrediBuild installed on the build machine? |
189 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') | 195 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') |
190 env_p['PCH'] = pch | 196 env_p['PCH'] = pch |
191 input_files += [obj] | 197 input_files += [obj] |
192 | 198 |
193 env.ChromeStaticLibrary('skia', input_files) | 199 env.ChromeStaticLibrary('skia', input_files) |
194 | 200 |
OLD | NEW |