summaryrefslogtreecommitdiff
path: root/core/fxge/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/BUILD.gn')
-rw-r--r--core/fxge/BUILD.gn14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/fxge/BUILD.gn b/core/fxge/BUILD.gn
index 6168fa911b..03bfd4b320 100644
--- a/core/fxge/BUILD.gn
+++ b/core/fxge/BUILD.gn
@@ -5,6 +5,7 @@
import("//build/config/freetype/freetype.gni")
import("//build/config/jumbo.gni")
import("../../pdfium.gni")
+import("../../testing/test.gni")
config("fxge_warnings") {
visibility = [ ":*" ]
@@ -175,3 +176,16 @@ jumbo_source_set("fxge") {
visibility = [ "../../*" ]
}
+
+pdfium_unittest_source_set("unittests") {
+ sources = [
+ "dib/cfx_dibitmap_unittest.cpp",
+ "dib/cstretchengine_unittest.cpp",
+ ]
+ deps = [
+ ":fxge",
+ "../fpdfapi/parser",
+ "../fpdfapi/render",
+ ]
+ pdfium_root_dir = "../../"
+}