Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: pdf/BUILD.gn

Issue 2453873003: Addressing C4267 for pdf. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/pdf/renderer/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//third_party/pdfium/pdfium.gni") 6 import("//third_party/pdfium/pdfium.gni")
7 7
8 assert(enable_pdf) 8 assert(enable_pdf)
9 9
10 pdf_engine = 0 # 0 PDFium 10 pdf_engine = 0 # 0 PDFium
(...skipping 21 matching lines...) Expand all
32 "paint_aggregator.h", 32 "paint_aggregator.h",
33 "paint_manager.cc", 33 "paint_manager.cc",
34 "paint_manager.h", 34 "paint_manager.h",
35 "pdf.cc", 35 "pdf.cc",
36 "pdf.h", 36 "pdf.h",
37 "pdf_engine.h", 37 "pdf_engine.h",
38 "preview_mode_client.cc", 38 "preview_mode_client.cc",
39 "preview_mode_client.h", 39 "preview_mode_client.h",
40 ] 40 ]
41 41
42 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
43 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
44
45 if (pdf_engine == 0) { 42 if (pdf_engine == 0) {
46 deps += [ 43 deps += [
47 "//pdf/pdfium/fuzzers", 44 "//pdf/pdfium/fuzzers",
48 "//third_party/pdfium", 45 "//third_party/pdfium",
49 ] 46 ]
50 47
51 sources += [ 48 sources += [
52 "pdfium/pdfium_api_string_buffer_adapter.cc", 49 "pdfium/pdfium_api_string_buffer_adapter.cc",
53 "pdfium/pdfium_api_string_buffer_adapter.h", 50 "pdfium/pdfium_api_string_buffer_adapter.h",
54 "pdfium/pdfium_assert_matching_enums.cc", 51 "pdfium/pdfium_assert_matching_enums.cc",
55 "pdfium/pdfium_engine.cc", 52 "pdfium/pdfium_engine.cc",
56 "pdfium/pdfium_engine.h", 53 "pdfium/pdfium_engine.h",
57 "pdfium/pdfium_mem_buffer_file_read.cc", 54 "pdfium/pdfium_mem_buffer_file_read.cc",
58 "pdfium/pdfium_mem_buffer_file_read.h", 55 "pdfium/pdfium_mem_buffer_file_read.h",
59 "pdfium/pdfium_mem_buffer_file_write.cc", 56 "pdfium/pdfium_mem_buffer_file_write.cc",
60 "pdfium/pdfium_mem_buffer_file_write.h", 57 "pdfium/pdfium_mem_buffer_file_write.h",
61 "pdfium/pdfium_page.cc", 58 "pdfium/pdfium_page.cc",
62 "pdfium/pdfium_page.h", 59 "pdfium/pdfium_page.h",
63 "pdfium/pdfium_range.cc", 60 "pdfium/pdfium_range.cc",
64 "pdfium/pdfium_range.h", 61 "pdfium/pdfium_range.h",
65 ] 62 ]
66 } 63 }
67 64
68 defines = [ "PDFIUM_PRINT_TEXT_WITH_GDI" ] 65 defines = [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
69 if (pdf_enable_xfa) { 66 if (pdf_enable_xfa) {
70 defines += [ "PDF_ENABLE_XFA" ] 67 defines += [ "PDF_ENABLE_XFA" ]
71 } 68 }
72 } 69 }
OLDNEW
« no previous file with comments | « components/pdf/renderer/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698