| Index: base/gfx/base_gfx.scons
|
| ===================================================================
|
| --- base/gfx/base_gfx.scons (revision 7407)
|
| +++ base/gfx/base_gfx.scons (working copy)
|
| @@ -24,34 +24,79 @@
|
| ],
|
| )
|
|
|
| -input_files = [
|
| +input_files = ChromeFileList([
|
| 'gdi_util.cc',
|
| + 'gdi_util.h',
|
| 'native_theme.cc',
|
| + 'native_theme.h',
|
| 'png_decoder.cc',
|
| + 'png_decoder.h',
|
| 'png_encoder.cc',
|
| + 'png_encoder.h',
|
| 'point.cc',
|
| + 'point.h',
|
| 'rect.cc',
|
| + 'rect.h',
|
| 'size.cc',
|
| -]
|
| + 'size.h',
|
| +])
|
|
|
| if env.Bit('posix'):
|
| # Remove files that still need to be ported from the input_files list.
|
| # TODO(port): delete files from this list as they get ported.
|
| - to_be_ported_files = [
|
| + input_files.Remove(
|
| 'gdi_util.cc',
|
| 'native_theme.cc',
|
| - ]
|
| - for remove in to_be_ported_files:
|
| - input_files.remove(remove)
|
| + )
|
|
|
| if env.Bit('windows'):
|
| - input_files.extend([
|
| + input_files.Extend([
|
| ])
|
| elif env.Bit('linux'):
|
| - input_files.extend([
|
| + input_files.Extend([
|
| ])
|
|
|
| env.ChromeStaticLibrary('base_gfx', input_files)
|
|
|
| -env.ChromeMSVSProject('$BASE_DIR/build/base_gfx.vcproj',
|
| - guid='{A508ADD3-CECE-4E0F-8448-2F5E454DF551}')
|
| +p = env.ChromeMSVSProject('../build/base_gfx.vcproj',
|
| + guid='{A508ADD3-CECE-4E0F-8448-2F5E454DF551}',
|
| + files=input_files,
|
| + tools=[
|
| + 'VCPreBuildEventTool',
|
| + 'VCCustomBuildTool',
|
| + 'VCXMLDataGeneratorTool',
|
| + 'VCWebServiceProxyGeneratorTool',
|
| + 'VCMIDLTool',
|
| + 'VCCLCompilerTool',
|
| + 'VCManagedResourceCompilerTool',
|
| + 'VCResourceCompilerTool',
|
| + 'VCPreLinkEventTool',
|
| + 'VCLibrarianTool',
|
| + 'VCALinkTool',
|
| + 'VCXDCMakeTool',
|
| + 'VCBscMakeTool',
|
| + 'VCFxCopTool',
|
| + 'VCPostBuildEventTool',
|
| + ])
|
| +
|
| +p.AddConfig('Debug|Win32',
|
| + ConfigurationType = '4',
|
| + InheritedPropertySheets = [
|
| + '$(SolutionDir)../build/debug.vsprops',
|
| + './base_gfx.vsprops',
|
| + '../../skia/using_skia.vsprops',
|
| + ])
|
| +
|
| +p.AddConfig('Release|Win32',
|
| + ConfigurationType = '4',
|
| + InheritedPropertySheets = [
|
| + '$(SolutionDir)../build/release.vsprops',
|
| + './base_gfx.vsprops',
|
| + '../../skia/using_skia.vsprops',
|
| + ])
|
| +
|
| +env.AlwaysBuild(p)
|
| +
|
| +i = env.Command('$CHROME_SRC_DIR/base/build/base_gfx.vcproj', p,
|
| + Copy('$TARGET', '$SOURCE'))
|
| +Alias('msvs', i)
|
|
|