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("//third_party/pdfium/pdfium.gni") | 6 import("//third_party/pdfium/pdfium.gni") |
6 | 7 |
| 8 assert(enable_pdf) |
| 9 |
7 pdf_engine = 0 # 0 PDFium | 10 pdf_engine = 0 # 0 PDFium |
8 | 11 |
9 static_library("pdf") { | 12 static_library("pdf") { |
10 sources = [ | 13 sources = [ |
11 "chunk_stream.cc", | 14 "chunk_stream.cc", |
12 "chunk_stream.h", | 15 "chunk_stream.h", |
13 "document_loader.cc", | 16 "document_loader.cc", |
14 "document_loader.h", | 17 "document_loader.h", |
15 "draw_utils.cc", | 18 "draw_utils.cc", |
16 "draw_utils.h", | 19 "draw_utils.h", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "//base", | 59 "//base", |
57 "//components/ui/zoom", | 60 "//components/ui/zoom", |
58 "//content/public/common", | 61 "//content/public/common", |
59 "//gin", | 62 "//gin", |
60 "//net", | 63 "//net", |
61 "//ppapi/cpp:objects", | 64 "//ppapi/cpp:objects", |
62 "//ppapi/cpp/private:internal_module", | 65 "//ppapi/cpp/private:internal_module", |
63 "//third_party/pdfium", | 66 "//third_party/pdfium", |
64 ] | 67 ] |
65 } | 68 } |
OLD | NEW |