summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-01-09 13:59:19 -0800
committerTom Sepez <tsepez@chromium.org>2015-01-09 13:59:19 -0800
commit04681f3e11c6c44e921b76fc23f5a99f6efd2655 (patch)
tree113b9768d3ce43368adc0f5af61f1107a2f13bd2
parent0c753c3f98d089c184ca4fd6c11169e5796a1c48 (diff)
downloadpdfium-04681f3e11c6c44e921b76fc23f5a99f6efd2655.tar.xz
Merge to XFA: Add pdfium_unittests to BUILD.gn
Original at URL: https://codereview.chromium.org/840343005 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/809883005
-rw-r--r--BUILD.gn16
1 files changed, 16 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 0d3d6938da..c4e4580469 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1540,3 +1540,19 @@ static_library("xfa") {
"//v8:v8_libplatform",
]
}
+
+test("pdfium_unittests") {
+ sources = [
+ "core/src/fxcrt/fx_basic_bstring_unittest.cpp",
+ "testing/fx_string_testhelpers.cpp",
+ "testing/fx_string_testhelpers.h",
+ ]
+ deps = [
+ "//testing/gtest",
+ "//testing/gtest:gtest_main",
+ ":pdfium"
+ ]
+ include_dirs = [ "." ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
+}