old_contents: {
    'includes': [
      'target_defaults.gypi',
    ],
    'targets': [
      {
        'target_name': 'bench',
        'type': 'executable',
        'mac_bundle' : 1,
        'include_dirs': [
          '../include/effects',
          '../include/utils',
          '../include/images',
        ],
        'sources': [
          '../bench/benchmain.cpp',
          
          '../bench/SkBenchmark.h',
          '../bench/SkBenchmark.cpp',
          
          '../bench/BitmapBench.cpp',
          '../bench/DecodeBench.cpp',
          '../bench/FPSBench.cpp',
          '../bench/GradientBench.cpp',
          '../bench/PathBench.cpp',
          '../bench/RectBench.cpp',
          '../bench/RepeatTileBench.cpp',
          '../bench/TextBench.cpp',
        ],
        'dependencies': [
          'core.gyp:core',
          'effects.gyp:effects',
          'images.gyp:images',
          'utils.gyp:utils',
          'gpu.gyp:gr',
          'gpu.gyp:skgr',
        ],
        'msvs_settings': {
          'VCLinkerTool': {
            'SubSystem': '1',
            'EntryPointSymbol': 'mainCRTStartup',
            'AdditionalDependencies': [
                'OpenGL32.lib',
                'usp10.lib',
            ],
          },
        },
      },
    ],
  }
  
  # Local Variables:
  # tab-width:2
  # indent-tabs-mode:nil
  # End:
  # vim: set expandtab tabstop=2 shiftwidth=2:
new_contents: {
    'includes': [
      'target_defaults.gypi',
    ],
    'targets': [
      {
        'target_name': 'bench',
        'type': 'executable',
        'sources': [
          '../bench/benchmain.cpp',
          
          '../bench/SkBenchmark.h',
          '../bench/SkBenchmark.cpp',
          
          '../bench/BitmapBench.cpp',
          '../bench/DecodeBench.cpp',
          '../bench/FPSBench.cpp',
          '../bench/GradientBench.cpp',
          '../bench/PathBench.cpp',
          '../bench/RectBench.cpp',
          '../bench/RepeatTileBench.cpp',
          '../bench/TextBench.cpp',
        ],
        'dependencies': [
          'core.gyp:core',
          'effects.gyp:effects',
          'gpu.gyp:gr',
          'gpu.gyp:skgr',
          'images.gyp:images',
          'utils.gyp:utils',
        ],
        'msvs_settings': {
          'VCLinkerTool': {
            #Allows for creation / output to console.
            #Console (/SUBSYSTEM:CONSOLE)
            'SubSystem': '1',
            
            #Console app, use main/wmain
            'EntryPointSymbol': 'mainCRTStartup',
            
            'AdditionalDependencies': [
                'OpenGL32.lib',
                'usp10.lib',
            ],
          },
        },
      },
    ],
  }
  
  # Local Variables:
  # tab-width:2
  # indent-tabs-mode:nil
  # End:
  # vim: set expandtab tabstop=2 shiftwidth=2:
subject: Add gyp for bench and make run on Windows. (2) http://codereview.appspot.com/4528112/