| 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 pdf_engine = 0 # 0 PDFium | 5 pdf_engine = 0 # 0 PDFium |
| 6 | 6 |
| 7 static_library("pdf") { | 7 static_library("pdf") { |
| 8 sources = [ | 8 sources = [ |
| 9 "button.cc", | |
| 10 "button.h", | |
| 11 "chunk_stream.cc", | 9 "chunk_stream.cc", |
| 12 "chunk_stream.h", | 10 "chunk_stream.h", |
| 13 "control.cc", | |
| 14 "control.h", | |
| 15 "document_loader.cc", | 11 "document_loader.cc", |
| 16 "document_loader.h", | 12 "document_loader.h", |
| 17 "draw_utils.cc", | 13 "draw_utils.cc", |
| 18 "draw_utils.h", | 14 "draw_utils.h", |
| 19 "fading_control.cc", | |
| 20 "fading_control.h", | |
| 21 "fading_controls.cc", | |
| 22 "fading_controls.h", | |
| 23 "instance.cc", | |
| 24 "instance.h", | |
| 25 "number_image_generator.cc", | |
| 26 "number_image_generator.h", | |
| 27 "out_of_process_instance.cc", | 15 "out_of_process_instance.cc", |
| 28 "out_of_process_instance.h", | 16 "out_of_process_instance.h", |
| 29 "page_indicator.cc", | |
| 30 "page_indicator.h", | |
| 31 "paint_aggregator.cc", | 17 "paint_aggregator.cc", |
| 32 "paint_aggregator.h", | 18 "paint_aggregator.h", |
| 33 "paint_manager.cc", | 19 "paint_manager.cc", |
| 34 "paint_manager.h", | 20 "paint_manager.h", |
| 35 "pdf.cc", | 21 "pdf.cc", |
| 36 "pdf.h", | 22 "pdf.h", |
| 37 "pdf_engine.h", | 23 "pdf_engine.h", |
| 38 "preview_mode_client.cc", | 24 "preview_mode_client.cc", |
| 39 "preview_mode_client.h", | 25 "preview_mode_client.h", |
| 40 "progress_control.cc", | |
| 41 "progress_control.h", | |
| 42 "resource.h", | 26 "resource.h", |
| 43 "resource_consts.h", | 27 "resource_consts.h", |
| 44 "thumbnail_control.cc", | |
| 45 "thumbnail_control.h", | |
| 46 ] | 28 ] |
| 47 | 29 |
| 48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 30 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 49 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 31 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 50 | 32 |
| 51 if (pdf_engine == 0) { | 33 if (pdf_engine == 0) { |
| 52 sources += [ | 34 sources += [ |
| 53 "pdfium/pdfium_api_string_buffer_adapter.cc", | 35 "pdfium/pdfium_api_string_buffer_adapter.cc", |
| 54 "pdfium/pdfium_api_string_buffer_adapter.h", | 36 "pdfium/pdfium_api_string_buffer_adapter.h", |
| 55 "pdfium/pdfium_assert_matching_enums.cc", | 37 "pdfium/pdfium_assert_matching_enums.cc", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 68 | 50 |
| 69 deps = [ | 51 deps = [ |
| 70 "//base", | 52 "//base", |
| 71 "//components/ui/zoom:ui_zoom", | 53 "//components/ui/zoom:ui_zoom", |
| 72 "//content/public/common", | 54 "//content/public/common", |
| 73 "//net", | 55 "//net", |
| 74 "//ppapi/cpp/private:internal_module", | 56 "//ppapi/cpp/private:internal_module", |
| 75 "//third_party/pdfium", | 57 "//third_party/pdfium", |
| 76 ] | 58 ] |
| 77 } | 59 } |
| OLD | NEW |