| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |