From 96d1334cb605aab143d3135da4d4550920735e91 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 16 Jan 2015 14:59:26 -0800 Subject: Merge to XFA: PDFium embeddertests. This consists of two origin/master CLs: Review URL: https://codereview.chromium.org/857483005 Review URL: https://codereview.chromium.org/827733006 It also fixes a couple of segv's in XFA when the library is initialized and destroyed multiple times in the same process. R=jam@chromium.org TBR=jam@chromium.org Review URL: https://codereview.chromium.org/856623004 --- pdfium.gyp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'pdfium.gyp') diff --git a/pdfium.gyp b/pdfium.gyp index f52fd2dc64..6b8214e18c 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -908,5 +908,24 @@ 'xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp', ], }, + { + 'target_name': 'pdfium_embeddertests', + 'type': 'executable', + 'dependencies': [ + '<(DEPTH)/testing/gtest.gyp:gtest_main', + '<(DEPTH)/testing/gtest.gyp:gtest', + 'pdfium', + ], + 'include_dirs': [ + '<(DEPTH)' + ], + 'sources': [ + 'fpdfsdk/src/fpdfview_embeddertest.cpp', + 'testing/embedder_test.cpp', + 'testing/embedder_test.h', + 'testing/fx_string_testhelpers.cpp', + 'testing/fx_string_testhelpers.h', + ], + }, ], } -- cgit v1.2.3