skia2/gyp/iconv.gyp
commit-bot@chromium.org 85e9db0347 The CL adds libpoppler to DEPS and adds a libpoppler-cpp gyp target for Linux, Windows, and Mac. This does not currently change the GM tool to use poppler - that will be a refactor job in a separate CL.
Several third-party libraries are pulled in, and platform-specific headers are included under third_party/(library name). Chromium style READMEs containing a description of the library, as well as a LICENSE file are also included in that directory. (is there a Skia-specific style for these?)

R=vandebo@chromium.org, edisonn@google.com, djsollen@chromium.org, bungeman@chromium.org, open-source-third-party-reviews@google.com, thestig@chromium.org

Author: richardlin@chromium.org

Review URL: https://chromiumcodereview.appspot.com/20220002

git-svn-id: http://skia.googlecode.com/svn/trunk@10823 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-20 16:34:34 +00:00

45 lines
1.1 KiB
Python

# 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
# See the relevant README.chromium file for more information.
{
'variables': {
'skia_warnings_as_errors': 0,
},
'targets': [
{
'target_name': 'iconv',
'type': 'static_library',
'include_dirs' : [
'../third_party/externals/iconv/lib',
'../third_party/iconv/config',
],
'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/config/windows',
],
'direct_dependent_settings': {
'include_dirs': [
'../third_party/iconv/config/windows',
],
},
'defines': [
'LIBDIR',
],
}],
],
},
],
}