| Index: gyp/iconv.gyp | 
| diff --git a/gyp/iconv.gyp b/gyp/iconv.gyp | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..31f38d929a6c75705ba81c4c35f0fbfa4a85b197 | 
| --- /dev/null | 
| +++ b/gyp/iconv.gyp | 
| @@ -0,0 +1,43 @@ | 
| +# GYP for iconv | 
| +# | 
| +# NOTE: WINDOWS BUILD ONLY. | 
| +# iconv should be native to Mac and Linux. | 
| +# | 
| +# Based on instructions found on http://www.codeproject.com/Articles/302012/How-to-Build-libiconv-with-Microsoft-Visual-Studio | 
| + | 
| +{ | 
| +  'variables': { | 
| +    'skia_warnings_as_errors': 0, | 
| +  }, | 
| +  'targets': [ | 
| +    { | 
| +      'target_name': 'iconv', | 
| +      'type': 'static_library', | 
| +      'include_dirs' : [ | 
| +        '../third_party/externals/iconv/lib', | 
| +        '../third_party/iconv/global', | 
| +      ], | 
| +      'sources': [ | 
| +        '../third_party/externals/iconv/lib/iconv.c', | 
| +        '../third_party/externals/iconv/libcharset/lib/localcharset.c', | 
| +      ], | 
| + | 
| +      'conditions': [ | 
| +        ['skia_os == "win"', { | 
| +          'include_dirs': [ | 
| +            '../third_party/iconv/windows', | 
| +          ], | 
| +          'direct_dependent_settings': { | 
| +            'include_dirs': [ | 
| +              '../third_party/iconv/windows', | 
| +            ], | 
| +          }, | 
| +          'defines': [ | 
| +            'LIBDIR', | 
| +          ], | 
| +        }], | 
| +      ], | 
| +    }, | 
| +  ], | 
| +} | 
| + | 
|  |