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 "chunk_stream.cc", | 9 "chunk_stream.cc", |
10 "chunk_stream.h", | 10 "chunk_stream.h", |
11 "document_loader.cc", | 11 "document_loader.cc", |
12 "document_loader.h", | 12 "document_loader.h", |
13 "draw_utils.cc", | 13 "draw_utils.cc", |
14 "draw_utils.h", | 14 "draw_utils.h", |
15 "out_of_process_instance.cc", | 15 "out_of_process_instance.cc", |
16 "out_of_process_instance.h", | 16 "out_of_process_instance.h", |
17 "paint_aggregator.cc", | 17 "paint_aggregator.cc", |
18 "paint_aggregator.h", | 18 "paint_aggregator.h", |
19 "paint_manager.cc", | 19 "paint_manager.cc", |
20 "paint_manager.h", | 20 "paint_manager.h", |
21 "pdf.cc", | 21 "pdf.cc", |
22 "pdf.h", | 22 "pdf.h", |
23 "pdf_engine.h", | 23 "pdf_engine.h", |
24 "preview_mode_client.cc", | 24 "preview_mode_client.cc", |
25 "preview_mode_client.h", | 25 "preview_mode_client.h", |
26 "resource.h", | |
27 "resource_consts.h", | |
28 ] | 26 ] |
29 | 27 |
30 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 28 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
31 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 29 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
32 | 30 |
33 if (pdf_engine == 0) { | 31 if (pdf_engine == 0) { |
34 sources += [ | 32 sources += [ |
35 "pdfium/pdfium_api_string_buffer_adapter.cc", | 33 "pdfium/pdfium_api_string_buffer_adapter.cc", |
36 "pdfium/pdfium_api_string_buffer_adapter.h", | 34 "pdfium/pdfium_api_string_buffer_adapter.h", |
37 "pdfium/pdfium_assert_matching_enums.cc", | 35 "pdfium/pdfium_assert_matching_enums.cc", |
(...skipping 14 matching lines...) Expand all Loading... |
52 "//base", | 50 "//base", |
53 "//components/ui/zoom", | 51 "//components/ui/zoom", |
54 "//content/public/common", | 52 "//content/public/common", |
55 "//gin", | 53 "//gin", |
56 "//net", | 54 "//net", |
57 "//ppapi/cpp:objects", | 55 "//ppapi/cpp:objects", |
58 "//ppapi/cpp/private:internal_module", | 56 "//ppapi/cpp/private:internal_module", |
59 "//third_party/pdfium", | 57 "//third_party/pdfium", |
60 ] | 58 ] |
61 } | 59 } |
OLD | NEW |