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

Side by Side Diff: remoting/remoting_host.gypi

Issue 342583002: Remove NPAPI plugin from chromoting webapp. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 'includes': [ 6 'includes': [
7 'remoting_host_linux.gypi', 7 'remoting_host_linux.gypi',
8 'remoting_host_mac.gypi', 8 'remoting_host_mac.gypi',
9 'remoting_host_win.gypi', 9 'remoting_host_win.gypi',
10 ], 10 ],
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 '../google_update/google_update.gyp:google_update', 444 '../google_update/google_update.gyp:google_update',
445 'remoting_lib_idl', 445 'remoting_lib_idl',
446 ], 446 ],
447 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 447 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
448 'msvs_disabled_warnings': [4267, ], 448 'msvs_disabled_warnings': [4267, ],
449 }], 449 }],
450 ], 450 ],
451 }, # end of target 'remoting_host_setup_base' 451 }, # end of target 'remoting_host_setup_base'
452 452
453 { 453 {
454 'target_name': 'remoting_host_plugin',
455 'type': 'loadable_module',
456 'variables': { 'enable_wexit_time_destructors': 1, },
457 'product_extension': '<(host_plugin_extension)',
458 'product_prefix': '<(host_plugin_prefix)',
459 'defines': [
460 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)',
461 ],
462 'dependencies': [
463 '../base/base.gyp:base_i18n',
464 '../net/net.gyp:net',
465 '../third_party/npapi/npapi.gyp:npapi',
466 'remoting_base',
467 'remoting_host',
468 'remoting_host_setup_base',
469 'remoting_infoplist_strings',
470 'remoting_it2me_host_static',
471 'remoting_protocol',
472 'remoting_resources',
473 ],
474 'sources': [
475 'base/dispatch_win.h',
476 'host/plugin/host_log_handler.cc',
477 'host/plugin/host_log_handler.h',
478 'host/plugin/host_plugin.cc',
479 'host/plugin/host_plugin_utils.cc',
480 'host/plugin/host_plugin_utils.h',
481 'host/plugin/host_script_object.cc',
482 'host/plugin/host_script_object.h',
483 'host/win/core_resource.h',
484 ],
485 'conditions': [
486 ['OS=="mac"', {
487 'mac_bundle': 1,
488 'xcode_settings': {
489 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)',
490 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist',
491 'INFOPLIST_PREPROCESS': 'YES',
492 # TODO(maruel): Use INFOPLIST_PREFIX_HEADER to remove the need t o
493 # duplicate string once
494 # http://code.google.com/p/gyp/issues/detail?id=243 is fixed.
495 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE="<( host_plugin_mime_type)" VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_ short)"',
496 },
497 # TODO(mark): Come up with a fancier way to do this. It should
498 # only be necessary to list host_plugin-Info.plist once, not the
499 # three times it is listed here.
500 'mac_bundle_resources': [
501 'host/disconnect_window.xib',
502 'host/plugin/host_plugin-Info.plist',
503 'resources/chromoting16.png',
504 'resources/chromoting48.png',
505 'resources/chromoting128.png',
506 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(PRODUCT _DIR) <(remoting_locales))',
507
508 # Localized strings for 'Info.plist'
509 '<!@pymod_do_main(remoting_localize --locale_output '
510 '"<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin-InfoPlist. strings/@{json_suffix}.lproj/InfoPlist.strings" '
511 '--print_only <(remoting_locales))',
512 ],
513 'mac_bundle_resources!': [
514 'host/plugin/host_plugin-Info.plist',
515 ],
516 'conditions': [
517 ['mac_breakpad==1', {
518 'variables': {
519 # A real .dSYM is needed for dump_syms to operate on.
520 'mac_real_dsym': 1,
521 },
522 }],
523 ], # conditions
524 }], # OS=="mac"
525 [ 'OS=="win"', {
526 'defines': [
527 'BINARY=BINARY_HOST_PLUGIN',
528 'ISOLATION_AWARE_ENABLED=1',
529 ],
530 'dependencies': [
531 'remoting_lib_idl',
532 'remoting_windows_resources',
533 ],
534 'include_dirs': [
535 '<(INTERMEDIATE_DIR)',
536 ],
537 'sources': [
538 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc',
539 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc',
540 'host/plugin/host_plugin.def',
541 ],
542 'msvs_settings': {
543 'VCManifestTool': {
544 'EmbedManifest': 'true',
545 'AdditionalManifestFiles': [
546 'host/win/common-controls.manifest',
547 ],
548 },
549 },
550 }],
551 ],
552 }, # end of target 'remoting_host_plugin'
553 {
554 'target_name': 'remoting_it2me_host_static', 454 'target_name': 'remoting_it2me_host_static',
555 'type': 'static_library', 455 'type': 'static_library',
556 'variables': { 'enable_wexit_time_destructors': 1, }, 456 'variables': { 'enable_wexit_time_destructors': 1, },
557 'dependencies': [ 457 'dependencies': [
558 '../base/base.gyp:base_i18n', 458 '../base/base.gyp:base_i18n',
559 '../net/net.gyp:net', 459 '../net/net.gyp:net',
560 'remoting_base', 460 'remoting_base',
561 'remoting_host', 461 'remoting_host',
562 'remoting_infoplist_strings', 462 'remoting_infoplist_strings',
563 'remoting_protocol', 463 'remoting_protocol',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 }], 531 }],
632 }, # end of target 'remoting_native_messaging_manifests' 532 }, # end of target 'remoting_native_messaging_manifests'
633 533
634 { 534 {
635 'target_name': 'remoting_infoplist_strings', 535 'target_name': 'remoting_infoplist_strings',
636 'type': 'none', 536 'type': 'none',
637 'dependencies': [ 537 'dependencies': [
638 'remoting_resources', 538 'remoting_resources',
639 ], 539 ],
640 'sources': [ 540 'sources': [
641 'host/plugin/host_plugin-InfoPlist.strings.jinja2',
642 'host/remoting_me2me_host-InfoPlist.strings.jinja2', 541 'host/remoting_me2me_host-InfoPlist.strings.jinja2',
643 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2', 542 'host/mac/me2me_preference_pane-InfoPlist.strings.jinja2',
644 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strin gs.jinja2', 543 'host/installer/mac/uninstaller/remoting_uninstaller-InfoPlist.strin gs.jinja2',
645 'host/setup/native_messaging_host-InfoPlist.strings.jinja2', 544 'host/setup/native_messaging_host-InfoPlist.strings.jinja2',
646 'host/it2me/remote_assistance_host-InfoPlist.strings.jinja2', 545 'host/it2me/remote_assistance_host-InfoPlist.strings.jinja2',
647 ], 546 ],
648 'rules': [{ 547 'rules': [{
649 'rule_name': 'generate_strings', 548 'rule_name': 'generate_strings',
650 'extension': 'jinja2', 549 'extension': 'jinja2',
651 'inputs': [ 550 'inputs': [
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 }], # mac_breakpad==1 840 }], # mac_breakpad==1
942 ], # conditions 841 ], # conditions
943 }], # OS=mac 842 }], # OS=mac
944 ], 843 ],
945 }, # end of target 'remoting_it2me_native_messaging_host' 844 }, # end of target 'remoting_it2me_native_messaging_host'
946 ], # end of 'targets' 845 ], # end of 'targets'
947 }], # OS!="win" 846 }], # OS!="win"
948 847
949 ], # end of 'conditions' 848 ], # end of 'conditions'
950 } 849 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698