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 # TODO(GYP) need support for loadable modules
8 shared_library("pdf") {
26 "number_image_generator.cc",
27 "number_image_generator.h",
28 "out_of_process_instance.cc",
29 "out_of_process_instance.h",
32 "paint_aggregator.cc",
39 "progress_control.cc",
42 "preview_mode_client.cc",
43 "preview_mode_client.h",
46 "thumbnail_control.cc",
47 "thumbnail_control.h",
48 "../chrome/browser/chrome_page_zoom_constants.cc",
49 "../content/common/page_zoom.cc",
52 if (pdf_engine == 0) {
54 "pdfium/pdfium_assert_matching_enums.cc",
55 "pdfium/pdfium_engine.cc",
56 "pdfium/pdfium_engine.h",
57 "pdfium/pdfium_mem_buffer_file_read.cc",
58 "pdfium/pdfium_mem_buffer_file_read.h",
59 "pdfium/pdfium_mem_buffer_file_write.cc",
60 "pdfium/pdfium_mem_buffer_file_write.h",
61 "pdfium/pdfium_page.cc",
62 "pdfium/pdfium_page.h",
63 "pdfium/pdfium_range.cc",
64 "pdfium/pdfium_range.h",
69 defines = [ "COMPILE_CONTENT_STATICALLY" ]
70 cflags = [ "/wd4267" ] # TODO(jschuh) size_t to int truncations.
76 #'product_name': 'PDF',
77 #'product_extension': 'plugin',
78 ## Strip the shipping binary of symbols so "Foxit" doesn't appear in
79 ## the binary. Symbols are stored in a separate .dSYM.
87 # 'INFOPLIST_FILE': 'Info.plist',
95 "//third_party/pdfium",
99 # TODO(GYP) pdf_linux_symbols target.