Fix some clang warnings with -Wmissing-braces in pdfium.
[pdfium.git] / third_party / third_party.gyp
index 240d65b..79368b5 100644 (file)
           ],
         }],
       ],
+      'variables': {
+        'clang_warning_flags': [
+          '-Wno-missing-braces',
+        ],
+      },
     },
     {
       'target_name': 'fx_libjpeg',
         'libjpeg/jpegint.h',
         'libjpeg/jpeglib.h',
         'libjpeg/jversion.h',
-        'libjpeg/makefile',
         'libjpeg/transupp.h',
       ],
       'conditions': [
       ],
     },
     {
+      'target_name': 'fx_zlib',
+      'type': 'static_library',
+      'sources': [
+        'zlib_v128/adler32.c',
+        'zlib_v128/compress.c',
+        'zlib_v128/crc32.c',
+        'zlib_v128/deflate.c',
+        'zlib_v128/gzclose.c',
+        'zlib_v128/gzlib.c',
+        'zlib_v128/gzread.c',
+        'zlib_v128/gzwrite.c',
+        'zlib_v128/infback.c',
+        'zlib_v128/inffast.c',
+        'zlib_v128/inflate.c',
+        'zlib_v128/inftrees.c',
+        'zlib_v128/trees.c',
+        'zlib_v128/uncompr.c',
+        'zlib_v128/zutil.c',
+      ],
+    },
+    {
       'target_name': 'pdfium_base',
       'type': 'none',
       'sources': [