Merge to XFA: Fix a heap overflow in CJBig2_Context::parseSymbolDict
[pdfium.git] / samples / samples.gyp
index 9d316ec..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': [
     {
@@ -24,7 +34,7 @@
       'variables': { 'enable_wexit_time_destructors': 1, },
       'dependencies': [
         '../pdfium.gyp:fxcodec',
-        '../third_party/third_party.gyp:safemath',
+        '../third_party/third_party.gyp:pdfium_base',
       ],
       'include_dirs': [
         '../../',