Chromium Code Reviews| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 296 'sgl/SkSpriteBlitter_RGB16.cpp', | 296 'sgl/SkSpriteBlitter_RGB16.cpp', |
| 297 'sgl/SkSpriteBlitterTemplate.h', | 297 'sgl/SkSpriteBlitterTemplate.h', |
| 298 'sgl/SkString.cpp', | 298 'sgl/SkString.cpp', |
| 299 'sgl/SkStroke.cpp', | 299 'sgl/SkStroke.cpp', |
| 300 'sgl/SkStrokerPriv.cpp', | 300 'sgl/SkStrokerPriv.cpp', |
| 301 'sgl/SkStrokerPriv.h', | 301 'sgl/SkStrokerPriv.h', |
| 302 'sgl/SkTemplatesPriv.h', | 302 'sgl/SkTemplatesPriv.h', |
| 303 'sgl/SkTSearch.cpp', | 303 'sgl/SkTSearch.cpp', |
| 304 'sgl/SkTSort.h', | 304 'sgl/SkTSort.h', |
| 305 'sgl/SkTypeface_fake.cpp', | 305 'sgl/SkTypeface_fake.cpp', |
| 306 'sgl/SkUnPreMultiply.cpp', | 306 #'sgl/SkUnPreMultiply.cpp', |
|
tony
2009/01/12 18:01:35
Nit: Why is this commented out? If the file is go
sgk
2009/01/12 18:38:45
That should at least have a TODO to track down wh
| |
| 307 'sgl/SkUtils.cpp', | 307 'sgl/SkUtils.cpp', |
| 308 'sgl/SkWriter32.cpp', | 308 'sgl/SkWriter32.cpp', |
| 309 'sgl/SkXfermode.cpp', | 309 'sgl/SkXfermode.cpp', |
| 310 ]), | 310 ]), |
| 311 | 311 |
| 312 MSVSFilter('ports', [ | 312 MSVSFilter('ports', [ |
| 313 'ports/sk_predefined_gamma.h', | 313 'ports/sk_predefined_gamma.h', |
| 314 'ports/SkFontHost_none.cpp', | 314 'ports/SkFontHost_none.cpp', |
| 315 'ports/SkGlobals_global.cpp', | 315 'ports/SkGlobals_global.cpp', |
| 316 'ports/SkImageDecoder_Factory.cpp', | 316 'ports/SkImageDecoder_Factory.cpp', |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 453 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. | 453 # TODO(bradnelson): This step creates a skia.pch.ib_tag file to be created. |
| 454 # It's a 0-length file so likely harmless. Is this a side effect of having | 454 # It's a 0-length file so likely harmless. Is this a side effect of having |
| 455 # IncrediBuild installed on the build machine? | 455 # IncrediBuild installed on the build machine? |
| 456 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') | 456 pch, obj = env_p.PCH(['skia.pch', 'precompiled.obj'], 'precompiled.cc') |
| 457 env_p['PCH'] = pch | 457 env_p['PCH'] = pch |
| 458 input_files.Replace('precompiled.cc', obj) | 458 input_files.Replace('precompiled.cc', obj) |
| 459 | 459 |
| 460 env.ChromeLibrary('skia', input_files) | 460 env.ChromeLibrary('skia', input_files) |
| 461 | 461 |
| 462 p = env.ChromeMSVSProject('skia.vcproj', | 462 p = env.ChromeMSVSProject('skia.vcproj', |
| 463 dest='$CHROME_SRC_DIR/skia/skia.vcproj', | |
| 463 guid='{CD9CA56E-4E94-444C-87D4-58CA1E6F300D}', | 464 guid='{CD9CA56E-4E94-444C-87D4-58CA1E6F300D}', |
| 464 files=input_files, | 465 files=input_files, |
| 465 relative_path_prefix=r'./', | 466 relative_path_prefix=r'./', |
| 466 tools = [ | 467 tools = [ |
| 467 'VCPreBuildEventTool', | 468 'VCPreBuildEventTool', |
| 468 'VCCustomBuildTool', | 469 'VCCustomBuildTool', |
| 469 'VCXMLDataGeneratorTool', | 470 'VCXMLDataGeneratorTool', |
| 470 'VCWebServiceProxyGeneratorTool', | 471 'VCWebServiceProxyGeneratorTool', |
| 471 'VCMIDLTool', | 472 'VCMIDLTool', |
| 472 'VCCLCompilerTool', | 473 'VCCLCompilerTool', |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 503 MSVSTool('VCCLCompilerTool', UsePrecompiledHeader='1'), | 504 MSVSTool('VCCLCompilerTool', UsePrecompiledHeader='1'), |
| 504 ]) | 505 ]) |
| 505 | 506 |
| 506 p.AddFileConfig( | 507 p.AddFileConfig( |
| 507 'precompiled.cc', | 508 'precompiled.cc', |
| 508 'Release|Win32', | 509 'Release|Win32', |
| 509 ExcludedFromBuild='true', | 510 ExcludedFromBuild='true', |
| 510 tools=[ | 511 tools=[ |
| 511 MSVSTool('VCCLCompilerTool'), | 512 MSVSTool('VCCLCompilerTool'), |
| 512 ]) | 513 ]) |
| 513 | |
| 514 env.AlwaysBuild(p) | |
| 515 | |
| 516 i = env.Command('$CHROME_SRC_DIR/skia/skia.vcproj', p, | |
| 517 Copy('$TARGET', '$SOURCE')) | |
| 518 Alias('msvs', i) | |
| OLD | NEW |