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

Side by Side Diff: pdf/pdf.gyp

Issue 1554263004: Clean up PDF plugin dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
« pdf/BUILD.gn ('K') | « 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_enable_xfa%': 0,
5 'pdf_engine%': 0, # 0 PDFium 5 'pdf_engine%': 0, # 0 PDFium
6 }, 6 },
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'pdf', 9 'target_name': 'pdf',
10 'type': 'static_library', 10 'type': 'static_library',
11 'dependencies': [ 11 'dependencies': [
12 '../base/base.gyp:base', 12 '../base/base.gyp:base',
13 '../components/components.gyp:ui_zoom',
14 '../content/content.gyp:content_common',
15 '../gin/gin.gyp:gin', 13 '../gin/gin.gyp:gin',
16 '../net/net.gyp:net', 14 '../net/net.gyp:net',
17 '../ppapi/ppapi.gyp:ppapi_cpp_objects', 15 '../ppapi/ppapi.gyp:ppapi_cpp_objects',
18 '../ppapi/ppapi.gyp:ppapi_internal_module', 16 '../ppapi/ppapi.gyp:ppapi_internal_module',
19 '../third_party/pdfium/pdfium.gyp:pdfium',
20 ], 17 ],
21 'ldflags': [ '-L<(PRODUCT_DIR)',], 18 'ldflags': [ '-L<(PRODUCT_DIR)',],
22 'sources': [ 19 'sources': [
23 'chunk_stream.h', 20 'chunk_stream.h',
24 'chunk_stream.cc', 21 'chunk_stream.cc',
25 'document_loader.h', 22 'document_loader.h',
26 'document_loader.cc', 23 'document_loader.cc',
27 'draw_utils.cc', 24 'draw_utils.cc',
28 'draw_utils.h', 25 'draw_utils.h',
29 'out_of_process_instance.cc', 26 'out_of_process_instance.cc',
30 'out_of_process_instance.h', 27 'out_of_process_instance.h',
31 'paint_aggregator.cc', 28 'paint_aggregator.cc',
32 'paint_aggregator.h', 29 'paint_aggregator.h',
33 'paint_manager.cc', 30 'paint_manager.cc',
34 'paint_manager.h', 31 'paint_manager.h',
35 'pdf.cc', 32 'pdf.cc',
36 'pdf.h', 33 'pdf.h',
37 'pdf_engine.h', 34 'pdf_engine.h',
38 'preview_mode_client.cc', 35 'preview_mode_client.cc',
39 'preview_mode_client.h', 36 'preview_mode_client.h',
40 ], 37 ],
41 'conditions': [ 38 'conditions': [
42 ['pdf_engine==0', { 39 ['pdf_engine==0', {
40 'dependencies': [
41 '../third_party/pdfium/pdfium.gyp:pdfium',
42 ],
43 'sources': [ 43 'sources': [
44 'pdfium/pdfium_api_string_buffer_adapter.cc', 44 'pdfium/pdfium_api_string_buffer_adapter.cc',
45 'pdfium/pdfium_api_string_buffer_adapter.h', 45 'pdfium/pdfium_api_string_buffer_adapter.h',
46 'pdfium/pdfium_assert_matching_enums.cc', 46 'pdfium/pdfium_assert_matching_enums.cc',
47 'pdfium/pdfium_engine.cc', 47 'pdfium/pdfium_engine.cc',
48 'pdfium/pdfium_engine.h', 48 'pdfium/pdfium_engine.h',
49 'pdfium/pdfium_mem_buffer_file_read.cc', 49 'pdfium/pdfium_mem_buffer_file_read.cc',
50 'pdfium/pdfium_mem_buffer_file_read.h', 50 'pdfium/pdfium_mem_buffer_file_read.h',
51 'pdfium/pdfium_mem_buffer_file_write.cc', 51 'pdfium/pdfium_mem_buffer_file_write.cc',
52 'pdfium/pdfium_mem_buffer_file_write.h', 52 'pdfium/pdfium_mem_buffer_file_write.h',
53 'pdfium/pdfium_page.cc', 53 'pdfium/pdfium_page.cc',
54 'pdfium/pdfium_page.h', 54 'pdfium/pdfium_page.h',
55 'pdfium/pdfium_range.cc', 55 'pdfium/pdfium_range.cc',
56 'pdfium/pdfium_range.h', 56 'pdfium/pdfium_range.h',
57 ], 57 ],
58 }], 58 }],
59 ['pdf_enable_xfa==1', { 59 ['pdf_enable_xfa==1', {
60 'defines': [ 60 'defines': [
61 'PDF_ENABLE_XFA', 61 'PDF_ENABLE_XFA',
62 ] 62 ]
63 }], 63 }],
64 ['OS=="win"', { 64 ['OS=="win"', {
65 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 65 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
66 'msvs_disabled_warnings': [ 4267, ], 66 'msvs_disabled_warnings': [ 4267, ],
67 }], 67 }],
68 ], 68 ],
69 }, 69 },
70 ], 70 ],
71 } 71 }
OLDNEW
« pdf/BUILD.gn ('K') | « pdf/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698