diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-01-09 13:54:33 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-01-09 13:54:33 -0800 |
commit | 5621dc444be3d2a5f7c6198b1e14695118a346a5 (patch) | |
tree | fe3b5a650a9005f9558d414cf8598a95edf614b7 | |
parent | c4457a8f623bb4f09542d98bdde9c33ca932c4a3 (diff) | |
download | pdfium-5621dc444be3d2a5f7c6198b1e14695118a346a5.tar.xz |
Add pdfium_unittests to BUILD.gn
Brings GN build up to sync with GYP build for this test binary.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/840343005
-rw-r--r-- | BUILD.gn | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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" ] +} |