OLD | NEW |
(Empty) | |
| 1 # GYP for iconv |
| 2 # |
| 3 # NOTE: WINDOWS BUILD ONLY. |
| 4 # iconv should be native to Mac and Linux. |
| 5 # |
| 6 # Based on instructions found on http://www.codeproject.com/Articles/302012/How-
to-Build-libiconv-with-Microsoft-Visual-Studio |
| 7 |
| 8 { |
| 9 'variables': { |
| 10 'skia_warnings_as_errors': 0, |
| 11 }, |
| 12 'targets': [ |
| 13 { |
| 14 'target_name': 'iconv', |
| 15 'type': 'static_library', |
| 16 'include_dirs' : [ |
| 17 '../third_party/externals/iconv/lib', |
| 18 '../third_party/iconv/global', |
| 19 ], |
| 20 'sources': [ |
| 21 '../third_party/externals/iconv/lib/iconv.c', |
| 22 '../third_party/externals/iconv/libcharset/lib/localcharset.c', |
| 23 ], |
| 24 |
| 25 'conditions': [ |
| 26 ['skia_os == "win"', { |
| 27 'include_dirs': [ |
| 28 '../third_party/iconv/windows', |
| 29 ], |
| 30 'direct_dependent_settings': { |
| 31 'include_dirs': [ |
| 32 '../third_party/iconv/windows', |
| 33 ], |
| 34 }, |
| 35 'defines': [ |
| 36 'LIBDIR', |
| 37 ], |
| 38 }], |
| 39 ], |
| 40 }, |
| 41 ], |
| 42 } |
| 43 |
OLD | NEW |