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
3 # found in the LICENSE file.
5 pdf_engine = 0 # 0 PDFium
7 static_library("pdf") {
25 "number_image_generator.cc",
26 "number_image_generator.h",
27 "out_of_process_instance.cc",
28 "out_of_process_instance.h",
31 "paint_aggregator.cc",
38 "preview_mode_client.cc",
39 "preview_mode_client.h",
40 "progress_control.cc",
44 "thumbnail_control.cc",
45 "thumbnail_control.h",
48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
49 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
51 if (pdf_engine == 0) {
53 "pdfium/pdfium_api_string_buffer_adapter.cc",
54 "pdfium/pdfium_api_string_buffer_adapter.h",
55 "pdfium/pdfium_assert_matching_enums.cc",
56 "pdfium/pdfium_engine.cc",
57 "pdfium/pdfium_engine.h",
58 "pdfium/pdfium_mem_buffer_file_read.cc",
59 "pdfium/pdfium_mem_buffer_file_read.h",
60 "pdfium/pdfium_mem_buffer_file_write.cc",
61 "pdfium/pdfium_mem_buffer_file_write.h",
62 "pdfium/pdfium_page.cc",
63 "pdfium/pdfium_page.h",
64 "pdfium/pdfium_range.cc",
65 "pdfium/pdfium_range.h",
71 "//components/ui/zoom:ui_zoom",
72 "//content/public/common",
74 "//ppapi/cpp/private:internal_module",
75 "//third_party/pdfium",