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