Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: BUILD.gn

Issue 840343005: Add pdfium_unittests to BUILD.gn (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Alphabetical order Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 2076afb87aa2323ef2c15402e1fbe642c3ff3935..86839fae81cd691c1bb8e13493b54c0cf8169fbe 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -791,3 +791,19 @@ static_library("formfiller") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
}
+
+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" ]
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698