diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-03 13:42:47 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-15 10:27:51 +0000 |
commit | 8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec (patch) | |
tree | d29d987c4d7b173cf853279b79a51598f104b403 /chromium/pdf/BUILD.gn | |
parent | 830c9e163d31a9180fadca926b3e1d7dfffb5021 (diff) | |
download | qtwebengine-chromium-8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec.tar.gz |
BASELINE: Update Chromium to 66.0.3359.156
Change-Id: I0c9831ad39911a086b6377b16f995ad75a51e441
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/pdf/BUILD.gn')
-rw-r--r-- | chromium/pdf/BUILD.gn | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/chromium/pdf/BUILD.gn b/chromium/pdf/BUILD.gn index 34c33a4c378..6d46f53b399 100644 --- a/chromium/pdf/BUILD.gn +++ b/chromium/pdf/BUILD.gn @@ -4,6 +4,7 @@ import("//build/buildflag_header.gni") import("//build/config/features.gni") +import("//build/config/jumbo.gni") import("//pdf/features.gni") import("//testing/test.gni") import("//third_party/pdfium/pdfium.gni") @@ -17,7 +18,7 @@ buildflag_header("features") { if (enable_pdf) { pdf_engine = 0 # 0 PDFium - static_library("pdf") { + jumbo_static_library("pdf") { deps = [ "//base", "//gin", @@ -28,6 +29,11 @@ if (enable_pdf) { "//ui/gfx/range", ] + public = [ + "pdf.h", + "pdf_ppapi.h", + ] + sources = [ "chunk_stream.h", "document_loader.cc", @@ -44,6 +50,8 @@ if (enable_pdf) { "pdf.h", "pdf_engine.cc", "pdf_engine.h", + "pdf_ppapi.cc", + "pdf_ppapi.h", "preview_mode_client.cc", "preview_mode_client.h", "range_set.cc", @@ -55,6 +63,9 @@ if (enable_pdf) { "url_loader_wrapper_impl.h", ] + include_dirs = [] + defines = [] + if (pdf_engine == 0) { deps += [ "//pdf/pdfium/fuzzers", @@ -77,11 +88,13 @@ if (enable_pdf) { "pdfium/pdfium_range.cc", "pdfium/pdfium_range.h", ] - } - defines = [ "PDFIUM_PRINT_TEXT_WITH_GDI" ] - if (pdf_enable_xfa) { - defines += [ "PDF_ENABLE_XFA" ] + include_dirs += [ "//third_party/pdfium" ] + + defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ] + if (pdf_enable_xfa) { + defines += [ "PDF_ENABLE_XFA" ] + } } } |