diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-10 10:29:21 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-10 10:29:21 -0700 |
commit | e45a2e4ff91a672d555951963e329cf224d486d6 (patch) | |
tree | 353b4c06efb5b34c929486cab81f7709be5a4123 /pdfium.gyp | |
parent | ea18d0b4bdb7e993f3c78b83493e3dac9acc4a44 (diff) | |
download | pdfium-e45a2e4ff91a672d555951963e329cf224d486d6.tar.xz |
Don't call FPDF_InitLibrary() in individual unit_tests.
The initialization sequence becomes more complicated as v8 evolves
and when we move to XFA (where pdfium_unittests are currently broken).
Centralize this initialization in a few places, like the embedder_test
framework and the pdfium_test binary, and convert tests that require
it into embedder_tests rather than unit_tests.
Change on master first before moving to XFA.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1071343002
Diffstat (limited to 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 264b6e8e45..f258e15729 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -835,7 +835,6 @@ '<(DEPTH)' ], 'sources': [ - 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp', 'core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp', 'core/src/fxcrt/fx_basic_bstring_unittest.cpp', 'core/src/fxcrt/fx_basic_wstring_unittest.cpp', @@ -855,6 +854,7 @@ '<(DEPTH)' ], 'sources': [ + 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp', 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp', 'fpdfsdk/src/fpdfdoc_embeddertest.cpp', |