Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1001)

Unified Diff: gyp/iconv.gyp

Issue 20220002: Add libpoppler PDF rasterizer (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Poppler gypfile simplification Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gm.gyp ('k') | gyp/poppler.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/iconv.gyp
diff --git a/gyp/iconv.gyp b/gyp/iconv.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..a727469cc2ec33593419cbb1df607b41b70f9b80
--- /dev/null
+++ b/gyp/iconv.gyp
@@ -0,0 +1,44 @@
+# 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',
+ ],
+ }],
+ ],
+ },
+ ],
+}
+
« no previous file with comments | « gyp/gm.gyp ('k') | gyp/poppler.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698