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

Side by Side Diff: chrome/chrome_renderer.gypi

Issue 477263003: pdf: Create a separate component for using the pdf pepper plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chrome_renderer_sources': [ 7 'chrome_renderer_sources': [
8 'renderer/benchmarking_extension.cc', 8 'renderer/benchmarking_extension.cc',
9 'renderer/benchmarking_extension.h', 9 'renderer/benchmarking_extension.h',
10 'renderer/extensions/chrome_extension_helper.cc', 10 'renderer/extensions/chrome_extension_helper.cc',
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 'renderer/pepper/pepper_flash_renderer_host.cc', 201 'renderer/pepper/pepper_flash_renderer_host.cc',
202 'renderer/pepper/pepper_flash_renderer_host.h', 202 'renderer/pepper/pepper_flash_renderer_host.h',
203 'renderer/pepper/pepper_helper.cc', 203 'renderer/pepper/pepper_helper.cc',
204 'renderer/pepper/pepper_helper.h', 204 'renderer/pepper/pepper_helper.h',
205 'renderer/pepper/pepper_pdf_host.cc', 205 'renderer/pepper/pepper_pdf_host.cc',
206 'renderer/pepper/pepper_pdf_host.h', 206 'renderer/pepper/pepper_pdf_host.h',
207 'renderer/pepper/pepper_shared_memory_message_filter.cc', 207 'renderer/pepper/pepper_shared_memory_message_filter.cc',
208 'renderer/pepper/pepper_shared_memory_message_filter.h', 208 'renderer/pepper/pepper_shared_memory_message_filter.h',
209 'renderer/pepper/pepper_uma_host.cc', 209 'renderer/pepper/pepper_uma_host.cc',
210 'renderer/pepper/pepper_uma_host.h', 210 'renderer/pepper/pepper_uma_host.h',
211 'renderer/pepper/ppb_pdf_impl.cc',
212 'renderer/pepper/ppb_pdf_impl.h',
213 ], 211 ],
214 # For safe_browsing==1 or safe_browsing==2. 212 # For safe_browsing==1 or safe_browsing==2.
215 'chrome_renderer_basic_safe_browsing_sources': [ 213 'chrome_renderer_basic_safe_browsing_sources': [
216 'renderer/safe_browsing/malware_dom_details.cc', 214 'renderer/safe_browsing/malware_dom_details.cc',
217 'renderer/safe_browsing/malware_dom_details.h', 215 'renderer/safe_browsing/malware_dom_details.h',
218 ], 216 ],
219 # For safe_browsing==1 only. 217 # For safe_browsing==1 only.
220 'chrome_renderer_safe_browsing_sources': [ 218 'chrome_renderer_safe_browsing_sources': [
221 'renderer/safe_browsing/feature_extractor_clock.cc', 219 'renderer/safe_browsing/feature_extractor_clock.cc',
222 'renderer/safe_browsing/feature_extractor_clock.h', 220 'renderer/safe_browsing/feature_extractor_clock.h',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 'renderer/spellchecker/spellcheck_worditerator.h', 252 'renderer/spellchecker/spellcheck_worditerator.h',
255 'renderer/spellchecker/spelling_engine.h', 253 'renderer/spellchecker/spelling_engine.h',
256 ], 254 ],
257 'chrome_renderer_printing_sources': [ 255 'chrome_renderer_printing_sources': [
258 'renderer/printing/print_web_view_helper.cc', 256 'renderer/printing/print_web_view_helper.cc',
259 'renderer/printing/print_web_view_helper.h', 257 'renderer/printing/print_web_view_helper.h',
260 'renderer/printing/print_web_view_helper_android.cc', 258 'renderer/printing/print_web_view_helper_android.cc',
261 'renderer/printing/print_web_view_helper_linux.cc', 259 'renderer/printing/print_web_view_helper_linux.cc',
262 'renderer/printing/print_web_view_helper_mac.mm', 260 'renderer/printing/print_web_view_helper_mac.mm',
263 ], 261 ],
262 'chrome_renderer_full_printing_sources': [
Lei Zhang 2014/08/26 22:41:30 You need to update the corresponding BUILD.gn file
sadrul 2014/08/27 00:09:52 Done.
263 'renderer/pepper/chrome_pdf_print_delegate.cc',
264 'renderer/pepper/chrome_pdf_print_delegate.h',
265 ],
264 }, 266 },
265 'targets': [ 267 'targets': [
266 { 268 {
267 'target_name': 'renderer', 269 'target_name': 'renderer',
268 'type': 'static_library', 270 'type': 'static_library',
269 'variables': { 'enable_wexit_time_destructors': 1, }, 271 'variables': { 'enable_wexit_time_destructors': 1, },
270 'dependencies': [ 272 'dependencies': [
271 'common', 273 'common',
272 'common_net', 274 'common_net',
273 'chrome_resources.gyp:chrome_resources', 275 'chrome_resources.gyp:chrome_resources',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 'dependencies': [ 315 'dependencies': [
314 '../components/nacl.gyp:nacl', 316 '../components/nacl.gyp:nacl',
315 '../components/nacl.gyp:nacl_renderer', 317 '../components/nacl.gyp:nacl_renderer',
316 ], 318 ],
317 }], 319 }],
318 ['enable_plugins==1', { 320 ['enable_plugins==1', {
319 'sources': [ 321 'sources': [
320 '<@(chrome_renderer_plugin_sources)', 322 '<@(chrome_renderer_plugin_sources)',
321 ], 323 ],
322 'dependencies': [ 324 'dependencies': [
325 '../components/components.gyp:pdf_pepper_renderer',
323 '../ppapi/ppapi_internal.gyp:ppapi_host', 326 '../ppapi/ppapi_internal.gyp:ppapi_host',
324 '../ppapi/ppapi_internal.gyp:ppapi_proxy', 327 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
325 '../ppapi/ppapi_internal.gyp:ppapi_ipc', 328 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
326 '../ppapi/ppapi_internal.gyp:ppapi_shared', 329 '../ppapi/ppapi_internal.gyp:ppapi_shared',
327 ], 330 ],
328 }], 331 }],
329 ['safe_browsing==1 or safe_browsing==2', { 332 ['safe_browsing==1 or safe_browsing==2', {
330 'sources': [ 333 'sources': [
331 '<@(chrome_renderer_basic_safe_browsing_sources)', 334 '<@(chrome_renderer_basic_safe_browsing_sources)',
332 ], 335 ],
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 ], 375 ],
373 }], 376 }],
374 ['OS=="mac"', { 377 ['OS=="mac"', {
375 'dependencies': [ 378 'dependencies': [
376 '../third_party/mach_override/mach_override.gyp:mach_override', 379 '../third_party/mach_override/mach_override.gyp:mach_override',
377 ], 380 ],
378 }], 381 }],
379 ['enable_printing!=0', { 382 ['enable_printing!=0', {
380 'sources': [ 383 'sources': [
381 '<@(chrome_renderer_printing_sources)', 384 '<@(chrome_renderer_printing_sources)',
382 ] 385 ],
386 'conditions': [
Lei Zhang 2014/08/26 22:41:30 I'd just put enable_printing==1 at the same level
sadrul 2014/08/27 00:09:51 Done.
387 ['enable_printing==1', {
388 'sources': [ '<@(chrome_renderer_full_printing_sources)' ],
389 },],
390 ],
383 }], 391 }],
384 ['win_pdf_metafile_for_printing==1', { 392 ['win_pdf_metafile_for_printing==1', {
385 'sources': [ 393 'sources': [
386 'renderer/printing/print_web_view_helper_pdf_win.cc', 394 'renderer/printing/print_web_view_helper_pdf_win.cc',
387 ], 395 ],
388 }, { 396 }, {
389 'sources': [ 397 'sources': [
390 'renderer/printing/print_web_view_helper_win.cc', 398 'renderer/printing/print_web_view_helper_win.cc',
391 ], 399 ],
392 }], 400 }],
(...skipping 30 matching lines...) Expand all
423 }], 431 }],
424 ['enable_printing!=0', { 432 ['enable_printing!=0', {
425 'dependencies': [ 433 'dependencies': [
426 '../printing/printing.gyp:printing', 434 '../printing/printing.gyp:printing',
427 ], 435 ],
428 }], 436 }],
429 ], 437 ],
430 }, 438 },
431 ], 439 ],
432 } 440 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698