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

Side by Side Diff: pdf/BUILD.gn

Issue 705823002: Add pdf layer code for PDFium XFA module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Naming, comment Created 6 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 | « no previous file | pdf/pdf.gyp » ('j') | pdf/pdfium/pdfium_engine.cc » ('J')
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 pdf_engine = 0 # 0 PDFium 5 pdf_engine = 0 # 0 PDFium
6 pdf_use_xfa = 0
6 7
7 # TODO(GYP) need support for loadable modules 8 # TODO(GYP) need support for loadable modules
8 shared_library("pdf") { 9 shared_library("pdf") {
9 sources = [ 10 sources = [
10 "button.h", 11 "button.h",
11 "button.cc", 12 "button.cc",
12 "chunk_stream.h", 13 "chunk_stream.h",
13 "chunk_stream.cc", 14 "chunk_stream.cc",
14 "control.h", 15 "control.h",
15 "control.cc", 16 "control.cc",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "pdfium/pdfium_range.cc", 64 "pdfium/pdfium_range.cc",
64 "pdfium/pdfium_range.h", 65 "pdfium/pdfium_range.h",
65 ] 66 ]
66 } 67 }
67 68
68 if (is_win) { 69 if (is_win) {
69 defines = [ "COMPILE_CONTENT_STATICALLY" ] 70 defines = [ "COMPILE_CONTENT_STATICALLY" ]
70 cflags = [ "/wd4267" ] # TODO(jschuh) size_t to int truncations. 71 cflags = [ "/wd4267" ] # TODO(jschuh) size_t to int truncations.
71 } 72 }
72 73
74 if (pdf_use_xfa == 1) {
75 defines += [ "PDF_USE_XFA" ]
76 }
77
73 if (is_mac) { 78 if (is_mac) {
74 # TODO(GYP) 79 # TODO(GYP)
75 #'mac_bundle': 1, 80 #'mac_bundle': 1,
76 #'product_name': 'PDF', 81 #'product_name': 'PDF',
77 #'product_extension': 'plugin', 82 #'product_extension': 'plugin',
78 ## Strip the shipping binary of symbols so "Foxit" doesn't appear in 83 ## Strip the shipping binary of symbols so "Foxit" doesn't appear in
79 ## the binary. Symbols are stored in a separate .dSYM. 84 ## the binary. Symbols are stored in a separate .dSYM.
80 #'variables': { 85 #'variables': {
81 # 'mac_real_dsym': 1, 86 # 'mac_real_dsym': 1,
82 #}, 87 #},
83 #'sources+': [ 88 #'sources+': [
84 # 'Info.plist' 89 # 'Info.plist'
85 #] 90 #]
86 #'xcode_settings': { 91 #'xcode_settings': {
87 # 'INFOPLIST_FILE': 'Info.plist', 92 # 'INFOPLIST_FILE': 'Info.plist',
88 #}, 93 #},
89 } 94 }
90 95
91 deps = [ 96 deps = [
92 "//base", 97 "//base",
93 "//net", 98 "//net",
94 "//ppapi:ppapi_cpp", 99 "//ppapi:ppapi_cpp",
95 "//third_party/pdfium", 100 "//third_party/pdfium",
96 ] 101 ]
97 } 102 }
98 103
99 # TODO(GYP) pdf_linux_symbols target. 104 # TODO(GYP) pdf_linux_symbols target.
OLDNEW
« no previous file with comments | « no previous file | pdf/pdf.gyp » ('j') | pdf/pdfium/pdfium_engine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698