| 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 |
| 11 | 11 |
| 12 static_library("pdf") { | 12 static_library("pdf") { |
| 13 deps = [ | 13 deps = [ |
| 14 "//base", | 14 "//base", |
| 15 "//gin", | 15 "//gin", |
| 16 "//net", | 16 "//net", |
| 17 "//ppapi/cpp:objects", | 17 "//ppapi/cpp:objects", |
| 18 "//ppapi/cpp/private:internal_module", | 18 "//ppapi/cpp/private:internal_module", |
| 19 "//ui/base", |
| 19 ] | 20 ] |
| 20 | 21 |
| 21 sources = [ | 22 sources = [ |
| 22 "chunk_stream.cc", | 23 "chunk_stream.cc", |
| 23 "chunk_stream.h", | 24 "chunk_stream.h", |
| 24 "document_loader.cc", | 25 "document_loader.cc", |
| 25 "document_loader.h", | 26 "document_loader.h", |
| 26 "draw_utils.cc", | 27 "draw_utils.cc", |
| 27 "draw_utils.h", | 28 "draw_utils.h", |
| 28 "out_of_process_instance.cc", | 29 "out_of_process_instance.cc", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 "pdfium/pdfium_page.h", | 62 "pdfium/pdfium_page.h", |
| 62 "pdfium/pdfium_range.cc", | 63 "pdfium/pdfium_range.cc", |
| 63 "pdfium/pdfium_range.h", | 64 "pdfium/pdfium_range.h", |
| 64 ] | 65 ] |
| 65 } | 66 } |
| 66 | 67 |
| 67 if (pdf_enable_xfa) { | 68 if (pdf_enable_xfa) { |
| 68 defines = [ "PDF_ENABLE_XFA" ] | 69 defines = [ "PDF_ENABLE_XFA" ] |
| 69 } | 70 } |
| 70 } | 71 } |
| OLD | NEW |