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

Side by Side Diff: pdf/BUILD.gn

Issue 1511443004: Keep pdf_engine in sync with PDF_ENABLE_XFA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Blank line. Created 5 years 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/pdf.gyp » ('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("//third_party/pdfium/pdfium.gni")
6
5 pdf_engine = 0 # 0 PDFium 7 pdf_engine = 0 # 0 PDFium
6 8
7 static_library("pdf") { 9 static_library("pdf") {
8 sources = [ 10 sources = [
9 "chunk_stream.cc", 11 "chunk_stream.cc",
10 "chunk_stream.h", 12 "chunk_stream.h",
11 "document_loader.cc", 13 "document_loader.cc",
12 "document_loader.h", 14 "document_loader.h",
13 "draw_utils.cc", 15 "draw_utils.cc",
14 "draw_utils.h", 16 "draw_utils.h",
(...skipping 24 matching lines...) Expand all
39 "pdfium/pdfium_mem_buffer_file_read.h", 41 "pdfium/pdfium_mem_buffer_file_read.h",
40 "pdfium/pdfium_mem_buffer_file_write.cc", 42 "pdfium/pdfium_mem_buffer_file_write.cc",
41 "pdfium/pdfium_mem_buffer_file_write.h", 43 "pdfium/pdfium_mem_buffer_file_write.h",
42 "pdfium/pdfium_page.cc", 44 "pdfium/pdfium_page.cc",
43 "pdfium/pdfium_page.h", 45 "pdfium/pdfium_page.h",
44 "pdfium/pdfium_range.cc", 46 "pdfium/pdfium_range.cc",
45 "pdfium/pdfium_range.h", 47 "pdfium/pdfium_range.h",
46 ] 48 ]
47 } 49 }
48 50
51 if (pdf_enable_xfa) {
52 defines = [ "PDF_ENABLE_XFA" ]
53 }
54
49 deps = [ 55 deps = [
50 "//base", 56 "//base",
51 "//components/ui/zoom", 57 "//components/ui/zoom",
52 "//content/public/common", 58 "//content/public/common",
53 "//gin", 59 "//gin",
54 "//net", 60 "//net",
55 "//ppapi/cpp:objects", 61 "//ppapi/cpp:objects",
56 "//ppapi/cpp/private:internal_module", 62 "//ppapi/cpp/private:internal_module",
57 "//third_party/pdfium", 63 "//third_party/pdfium",
58 ] 64 ]
59 } 65 }
OLDNEW
« no previous file with comments | « no previous file | pdf/pdf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698