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") {
15 "out_of_process_instance.cc",
16 "out_of_process_instance.h",
17 "paint_aggregator.cc",
24 "preview_mode_client.cc",
25 "preview_mode_client.h",
30 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
31 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
33 if (pdf_engine == 0) {
35 "pdfium/pdfium_api_string_buffer_adapter.cc",
36 "pdfium/pdfium_api_string_buffer_adapter.h",
37 "pdfium/pdfium_assert_matching_enums.cc",
38 "pdfium/pdfium_engine.cc",
39 "pdfium/pdfium_engine.h",
40 "pdfium/pdfium_mem_buffer_file_read.cc",
41 "pdfium/pdfium_mem_buffer_file_read.h",
42 "pdfium/pdfium_mem_buffer_file_write.cc",
43 "pdfium/pdfium_mem_buffer_file_write.h",
44 "pdfium/pdfium_page.cc",
45 "pdfium/pdfium_page.h",
46 "pdfium/pdfium_range.cc",
47 "pdfium/pdfium_range.h",
53 "//components/ui/zoom:ui_zoom",
54 "//content/public/common",
56 "//ppapi/cpp:objects",
57 "//ppapi/cpp/private:internal_module",
58 "//third_party/pdfium",