diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/fpdfapi/edit/BUILD.gn | 7 | ||||
-rw-r--r-- | core/fpdfapi/page/BUILD.gn | 9 | ||||
-rw-r--r-- | core/fpdfapi/parser/BUILD.gn | 12 | ||||
-rw-r--r-- | core/fpdfapi/render/BUILD.gn | 9 | ||||
-rw-r--r-- | core/fxcodec/BUILD.gn | 7 | ||||
-rw-r--r-- | core/fxge/BUILD.gn | 17 |
6 files changed, 61 insertions, 0 deletions
diff --git a/core/fpdfapi/edit/BUILD.gn b/core/fpdfapi/edit/BUILD.gn index 6c88522590..ff127a9a7e 100644 --- a/core/fpdfapi/edit/BUILD.gn +++ b/core/fpdfapi/edit/BUILD.gn @@ -46,3 +46,10 @@ pdfium_unittest_source_set("unittests") { ] pdfium_root_dir = "../../../" } + +pdfium_embeddertest_source_set("embeddertests") { + sources = [ + "cpdf_creator_embeddertest.cpp", + ] + pdfium_root_dir = "../../../" +} diff --git a/core/fpdfapi/page/BUILD.gn b/core/fpdfapi/page/BUILD.gn index 9c57fce67a..7855dc12e9 100644 --- a/core/fpdfapi/page/BUILD.gn +++ b/core/fpdfapi/page/BUILD.gn @@ -126,3 +126,12 @@ pdfium_unittest_source_set("unittests") { ] pdfium_root_dir = "../../../" } + +pdfium_embeddertest_source_set("embeddertests") { + sources = [ + "cpdf_docpagedata_embeddertest.cpp", + "cpdf_function_embeddertest.cpp", + "cpdf_stitchfunc_embeddertest.cpp", + ] + pdfium_root_dir = "../../../" +} diff --git a/core/fpdfapi/parser/BUILD.gn b/core/fpdfapi/parser/BUILD.gn index 52de29dfc9..45035b3d0e 100644 --- a/core/fpdfapi/parser/BUILD.gn +++ b/core/fpdfapi/parser/BUILD.gn @@ -115,3 +115,15 @@ pdfium_unittest_source_set("unittests") { cflags = [ "-Wno-inconsistent-missing-override" ] } } + +pdfium_embeddertest_source_set("embeddertests") { + sources = [ + "cpdf_parser_embeddertest.cpp", + "cpdf_security_handler_embeddertest.cpp", + "fpdf_parser_decode_embeddertest.cpp", + ] + deps = [ + ":parser", + ] + pdfium_root_dir = "../../../" +} diff --git a/core/fpdfapi/render/BUILD.gn b/core/fpdfapi/render/BUILD.gn index 042f04d179..1166907755 100644 --- a/core/fpdfapi/render/BUILD.gn +++ b/core/fpdfapi/render/BUILD.gn @@ -4,6 +4,7 @@ import("//build/config/jumbo.gni") import("../../../pdfium.gni") +import("../../../testing/test.gni") jumbo_source_set("render") { sources = [ @@ -61,3 +62,11 @@ jumbo_source_set("render") { ] visibility = [ "../../../*" ] } + +pdfium_embeddertest_source_set("embeddertests") { + sources = [ + "fpdf_render_loadimage_embeddertest.cpp", + "fpdf_render_pattern_embeddertest.cpp", + ] + pdfium_root_dir = "../../../" +} diff --git a/core/fxcodec/BUILD.gn b/core/fxcodec/BUILD.gn index 1c68956711..e09b7a61cd 100644 --- a/core/fxcodec/BUILD.gn +++ b/core/fxcodec/BUILD.gn @@ -147,3 +147,10 @@ pdfium_unittest_source_set("unittests") { ] } } + +pdfium_embeddertest_source_set("embeddertests") { + sources = [ + "codec/fx_codec_embeddertest.cpp", + ] + pdfium_root_dir = "../../" +} 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", + ] + } +} |