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

Side by Side Diff: pdf/BUILD.gn

Issue 1820353002: Move PDFium libfuzzers to pdf/pdfium/fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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 | « no previous file | pdf/pdfium/fuzzers/BUILD.gn » ('j') | 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 24 matching lines...) Expand all
35 "pdf.h", 35 "pdf.h",
36 "pdf_engine.h", 36 "pdf_engine.h",
37 "preview_mode_client.cc", 37 "preview_mode_client.cc",
38 "preview_mode_client.h", 38 "preview_mode_client.h",
39 ] 39 ]
40 40
41 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 41 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
42 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 42 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
43 43
44 if (pdf_engine == 0) { 44 if (pdf_engine == 0) {
45 deps += [ "//third_party/pdfium" ] 45 deps += [
46 "//pdf/pdfium/fuzzers",
47 "//third_party/pdfium",
48 ]
46 49
47 sources += [ 50 sources += [
48 "pdfium/pdfium_api_string_buffer_adapter.cc", 51 "pdfium/pdfium_api_string_buffer_adapter.cc",
49 "pdfium/pdfium_api_string_buffer_adapter.h", 52 "pdfium/pdfium_api_string_buffer_adapter.h",
50 "pdfium/pdfium_assert_matching_enums.cc", 53 "pdfium/pdfium_assert_matching_enums.cc",
51 "pdfium/pdfium_engine.cc", 54 "pdfium/pdfium_engine.cc",
52 "pdfium/pdfium_engine.h", 55 "pdfium/pdfium_engine.h",
53 "pdfium/pdfium_mem_buffer_file_read.cc", 56 "pdfium/pdfium_mem_buffer_file_read.cc",
54 "pdfium/pdfium_mem_buffer_file_read.h", 57 "pdfium/pdfium_mem_buffer_file_read.h",
55 "pdfium/pdfium_mem_buffer_file_write.cc", 58 "pdfium/pdfium_mem_buffer_file_write.cc",
56 "pdfium/pdfium_mem_buffer_file_write.h", 59 "pdfium/pdfium_mem_buffer_file_write.h",
57 "pdfium/pdfium_page.cc", 60 "pdfium/pdfium_page.cc",
58 "pdfium/pdfium_page.h", 61 "pdfium/pdfium_page.h",
59 "pdfium/pdfium_range.cc", 62 "pdfium/pdfium_range.cc",
60 "pdfium/pdfium_range.h", 63 "pdfium/pdfium_range.h",
61 ] 64 ]
62 } 65 }
63 66
64 if (pdf_enable_xfa) { 67 if (pdf_enable_xfa) {
65 defines = [ "PDF_ENABLE_XFA" ] 68 defines = [ "PDF_ENABLE_XFA" ]
66 } 69 }
67 } 70 }
OLDNEW
« no previous file with comments | « no previous file | pdf/pdfium/fuzzers/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698