OLD | NEW |
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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 '<(INTERMEDIATE_DIR)', | 535 '<(INTERMEDIATE_DIR)', |
536 ], | 536 ], |
537 'dependencies': [ | 537 'dependencies': [ |
538 '../base/base.gyp:base', | 538 '../base/base.gyp:base', |
539 'remoting_breakpad', | 539 'remoting_breakpad', |
540 'remoting_elevated_controller', | 540 'remoting_elevated_controller', |
541 'remoting_protocol', | 541 'remoting_protocol', |
542 'remoting_version_resources', | 542 'remoting_version_resources', |
543 ], | 543 ], |
544 'sources': [ | 544 'sources': [ |
| 545 '<(SHARED_INTERMEDIATE_DIR)/remoting/elevated_controller_version.rc'
, |
545 'host/branding.cc', | 546 'host/branding.cc', |
546 'host/branding.h', | 547 'host/branding.h', |
547 'host/elevated_controller.rc', | 548 'host/elevated_controller.rc', |
548 'host/elevated_controller_module_win.cc', | 549 'host/elevated_controller_module_win.cc', |
549 'host/elevated_controller_win.cc', | 550 'host/elevated_controller_win.cc', |
550 'host/elevated_controller_win.h', | 551 'host/elevated_controller_win.h', |
551 'host/pin_hash.cc', | 552 'host/pin_hash.cc', |
552 'host/pin_hash.h', | 553 'host/pin_hash.h', |
553 'host/usage_stats_consent.h', | 554 'host/usage_stats_consent.h', |
554 'host/usage_stats_consent_win.cc', | 555 'host/usage_stats_consent_win.cc', |
555 'host/verify_config_window_win.cc', | 556 'host/verify_config_window_win.cc', |
556 'host/verify_config_window_win.h', | 557 'host/verify_config_window_win.h', |
557 '<(SHARED_INTERMEDIATE_DIR)/remoting/elevated_controller_version.rc' | |
558 ], | 558 ], |
559 'link_settings': { | 559 'link_settings': { |
560 'libraries': [ | 560 'libraries': [ |
561 '-lcomctl32.lib', | 561 '-lcomctl32.lib', |
562 ], | 562 ], |
563 }, | 563 }, |
564 'msvs_settings': { | 564 'msvs_settings': { |
565 'VCLinkerTool': { | 565 'VCLinkerTool': { |
566 'AdditionalOptions': [ | 566 'AdditionalOptions': [ |
567 "\"/manifestdependency:type='win32' " | 567 "\"/manifestdependency:type='win32' " |
(...skipping 13 matching lines...) Expand all Loading... |
581 'variables': { 'enable_wexit_time_destructors': 1, }, | 581 'variables': { 'enable_wexit_time_destructors': 1, }, |
582 'dependencies': [ | 582 'dependencies': [ |
583 '../base/base.gyp:base', | 583 '../base/base.gyp:base', |
584 '../base/base.gyp:base_static', | 584 '../base/base.gyp:base_static', |
585 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 585 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
586 '../ipc/ipc.gyp:ipc', | 586 '../ipc/ipc.gyp:ipc', |
587 'remoting_breakpad', | 587 'remoting_breakpad', |
588 'remoting_version_resources', | 588 'remoting_version_resources', |
589 ], | 589 ], |
590 'sources': [ | 590 'sources': [ |
| 591 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_service_version.rc', |
591 'base/scoped_sc_handle_win.h', | 592 'base/scoped_sc_handle_win.h', |
592 'host/branding.cc', | 593 'host/branding.cc', |
593 'host/branding.h', | 594 'host/branding.h', |
594 'host/chromoting_messages.cc', | 595 'host/chromoting_messages.cc', |
595 'host/chromoting_messages.h', | 596 'host/chromoting_messages.h', |
596 'host/constants.h', | 597 'host/constants.h', |
597 'host/constants_win.cc', | 598 'host/constants_win.cc', |
598 'host/host_service.rc', | 599 'host/host_service.rc', |
599 'host/host_service_resource.h', | 600 'host/host_service_resource.h', |
600 'host/host_service_win.cc', | 601 'host/host_service_win.cc', |
601 'host/host_service_win.h', | 602 'host/host_service_win.h', |
602 'host/launch_process_in_session_win.cc', | 603 'host/launch_process_in_session_win.cc', |
603 'host/launch_process_in_session_win.h', | 604 'host/launch_process_in_session_win.h', |
604 'host/sas_injector.h', | 605 'host/sas_injector.h', |
605 'host/sas_injector_win.cc', | 606 'host/sas_injector_win.cc', |
606 'host/usage_stats_consent.h', | 607 'host/usage_stats_consent.h', |
607 'host/usage_stats_consent_win.cc', | 608 'host/usage_stats_consent_win.cc', |
608 'host/wts_console_monitor_win.h', | 609 'host/wts_console_monitor_win.h', |
609 'host/wts_console_observer_win.h', | 610 'host/wts_console_observer_win.h', |
610 'host/wts_session_process_launcher_win.cc', | 611 'host/wts_session_process_launcher_win.cc', |
611 'host/wts_session_process_launcher_win.h', | 612 'host/wts_session_process_launcher_win.h', |
612 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_service_version.rc' | |
613 ], | 613 ], |
614 'msvs_settings': { | 614 'msvs_settings': { |
615 'VCLinkerTool': { | 615 'VCLinkerTool': { |
616 'AdditionalDependencies': [ | 616 'AdditionalDependencies': [ |
617 'wtsapi32.lib', | 617 'wtsapi32.lib', |
618 ], | 618 ], |
619 }, | 619 }, |
620 }, | 620 }, |
621 }, # end of target 'remoting_service' | 621 }, # end of target 'remoting_service' |
622 | 622 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 'client/plugin/pepper_view.cc', | 874 'client/plugin/pepper_view.cc', |
875 'client/plugin/pepper_view.h', | 875 'client/plugin/pepper_view.h', |
876 'client/plugin/pepper_util.cc', | 876 'client/plugin/pepper_util.cc', |
877 'client/plugin/pepper_util.h', | 877 'client/plugin/pepper_util.h', |
878 'client/plugin/pepper_xmpp_proxy.cc', | 878 'client/plugin/pepper_xmpp_proxy.cc', |
879 'client/plugin/pepper_xmpp_proxy.h', | 879 'client/plugin/pepper_xmpp_proxy.h', |
880 ], | 880 ], |
881 }, # end of target 'remoting_client_plugin' | 881 }, # end of target 'remoting_client_plugin' |
882 | 882 |
883 { | 883 { |
| 884 'target_name': 'remoting_host_event_logger', |
| 885 'type': 'static_library', |
| 886 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 887 'dependencies': [ |
| 888 'remoting_base', |
| 889 ], |
| 890 'sources': [ |
| 891 'host/host_event_logger.h', |
| 892 'host/host_event_logger_posix.cc', |
| 893 'host/host_event_logger_win.cc', |
| 894 ], |
| 895 'conditions': [ |
| 896 ['OS=="win"', { |
| 897 'sources': [ |
| 898 'host/remoting_host_messages.mc', |
| 899 ], |
| 900 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/host', |
| 901 'include_dirs': [ |
| 902 '<(_output_dir)', |
| 903 ], |
| 904 'direct_dependent_settings': { |
| 905 'include_dirs': [ |
| 906 '<(_output_dir)', |
| 907 ], |
| 908 }, |
| 909 # Rule to run the message compiler. |
| 910 'rules': [ |
| 911 { |
| 912 'rule_name': 'message_compiler', |
| 913 'extension': 'mc', |
| 914 'inputs': [ ], |
| 915 'outputs': [ |
| 916 '<(_output_dir)/remoting_host_messages.h', |
| 917 '<(_output_dir)/remoting_host_messages.rc', |
| 918 ], |
| 919 'msvs_cygwin_shell': 0, |
| 920 'action': [ |
| 921 'mc.exe', |
| 922 '-h', '<(_output_dir)', |
| 923 '-r', '<(_output_dir)/.', |
| 924 '<(RULE_INPUT_PATH)', |
| 925 ], |
| 926 'process_outputs_as_sources': 1, |
| 927 'message': 'Running message compiler on <(RULE_INPUT_PATH).', |
| 928 }, |
| 929 ], |
| 930 }], |
| 931 ], # end of 'conditions' |
| 932 }, # end of target 'remoting_host_event_logger' |
| 933 |
| 934 { |
884 'target_name': 'remoting_host_plugin', | 935 'target_name': 'remoting_host_plugin', |
885 'type': 'loadable_module', | 936 'type': 'loadable_module', |
886 'variables': { 'enable_wexit_time_destructors': 1, }, | 937 'variables': { 'enable_wexit_time_destructors': 1, }, |
887 'product_extension': '<(host_plugin_extension)', | 938 'product_extension': '<(host_plugin_extension)', |
888 'product_prefix': '<(host_plugin_prefix)', | 939 'product_prefix': '<(host_plugin_prefix)', |
889 'dependencies': [ | 940 'dependencies': [ |
890 'remoting_base', | 941 'remoting_base', |
891 'remoting_host', | 942 'remoting_host', |
| 943 'remoting_host_event_logger', |
892 'remoting_jingle_glue', | 944 'remoting_jingle_glue', |
893 '../net/net.gyp:net', | 945 '../net/net.gyp:net', |
894 '../third_party/npapi/npapi.gyp:npapi', | 946 '../third_party/npapi/npapi.gyp:npapi', |
895 ], | 947 ], |
896 'sources': [ | 948 'sources': [ |
897 'base/dispatch_win.h', | 949 'base/dispatch_win.h', |
898 'host/branding.cc', | 950 'host/branding.cc', |
899 'host/branding.h', | 951 'host/branding.h', |
900 'host/host_ui_resource.h', | 952 'host/host_ui_resource.h', |
901 'host/plugin/daemon_controller.h', | 953 'host/plugin/daemon_controller.h', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 'dependencies': [ | 1002 'dependencies': [ |
951 '../google_update/google_update.gyp:google_update', | 1003 '../google_update/google_update.gyp:google_update', |
952 '../ipc/ipc.gyp:ipc', | 1004 '../ipc/ipc.gyp:ipc', |
953 'remoting_elevated_controller', | 1005 'remoting_elevated_controller', |
954 'remoting_version_resources', | 1006 'remoting_version_resources', |
955 ], | 1007 ], |
956 'include_dirs': [ | 1008 'include_dirs': [ |
957 '<(INTERMEDIATE_DIR)', | 1009 '<(INTERMEDIATE_DIR)', |
958 ], | 1010 ], |
959 'sources': [ | 1011 'sources': [ |
| 1012 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_version.rc', |
960 'host/host_ui.rc', | 1013 'host/host_ui.rc', |
961 'host/plugin/host_plugin.def', | 1014 'host/plugin/host_plugin.def', |
962 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_version.rc' | |
963 ], | 1015 ], |
964 }], | 1016 }], |
965 ], | 1017 ], |
966 }, # end of target 'remoting_host_plugin' | 1018 }, # end of target 'remoting_host_plugin' |
967 | 1019 |
968 { | 1020 { |
969 'target_name': 'remoting_webapp', | 1021 'target_name': 'remoting_webapp', |
970 'type': 'none', | 1022 'type': 'none', |
971 'dependencies': [ | 1023 'dependencies': [ |
972 'remoting_host_plugin', | 1024 'remoting_host_plugin', |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1364 }, # end of target 'remoting_simple_host' | 1416 }, # end of target 'remoting_simple_host' |
1365 | 1417 |
1366 { | 1418 { |
1367 'target_name': 'remoting_me2me_host', | 1419 'target_name': 'remoting_me2me_host', |
1368 'type': 'executable', | 1420 'type': 'executable', |
1369 'variables': { 'enable_wexit_time_destructors': 1, }, | 1421 'variables': { 'enable_wexit_time_destructors': 1, }, |
1370 'dependencies': [ | 1422 'dependencies': [ |
1371 'remoting_base', | 1423 'remoting_base', |
1372 'remoting_breakpad', | 1424 'remoting_breakpad', |
1373 'remoting_host', | 1425 'remoting_host', |
| 1426 'remoting_host_event_logger', |
1374 'remoting_jingle_glue', | 1427 'remoting_jingle_glue', |
1375 '../base/base.gyp:base', | 1428 '../base/base.gyp:base', |
1376 '../base/base.gyp:base_i18n', | 1429 '../base/base.gyp:base_i18n', |
1377 '../media/media.gyp:media', | 1430 '../media/media.gyp:media', |
1378 '../net/net.gyp:net', | 1431 '../net/net.gyp:net', |
1379 ], | 1432 ], |
1380 'sources': [ | 1433 'sources': [ |
1381 'host/branding.cc', | 1434 'host/branding.cc', |
1382 'host/branding.h', | 1435 'host/branding.h', |
1383 'host/host_event_logger.h', | |
1384 'host/sighup_listener_mac.cc', | 1436 'host/sighup_listener_mac.cc', |
1385 'host/sighup_listener_mac.h', | 1437 'host/sighup_listener_mac.h', |
1386 'host/remoting_me2me_host.cc', | 1438 'host/remoting_me2me_host.cc', |
1387 'host/usage_stats_consent.h', | 1439 'host/usage_stats_consent.h', |
1388 'host/usage_stats_consent_win.cc', | 1440 'host/usage_stats_consent_win.cc', |
1389 ], | 1441 ], |
1390 'conditions': [ | 1442 'conditions': [ |
1391 ['os_posix==1', { | |
1392 'sources': [ | |
1393 'host/host_event_logger_posix.cc', | |
1394 ], | |
1395 }], | |
1396 ['OS=="mac"', { | 1443 ['OS=="mac"', { |
1397 'mac_bundle': 1, | 1444 'mac_bundle': 1, |
1398 'conditions': [ | 1445 'conditions': [ |
1399 ['branding == "Chrome"', { | 1446 ['branding == "Chrome"', { |
1400 'variables': { | 1447 'variables': { |
1401 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me
2me_host', | 1448 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me
2me_host', |
1402 }, | 1449 }, |
1403 }, { # else branding!="Chrome" | 1450 }, { # else branding!="Chrome" |
1404 'variables': { | 1451 'variables': { |
1405 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host', | 1452 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host', |
(...skipping 13 matching lines...) Expand all Loading... |
1419 'mac_bundle_resources!': [ | 1466 'mac_bundle_resources!': [ |
1420 'host/remoting_me2me_host-Info.plist', | 1467 'host/remoting_me2me_host-Info.plist', |
1421 ], | 1468 ], |
1422 }], | 1469 }], |
1423 ['OS=="win"', { | 1470 ['OS=="win"', { |
1424 'dependencies': [ | 1471 'dependencies': [ |
1425 '../ipc/ipc.gyp:ipc', | 1472 '../ipc/ipc.gyp:ipc', |
1426 'remoting_version_resources', | 1473 'remoting_version_resources', |
1427 ], | 1474 ], |
1428 'sources': [ | 1475 'sources': [ |
1429 'host/host_event_logger_win.cc', | 1476 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, |
| 1477 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc'
, |
1430 'host/host_ui.rc', | 1478 'host/host_ui.rc', |
1431 'host/remoting_host_messages.mc', | |
1432 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc' | |
1433 ], | |
1434 'include_dirs': [ | |
1435 '<(INTERMEDIATE_DIR)', | |
1436 ], | |
1437 # Rule to run the message compiler. | |
1438 'rules': [ | |
1439 { | |
1440 'rule_name': 'message_compiler', | |
1441 'extension': 'mc', | |
1442 'inputs': [ ], | |
1443 'outputs': [ | |
1444 '<(INTERMEDIATE_DIR)/remoting_host_messages.h', | |
1445 '<(INTERMEDIATE_DIR)/remoting_host_messages.rc', | |
1446 ], | |
1447 'msvs_cygwin_shell': 0, | |
1448 'msvs_quote_cmd': 0, | |
1449 'action': [ | |
1450 'mc.exe -h <(INTERMEDIATE_DIR) -r <(INTERMEDIATE_DIR) <(RULE_INP
UT_PATH)', | |
1451 ], | |
1452 'process_outputs_as_sources': 1, | |
1453 'message': 'Running message compiler on <(RULE_INPUT_PATH).', | |
1454 }, | |
1455 ], | 1479 ], |
1456 'link_settings': { | 1480 'link_settings': { |
1457 'libraries': [ | 1481 'libraries': [ |
1458 '-lcomctl32.lib', | 1482 '-lcomctl32.lib', |
1459 ], | 1483 ], |
1460 }, | 1484 }, |
1461 'msvs_settings': { | 1485 'msvs_settings': { |
1462 'VCLinkerTool': { | 1486 'VCLinkerTool': { |
1463 'AdditionalOptions': [ | 1487 'AdditionalOptions': [ |
1464 "\"/manifestdependency:type='win32' " | 1488 "\"/manifestdependency:type='win32' " |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1808 '../base/allocator/allocator.gyp:allocator', | 1832 '../base/allocator/allocator.gyp:allocator', |
1809 ], | 1833 ], |
1810 }, | 1834 }, |
1811 ], | 1835 ], |
1812 ], | 1836 ], |
1813 }], | 1837 }], |
1814 ], # end of 'conditions' | 1838 ], # end of 'conditions' |
1815 }, # end of target 'remoting_unittests' | 1839 }, # end of target 'remoting_unittests' |
1816 ], # end of targets | 1840 ], # end of targets |
1817 } | 1841 } |
OLD | NEW |