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

Side by Side Diff: pdf/BUILD.gn

Issue 2453323002: Add pdf_unittests target. (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | pdf/chunk_stream_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni")
6 import("//third_party/pdfium/pdfium.gni") 7 import("//third_party/pdfium/pdfium.gni")
7 8
8 assert(enable_pdf) 9 assert(enable_pdf)
9 10
10 pdf_engine = 0 # 0 PDFium 11 pdf_engine = 0 # 0 PDFium
11 12
12 static_library("pdf") { 13 static_library("pdf") {
13 deps = [ 14 deps = [
14 "//base", 15 "//base",
15 "//gin", 16 "//gin",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "pdfium/pdfium_range.cc", 64 "pdfium/pdfium_range.cc",
64 "pdfium/pdfium_range.h", 65 "pdfium/pdfium_range.h",
65 ] 66 ]
66 } 67 }
67 68
68 defines = [ "PDFIUM_PRINT_TEXT_WITH_GDI" ] 69 defines = [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
69 if (pdf_enable_xfa) { 70 if (pdf_enable_xfa) {
70 defines += [ "PDF_ENABLE_XFA" ] 71 defines += [ "PDF_ENABLE_XFA" ]
71 } 72 }
72 } 73 }
74
75 test("pdf_unittests") {
76 sources = [
77 "chunk_stream_unittest.cc",
78 "run_all_unittests.cc",
79 ]
80
81 deps = [
82 ":pdf",
83 "//base",
84 "//base/test:test_support",
85 "//ppapi/c",
86 "//ppapi/cpp",
87 "//testing/gmock",
88 "//testing/gtest",
89 ]
90 }
OLDNEW
« no previous file with comments | « no previous file | pdf/chunk_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698