diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-15 23:51:28 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-15 23:51:28 +0000 |
commit | 1929d6e1d44ed9bd692c930d5cf79fb2bd80f1e6 (patch) | |
tree | eb99fda121d93741b79d65cf22bf90100093d90a /fxjs | |
parent | a996ff444d4bf57a78d59dde59b280ca0542962a (diff) | |
download | pdfium-1929d6e1d44ed9bd692c930d5cf79fb2bd80f1e6.tar.xz |
Split pdfium_embeddertests sources.chromium/3582
Move foo_embeddertest.cpp to the same BUILD.gn file as foo.cpp.
Set up dependencies to make pdfium_embeddertests pass gn check.
Change-Id: If1fe67c261960c35c344c1047950cd7fdb32c4a1
Reviewed-on: https://pdfium-review.googlesource.com/c/43997
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/BUILD.gn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fxjs/BUILD.gn b/fxjs/BUILD.gn index 09595e36fe..2022d3b735 100644 --- a/fxjs/BUILD.gn +++ b/fxjs/BUILD.gn @@ -462,4 +462,21 @@ if (pdf_enable_v8) { ] pdfium_root_dir = "../" } + + pdfium_embeddertest_source_set("embeddertests") { + sources = [ + "cfxjs_engine_embeddertest.cpp", + "cjs_publicmethods_embeddertest.cpp", + ] + configs = [ "//v8:external_startup_data" ] + deps = [ + ":fxjs", + ] + pdfium_root_dir = "../" + + if (pdf_enable_xfa) { + sources += [ "cfxjse_formcalc_context_embeddertest.cpp" ] + deps += [ "..///xfa/fxfa" ] + } + } } |