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

Side by Side Diff: pdf/pdf.gyp

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 | « pdf/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 { 1 {
2 'variables': { 2 'variables': {
3 'chromium_code': 1, 3 'chromium_code': 1,
4 'pdf_enable_xfa%': 0,
4 'pdf_engine%': 0, # 0 PDFium 5 'pdf_engine%': 0, # 0 PDFium
5 }, 6 },
6 'targets': [ 7 'targets': [
7 { 8 {
8 'target_name': 'pdf', 9 'target_name': 'pdf',
9 'type': 'static_library', 10 'type': 'static_library',
10 'dependencies': [ 11 'dependencies': [
11 '../base/base.gyp:base', 12 '../base/base.gyp:base',
12 '../components/components.gyp:ui_zoom', 13 '../components/components.gyp:ui_zoom',
13 '../content/content.gyp:content_common', 14 '../content/content.gyp:content_common',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 'pdfium/pdfium_mem_buffer_file_read.cc', 49 'pdfium/pdfium_mem_buffer_file_read.cc',
49 'pdfium/pdfium_mem_buffer_file_read.h', 50 'pdfium/pdfium_mem_buffer_file_read.h',
50 'pdfium/pdfium_mem_buffer_file_write.cc', 51 'pdfium/pdfium_mem_buffer_file_write.cc',
51 'pdfium/pdfium_mem_buffer_file_write.h', 52 'pdfium/pdfium_mem_buffer_file_write.h',
52 'pdfium/pdfium_page.cc', 53 'pdfium/pdfium_page.cc',
53 'pdfium/pdfium_page.h', 54 'pdfium/pdfium_page.h',
54 'pdfium/pdfium_range.cc', 55 'pdfium/pdfium_range.cc',
55 'pdfium/pdfium_range.h', 56 'pdfium/pdfium_range.h',
56 ], 57 ],
57 }], 58 }],
59 ['pdf_enable_xfa==1', {
60 'defines': [
61 'PDF_ENABLE_XFA',
62 ]
63 }],
58 ['OS=="win"', { 64 ['OS=="win"', {
59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 65 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
60 'msvs_disabled_warnings': [ 4267, ], 66 'msvs_disabled_warnings': [ 4267, ],
61 }], 67 }],
62 ], 68 ],
63 }, 69 },
64 ], 70 ],
65 } 71 }
OLDNEW
« no previous file with comments | « pdf/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698