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

Side by Side Diff: remoting/remoting.gyp

Issue 10827054: Add HostEventLogger to It2Me host plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 # TODO(dmaclach): can we pick this up some other way? Right now it's 7 # TODO(dmaclach): can we pick this up some other way? Right now it's
8 # duplicated from chrome.gyp 8 # duplicated from chrome.gyp
9 'chromium_code': 1, 9 'chromium_code': 1,
10 'remoting_audio': 0, 10 'remoting_audio': 0,
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 '<(INTERMEDIATE_DIR)', 523 '<(INTERMEDIATE_DIR)',
524 ], 524 ],
525 'dependencies': [ 525 'dependencies': [
526 '../base/base.gyp:base', 526 '../base/base.gyp:base',
527 'remoting_breakpad', 527 'remoting_breakpad',
528 'remoting_elevated_controller', 528 'remoting_elevated_controller',
529 'remoting_protocol', 529 'remoting_protocol',
530 'remoting_version_resources', 530 'remoting_version_resources',
531 ], 531 ],
532 'sources': [ 532 'sources': [
533 '<(SHARED_INTERMEDIATE_DIR)/remoting/elevated_controller_version.rc' ,
533 'host/branding.cc', 534 'host/branding.cc',
534 'host/branding.h', 535 'host/branding.h',
535 'host/elevated_controller.rc', 536 'host/elevated_controller.rc',
536 'host/elevated_controller_module_win.cc', 537 'host/elevated_controller_module_win.cc',
537 'host/elevated_controller_win.cc', 538 'host/elevated_controller_win.cc',
538 'host/elevated_controller_win.h', 539 'host/elevated_controller_win.h',
539 'host/pin_hash.cc', 540 'host/pin_hash.cc',
540 'host/pin_hash.h', 541 'host/pin_hash.h',
541 'host/usage_stats_consent.h', 542 'host/usage_stats_consent.h',
542 'host/usage_stats_consent_win.cc', 543 'host/usage_stats_consent_win.cc',
543 'host/verify_config_window_win.cc', 544 'host/verify_config_window_win.cc',
544 'host/verify_config_window_win.h', 545 'host/verify_config_window_win.h',
545 '<(SHARED_INTERMEDIATE_DIR)/remoting/elevated_controller_version.rc'
546 ], 546 ],
547 'link_settings': { 547 'link_settings': {
548 'libraries': [ 548 'libraries': [
549 '-lcomctl32.lib', 549 '-lcomctl32.lib',
550 ], 550 ],
551 }, 551 },
552 'msvs_settings': { 552 'msvs_settings': {
553 'VCLinkerTool': { 553 'VCLinkerTool': {
554 'AdditionalOptions': [ 554 'AdditionalOptions': [
555 "\"/manifestdependency:type='win32' " 555 "\"/manifestdependency:type='win32' "
(...skipping 13 matching lines...) Expand all
569 'variables': { 'enable_wexit_time_destructors': 1, }, 569 'variables': { 'enable_wexit_time_destructors': 1, },
570 'dependencies': [ 570 'dependencies': [
571 '../base/base.gyp:base', 571 '../base/base.gyp:base',
572 '../base/base.gyp:base_static', 572 '../base/base.gyp:base_static',
573 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 573 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
574 '../ipc/ipc.gyp:ipc', 574 '../ipc/ipc.gyp:ipc',
575 'remoting_breakpad', 575 'remoting_breakpad',
576 'remoting_version_resources', 576 'remoting_version_resources',
577 ], 577 ],
578 'sources': [ 578 'sources': [
579 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_service_version.rc',
579 'base/scoped_sc_handle_win.h', 580 'base/scoped_sc_handle_win.h',
580 'host/branding.cc', 581 'host/branding.cc',
581 'host/branding.h', 582 'host/branding.h',
582 'host/chromoting_messages.cc', 583 'host/chromoting_messages.cc',
583 'host/chromoting_messages.h', 584 'host/chromoting_messages.h',
584 'host/constants.h', 585 'host/constants.h',
585 'host/constants_win.cc', 586 'host/constants_win.cc',
586 'host/host_service.rc', 587 'host/host_service.rc',
587 'host/host_service_resource.h', 588 'host/host_service_resource.h',
588 'host/host_service_win.cc', 589 'host/host_service_win.cc',
589 'host/host_service_win.h', 590 'host/host_service_win.h',
590 'host/launch_process_in_session_win.cc', 591 'host/launch_process_in_session_win.cc',
591 'host/launch_process_in_session_win.h', 592 'host/launch_process_in_session_win.h',
592 'host/sas_injector.h', 593 'host/sas_injector.h',
593 'host/sas_injector_win.cc', 594 'host/sas_injector_win.cc',
594 'host/usage_stats_consent.h', 595 'host/usage_stats_consent.h',
595 'host/usage_stats_consent_win.cc', 596 'host/usage_stats_consent_win.cc',
596 'host/wts_console_monitor_win.h', 597 'host/wts_console_monitor_win.h',
597 'host/wts_console_observer_win.h', 598 'host/wts_console_observer_win.h',
598 'host/wts_session_process_launcher_win.cc', 599 'host/wts_session_process_launcher_win.cc',
599 'host/wts_session_process_launcher_win.h', 600 'host/wts_session_process_launcher_win.h',
600 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_service_version.rc'
601 ], 601 ],
602 'msvs_settings': { 602 'msvs_settings': {
603 'VCLinkerTool': { 603 'VCLinkerTool': {
604 'AdditionalDependencies': [ 604 'AdditionalDependencies': [
605 'wtsapi32.lib', 605 'wtsapi32.lib',
606 ], 606 ],
607 }, 607 },
608 }, 608 },
609 }, # end of target 'remoting_service' 609 }, # end of target 'remoting_service'
610 610
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 'client/plugin/pepper_view.cc', 862 'client/plugin/pepper_view.cc',
863 'client/plugin/pepper_view.h', 863 'client/plugin/pepper_view.h',
864 'client/plugin/pepper_util.cc', 864 'client/plugin/pepper_util.cc',
865 'client/plugin/pepper_util.h', 865 'client/plugin/pepper_util.h',
866 'client/plugin/pepper_xmpp_proxy.cc', 866 'client/plugin/pepper_xmpp_proxy.cc',
867 'client/plugin/pepper_xmpp_proxy.h', 867 'client/plugin/pepper_xmpp_proxy.h',
868 ], 868 ],
869 }, # end of target 'remoting_client_plugin' 869 }, # end of target 'remoting_client_plugin'
870 870
871 { 871 {
872 'target_name': 'remoting_host_event_logger',
Sergey Ulanov 2012/07/27 21:59:53 What's the reason this can't be part of remoting_h
alexeypa (please no reviews) 2012/07/27 22:10:44 1. We don't want this functionality to be present
873 'type': 'static_library',
874 'variables': { 'enable_wexit_time_destructors': 1, },
875 'dependencies': [
876 'remoting_base',
877 ],
878 'sources': [
879 'host/host_event_logger.h',
880 'host/host_event_logger_posix.cc',
881 'host/host_event_logger_win.cc',
882 ],
883 'conditions': [
884 ['OS=="win"', {
885 'sources': [
886 'host/remoting_host_messages.mc',
887 ],
888 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/host',
889 'include_dirs': [
890 '<(_output_dir)',
891 ],
892 'direct_dependent_settings': {
893 'include_dirs': [
894 '<(_output_dir)',
895 ],
896 },
897 # Rule to run the message compiler.
898 'rules': [
899 {
900 'rule_name': 'message_compiler',
901 'extension': 'mc',
902 'inputs': [ ],
903 'outputs': [
904 '<(_output_dir)/remoting_host_messages.h',
905 '<(_output_dir)/remoting_host_messages.rc',
906 ],
907 'msvs_cygwin_shell': 0,
908 'action': [
909 'mc.exe',
910 '-h', '<(_output_dir)',
911 '-r', '<(_output_dir)/.',
912 '<(RULE_INPUT_PATH)',
913 ],
914 'process_outputs_as_sources': 1,
915 'message': 'Running message compiler on <(RULE_INPUT_PATH).',
916 },
917 ],
918 }],
919 ], # end of 'conditions'
920 }, # end of target 'remoting_client'
Lambros 2012/07/27 16:52:26 nit: s/remoting_client/remoting_host_event_logger
921
922 {
872 'target_name': 'remoting_host_plugin', 923 'target_name': 'remoting_host_plugin',
873 'type': 'loadable_module', 924 'type': 'loadable_module',
874 'variables': { 'enable_wexit_time_destructors': 1, }, 925 'variables': { 'enable_wexit_time_destructors': 1, },
875 'product_extension': '<(host_plugin_extension)', 926 'product_extension': '<(host_plugin_extension)',
876 'product_prefix': '<(host_plugin_prefix)', 927 'product_prefix': '<(host_plugin_prefix)',
877 'dependencies': [ 928 'dependencies': [
878 'remoting_base', 929 'remoting_base',
879 'remoting_host', 930 'remoting_host',
931 'remoting_host_event_logger',
880 'remoting_jingle_glue', 932 'remoting_jingle_glue',
881 '../net/net.gyp:net', 933 '../net/net.gyp:net',
882 '../third_party/npapi/npapi.gyp:npapi', 934 '../third_party/npapi/npapi.gyp:npapi',
883 ], 935 ],
884 'sources': [ 936 'sources': [
885 'base/dispatch_win.h', 937 'base/dispatch_win.h',
886 'host/branding.cc', 938 'host/branding.cc',
887 'host/branding.h', 939 'host/branding.h',
888 'host/host_ui_resource.h', 940 'host/host_ui_resource.h',
889 'host/plugin/daemon_controller.h', 941 'host/plugin/daemon_controller.h',
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 'dependencies': [ 990 'dependencies': [
939 '../google_update/google_update.gyp:google_update', 991 '../google_update/google_update.gyp:google_update',
940 '../ipc/ipc.gyp:ipc', 992 '../ipc/ipc.gyp:ipc',
941 'remoting_elevated_controller', 993 'remoting_elevated_controller',
942 'remoting_version_resources', 994 'remoting_version_resources',
943 ], 995 ],
944 'include_dirs': [ 996 'include_dirs': [
945 '<(INTERMEDIATE_DIR)', 997 '<(INTERMEDIATE_DIR)',
946 ], 998 ],
947 'sources': [ 999 'sources': [
1000 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_version.rc',
948 'host/host_ui.rc', 1001 'host/host_ui.rc',
949 'host/plugin/host_plugin.def', 1002 'host/plugin/host_plugin.def',
950 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_version.rc'
951 ], 1003 ],
952 }], 1004 }],
953 ], 1005 ],
954 }, # end of target 'remoting_host_plugin' 1006 }, # end of target 'remoting_host_plugin'
955 1007
956 { 1008 {
957 'target_name': 'remoting_webapp', 1009 'target_name': 'remoting_webapp',
958 'type': 'none', 1010 'type': 'none',
959 'dependencies': [ 1011 'dependencies': [
960 'remoting_host_plugin', 1012 'remoting_host_plugin',
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 }, # end of target 'remoting_simple_host' 1403 }, # end of target 'remoting_simple_host'
1352 1404
1353 { 1405 {
1354 'target_name': 'remoting_me2me_host', 1406 'target_name': 'remoting_me2me_host',
1355 'type': 'executable', 1407 'type': 'executable',
1356 'variables': { 'enable_wexit_time_destructors': 1, }, 1408 'variables': { 'enable_wexit_time_destructors': 1, },
1357 'dependencies': [ 1409 'dependencies': [
1358 'remoting_base', 1410 'remoting_base',
1359 'remoting_breakpad', 1411 'remoting_breakpad',
1360 'remoting_host', 1412 'remoting_host',
1413 'remoting_host_event_logger',
1361 'remoting_jingle_glue', 1414 'remoting_jingle_glue',
1362 '../base/base.gyp:base', 1415 '../base/base.gyp:base',
1363 '../base/base.gyp:base_i18n', 1416 '../base/base.gyp:base_i18n',
1364 '../media/media.gyp:media', 1417 '../media/media.gyp:media',
1365 '../net/net.gyp:net', 1418 '../net/net.gyp:net',
1366 ], 1419 ],
1367 'sources': [ 1420 'sources': [
1368 'host/branding.cc', 1421 'host/branding.cc',
1369 'host/branding.h', 1422 'host/branding.h',
1370 'host/host_event_logger.h',
1371 'host/sighup_listener_mac.cc', 1423 'host/sighup_listener_mac.cc',
1372 'host/sighup_listener_mac.h', 1424 'host/sighup_listener_mac.h',
1373 'host/remoting_me2me_host.cc', 1425 'host/remoting_me2me_host.cc',
1374 'host/usage_stats_consent.h', 1426 'host/usage_stats_consent.h',
1375 'host/usage_stats_consent_win.cc', 1427 'host/usage_stats_consent_win.cc',
1376 ], 1428 ],
1377 'conditions': [ 1429 'conditions': [
1378 ['os_posix==1', {
1379 'sources': [
1380 'host/host_event_logger_posix.cc',
1381 ],
1382 }],
1383 ['OS=="mac"', { 1430 ['OS=="mac"', {
1384 'mac_bundle': 1, 1431 'mac_bundle': 1,
1385 'conditions': [ 1432 'conditions': [
1386 ['branding == "Chrome"', { 1433 ['branding == "Chrome"', {
1387 'variables': { 1434 'variables': {
1388 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me 2me_host', 1435 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me 2me_host',
1389 }, 1436 },
1390 }, { # else branding!="Chrome" 1437 }, { # else branding!="Chrome"
1391 'variables': { 1438 'variables': {
1392 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host', 1439 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host',
(...skipping 13 matching lines...) Expand all
1406 'mac_bundle_resources!': [ 1453 'mac_bundle_resources!': [
1407 'host/remoting_me2me_host-Info.plist', 1454 'host/remoting_me2me_host-Info.plist',
1408 ], 1455 ],
1409 }], 1456 }],
1410 ['OS=="win"', { 1457 ['OS=="win"', {
1411 'dependencies': [ 1458 'dependencies': [
1412 '../ipc/ipc.gyp:ipc', 1459 '../ipc/ipc.gyp:ipc',
1413 'remoting_version_resources', 1460 'remoting_version_resources',
1414 ], 1461 ],
1415 'sources': [ 1462 'sources': [
1416 'host/host_event_logger_win.cc', 1463 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc' ,
1464 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc' ,
1417 'host/host_ui.rc', 1465 'host/host_ui.rc',
1418 'host/remoting_host_messages.mc',
1419 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc'
1420 ],
1421 'include_dirs': [
1422 '<(INTERMEDIATE_DIR)',
1423 ],
1424 # Rule to run the message compiler.
1425 'rules': [
1426 {
1427 'rule_name': 'message_compiler',
1428 'extension': 'mc',
1429 'inputs': [ ],
1430 'outputs': [
1431 '<(INTERMEDIATE_DIR)/remoting_host_messages.h',
1432 '<(INTERMEDIATE_DIR)/remoting_host_messages.rc',
1433 ],
1434 'msvs_cygwin_shell': 0,
1435 'msvs_quote_cmd': 0,
1436 'action': [
1437 'mc.exe -h <(INTERMEDIATE_DIR) -r <(INTERMEDIATE_DIR) <(RULE_INP UT_PATH)',
1438 ],
1439 'process_outputs_as_sources': 1,
1440 'message': 'Running message compiler on <(RULE_INPUT_PATH).',
1441 },
1442 ], 1466 ],
1443 'link_settings': { 1467 'link_settings': {
1444 'libraries': [ 1468 'libraries': [
1445 '-lcomctl32.lib', 1469 '-lcomctl32.lib',
1446 ], 1470 ],
1447 }, 1471 },
1448 'msvs_settings': { 1472 'msvs_settings': {
1449 'VCLinkerTool': { 1473 'VCLinkerTool': {
1450 'AdditionalOptions': [ 1474 'AdditionalOptions': [
1451 "\"/manifestdependency:type='win32' " 1475 "\"/manifestdependency:type='win32' "
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
1785 '../base/allocator/allocator.gyp:allocator', 1809 '../base/allocator/allocator.gyp:allocator',
1786 ], 1810 ],
1787 }, 1811 },
1788 ], 1812 ],
1789 ], 1813 ],
1790 }], 1814 }],
1791 ], # end of 'conditions' 1815 ], # end of 'conditions'
1792 }, # end of target 'remoting_unittests' 1816 }, # end of target 'remoting_unittests'
1793 ], # end of targets 1817 ], # end of targets
1794 } 1818 }
OLDNEW
« remoting/host/plugin/host_script_object.cc ('K') | « remoting/host/plugin/host_script_object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698