| OLD | NEW |
| 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("//third_party/pdfium/pdfium.gni") | 6 import("//third_party/pdfium/pdfium.gni") |
| 7 | 7 |
| 8 assert(enable_pdf) | 8 assert(enable_pdf) |
| 9 | 9 |
| 10 pdf_engine = 0 # 0 PDFium | 10 pdf_engine = 0 # 0 PDFium |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 "pdfium/pdfium_mem_buffer_file_read.h", | 58 "pdfium/pdfium_mem_buffer_file_read.h", |
| 59 "pdfium/pdfium_mem_buffer_file_write.cc", | 59 "pdfium/pdfium_mem_buffer_file_write.cc", |
| 60 "pdfium/pdfium_mem_buffer_file_write.h", | 60 "pdfium/pdfium_mem_buffer_file_write.h", |
| 61 "pdfium/pdfium_page.cc", | 61 "pdfium/pdfium_page.cc", |
| 62 "pdfium/pdfium_page.h", | 62 "pdfium/pdfium_page.h", |
| 63 "pdfium/pdfium_range.cc", | 63 "pdfium/pdfium_range.cc", |
| 64 "pdfium/pdfium_range.h", | 64 "pdfium/pdfium_range.h", |
| 65 ] | 65 ] |
| 66 } | 66 } |
| 67 | 67 |
| 68 defines = [ "PDFIUM_PRINT_TEXT_WITH_GDI" ] |
| 68 if (pdf_enable_xfa) { | 69 if (pdf_enable_xfa) { |
| 69 defines = [ "PDF_ENABLE_XFA" ] | 70 defines += [ "PDF_ENABLE_XFA" ] |
| 70 } | 71 } |
| 71 } | 72 } |
| OLD | NEW |