From 09ed30750282bf56a92d0e646ab22c64bea81a36 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 15 Sep 2015 14:03:52 -0700 Subject: Refactor fxjs_v8 and add embeddertests for it. This forces the layer defined by fxjs_v8.h to be (more) self-contained, so that it can be tested apart from the CJS_* objects (in fpdfsdk/{src,include}/javascript. This implies the array buffer allocator must be part of fxjs_v8. One wrinkle is that we'd like to be able to test an isolate upon which no native objects have been added, so some initialization that would have occurred as part of object definition must be made explicit. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1338073002 . --- pdfium.gyp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pdfium.gyp') diff --git a/pdfium.gyp b/pdfium.gyp index 866b563e96..5c8799e9a5 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -737,6 +737,7 @@ 'include_dirs': [ '<(DEPTH)', '<(DEPTH)/v8', + '<(DEPTH)/v8/include', ], 'sources': [ 'core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp', @@ -748,6 +749,7 @@ 'fpdfsdk/src/fpdfview_c_api_test.c', 'fpdfsdk/src/fpdfview_c_api_test.h', 'fpdfsdk/src/fpdfview_embeddertest.cpp', + 'fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp', 'testing/embedder_test.cpp', 'testing/embedder_test.h', 'testing/embedder_test_mock_delegate.h', -- cgit v1.2.3