diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-09-15 14:03:52 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-09-15 14:03:52 -0700 |
commit | 09ed30750282bf56a92d0e646ab22c64bea81a36 (patch) | |
tree | 919cf39ff0c0688589a9db2521bce07abf16ed8f /BUILD.gn | |
parent | 72d51871ae152163eeb9b005fd0a74d5c1651cd2 (diff) | |
download | pdfium-09ed30750282bf56a92d0e646ab22c64bea81a36.tar.xz |
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 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -765,6 +765,7 @@ test("pdfium_embeddertests") { "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", |