Merge to XFA: Fix a heap overflow in CJBig2_Context::parseSymbolDict
[pdfium.git] / samples / samples.gyp
index e559790..97497ee 100644 (file)
@@ -7,8 +7,18 @@
     'type': 'executable',
     'dependencies': [
       '../pdfium.gyp:pdfium',
+      '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
+    ],
+    'include_dirs': [
+      '<(DEPTH)',
+      '<(DEPTH)/v8',
+      '<(DEPTH)/v8/include',
+    ],
+    'defines' : [
+      'PNG_PREFIX',
+      'PNGPREFIX_H',
+      'PNG_USE_READ_MACROS',
     ],
-    'include_dirs': ['<(DEPTH)'],
   },
   'targets': [
     {