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("//build_overrides/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", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 "pdfium/pdfium_page.h", | 61 "pdfium/pdfium_page.h", |
62 "pdfium/pdfium_range.cc", | 62 "pdfium/pdfium_range.cc", |
63 "pdfium/pdfium_range.h", | 63 "pdfium/pdfium_range.h", |
64 ] | 64 ] |
65 } | 65 } |
66 | 66 |
67 if (pdf_enable_xfa) { | 67 if (pdf_enable_xfa) { |
68 defines = [ "PDF_ENABLE_XFA" ] | 68 defines = [ "PDF_ENABLE_XFA" ] |
69 } | 69 } |
70 } | 70 } |
OLD | NEW |