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 /core/fxge | |
parent | a996ff444d4bf57a78d59dde59b280ca0542962a (diff) | |
download | pdfium-chromium/3582.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 'core/fxge')
-rw-r--r-- | core/fxge/BUILD.gn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/core/fxge/BUILD.gn b/core/fxge/BUILD.gn index 03bfd4b320..6475dc35d5 100644 --- a/core/fxge/BUILD.gn +++ b/core/fxge/BUILD.gn @@ -189,3 +189,20 @@ pdfium_unittest_source_set("unittests") { ] pdfium_root_dir = "../../" } + +pdfium_embeddertest_source_set("embeddertests") { + sources = [ + "fx_ge_text_embeddertest.cpp", + ] + deps = [] + pdfium_root_dir = "../../" + + if (pdf_use_skia || pdf_use_skia_paths) { + sources += [ "skia/fx_skia_device_embeddertest.cpp" ] + deps += [ + ":fxge", + "../../fpdfsdk", + "//skia", + ] + } +} |