| Index: pdf/BUILD.gn
|
| diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn
|
| index f017ed2ff4468ec5525533e41ebc7bcb0322af48..cc857e53d1ca4cb2b438b3c893ca454cf8847595 100644
|
| --- a/pdf/BUILD.gn
|
| +++ b/pdf/BUILD.gn
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/features.gni")
|
| +import("//testing/test.gni")
|
| import("//third_party/pdfium/pdfium.gni")
|
|
|
| assert(enable_pdf)
|
| @@ -70,3 +71,20 @@ static_library("pdf") {
|
| defines += [ "PDF_ENABLE_XFA" ]
|
| }
|
| }
|
| +
|
| +test("pdf_unittests") {
|
| + sources = [
|
| + "chunk_stream_unittest.cc",
|
| + "run_all_unittests.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":pdf",
|
| + "//base",
|
| + "//base/test:test_support",
|
| + "//ppapi/c",
|
| + "//ppapi/cpp",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|