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

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: GN 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")
Lei Zhang 2015/12/10 00:20:30 blank line after?
5 pdf_engine = 0 # 0 PDFium 6 pdf_engine = 0 # 0 PDFium
6 7
7 static_library("pdf") { 8 static_library("pdf") {
8 sources = [ 9 sources = [
9 "chunk_stream.cc", 10 "chunk_stream.cc",
10 "chunk_stream.h", 11 "chunk_stream.h",
11 "document_loader.cc", 12 "document_loader.cc",
12 "document_loader.h", 13 "document_loader.h",
13 "draw_utils.cc", 14 "draw_utils.cc",
14 "draw_utils.h", 15 "draw_utils.h",
(...skipping 24 matching lines...) Expand all
39 "pdfium/pdfium_mem_buffer_file_read.h", 40 "pdfium/pdfium_mem_buffer_file_read.h",
40 "pdfium/pdfium_mem_buffer_file_write.cc", 41 "pdfium/pdfium_mem_buffer_file_write.cc",
41 "pdfium/pdfium_mem_buffer_file_write.h", 42 "pdfium/pdfium_mem_buffer_file_write.h",
42 "pdfium/pdfium_page.cc", 43 "pdfium/pdfium_page.cc",
43 "pdfium/pdfium_page.h", 44 "pdfium/pdfium_page.h",
44 "pdfium/pdfium_range.cc", 45 "pdfium/pdfium_range.cc",
45 "pdfium/pdfium_range.h", 46 "pdfium/pdfium_range.h",
46 ] 47 ]
47 } 48 }
48 49
50 if (pdf_enable_xfa) {
51 defines = [ "PDF_ENABLE_XFA" ]
52 }
53
49 deps = [ 54 deps = [
50 "//base", 55 "//base",
51 "//components/ui/zoom", 56 "//components/ui/zoom",
52 "//content/public/common", 57 "//content/public/common",
53 "//gin", 58 "//gin",
54 "//net", 59 "//net",
55 "//ppapi/cpp:objects", 60 "//ppapi/cpp:objects",
56 "//ppapi/cpp/private:internal_module", 61 "//ppapi/cpp/private:internal_module",
57 "//third_party/pdfium", 62 "//third_party/pdfium",
58 ] 63 ]
59 } 64 }
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