OLD | NEW |
---|---|
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'chromium_code': 1, | 3 'chromium_code': 1, |
4 'pdf_engine%': 0, # 0 PDFium | 4 'pdf_engine%': 0, # 0 PDFium |
5 'pdf_use_xfa%': 0, | |
Lei Zhang
2014/11/05 22:45:09
You need to make the corresponding change in pdf/B
Bo Xu
2014/11/06 01:26:20
Done.
| |
5 }, | 6 }, |
6 'target_defaults': { | 7 'target_defaults': { |
7 'cflags': [ | 8 'cflags': [ |
8 '-fPIC', | 9 '-fPIC', |
9 ], | 10 ], |
10 }, | 11 }, |
11 'targets': [ | 12 'targets': [ |
12 { | 13 { |
13 'target_name': 'pdf', | 14 'target_name': 'pdf', |
14 'type': 'loadable_module', | 15 'type': 'loadable_module', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 'preview_mode_client.cc', | 63 'preview_mode_client.cc', |
63 'preview_mode_client.h', | 64 'preview_mode_client.h', |
64 'resource.h', | 65 'resource.h', |
65 'resource_consts.h', | 66 'resource_consts.h', |
66 'thumbnail_control.cc', | 67 'thumbnail_control.cc', |
67 'thumbnail_control.h', | 68 'thumbnail_control.h', |
68 '../chrome/browser/chrome_page_zoom_constants.cc', | 69 '../chrome/browser/chrome_page_zoom_constants.cc', |
69 '../content/common/page_zoom.cc', | 70 '../content/common/page_zoom.cc', |
70 ], | 71 ], |
71 'conditions': [ | 72 'conditions': [ |
73 ['pdf_use_xfa==1', { | |
74 'defines': ['_TEST_XFA_'], | |
Tom Sepez
2014/11/05 22:44:47
nit: the #define should be PDF_USE_XFA for consist
Bo Xu
2014/11/06 01:26:20
Done.
| |
75 }], | |
72 ['pdf_engine==0', { | 76 ['pdf_engine==0', { |
73 'sources': [ | 77 'sources': [ |
74 'pdfium/pdfium_assert_matching_enums.cc', | 78 'pdfium/pdfium_assert_matching_enums.cc', |
75 'pdfium/pdfium_engine.cc', | 79 'pdfium/pdfium_engine.cc', |
76 'pdfium/pdfium_engine.h', | 80 'pdfium/pdfium_engine.h', |
77 'pdfium/pdfium_mem_buffer_file_read.cc', | 81 'pdfium/pdfium_mem_buffer_file_read.cc', |
78 'pdfium/pdfium_mem_buffer_file_read.h', | 82 'pdfium/pdfium_mem_buffer_file_read.h', |
79 'pdfium/pdfium_mem_buffer_file_write.cc', | 83 'pdfium/pdfium_mem_buffer_file_write.cc', |
80 'pdfium/pdfium_mem_buffer_file_write.h', | 84 'pdfium/pdfium_mem_buffer_file_write.h', |
81 'pdfium/pdfium_page.cc', | 85 'pdfium/pdfium_page.cc', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
191 '--input_symbol', '<(PRODUCT_DIR)/pdf.dll.pdb', | 195 '--input_symbol', '<(PRODUCT_DIR)/pdf.dll.pdb', |
192 '--destination_dir', '<(dest_dir)', | 196 '--destination_dir', '<(dest_dir)', |
193 ], | 197 ], |
194 }, | 198 }, |
195 ], | 199 ], |
196 }, | 200 }, |
197 ], | 201 ], |
198 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1 | 202 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1 |
199 ], | 203 ], |
200 } | 204 } |
OLD | NEW |