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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 | 8 |
9 'variables': { | 9 'variables': { |
10 'conditions': [ | 10 'conditions': [ |
11 # Enable the multi-process host on Windows by default. | 11 # Enable the multi-process host on Windows by default. |
12 ['OS=="win"', { | 12 ['OS=="win"', { |
13 'remoting_multi_process%': 1, | 13 'remoting_multi_process%': 1, |
14 }, { | 14 }, { |
15 'remoting_multi_process%': 0, | 15 'remoting_multi_process%': 0, |
16 }], | 16 }], |
17 ], | 17 ], |
18 }, | 18 }, |
19 | 19 |
20 'remoting_multi_process%': '<(remoting_multi_process)', | 20 'remoting_multi_process%': '<(remoting_multi_process)', |
21 'remoting_rdp_session%': 1, | 21 'remoting_rdp_session%': 1, |
22 | 22 |
| 23 'localize_py_path': 'tools/localize.py', |
| 24 |
23 # The |major|, |build| and |patch| versions are inherited from Chrome. | 25 # The |major|, |build| and |patch| versions are inherited from Chrome. |
24 # Since Chrome's |minor| version is always '0', we replace it with a | 26 # Since Chrome's |minor| version is always '0', we replace it with a |
25 # Chromoting-specific patch version. | 27 # Chromoting-specific patch version. |
26 # Note that we check both the |chrome_version_path| file and the | 28 # Note that we check both the |chrome_version_path| file and the |
27 # |remoting_version_path| so that we can override the Chrome version | 29 # |remoting_version_path| so that we can override the Chrome version |
28 # numbers if needed. | 30 # numbers if needed. |
29 'version_py_path': '../chrome/tools/build/version.py', | 31 'version_py_path': '../chrome/tools/build/version.py', |
30 'remoting_version_path': '../remoting/VERSION', | 32 'remoting_version_path': '../remoting/VERSION', |
31 'chrome_version_path': '../chrome/VERSION', | 33 'chrome_version_path': '../chrome/VERSION', |
32 'version_major': | 34 'version_major': |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 # classes will be used during/after upgrade even if there are old | 93 # classes will be used during/after upgrade even if there are old |
92 # instances running already. | 94 # instances running already. |
93 # The parameter passed to uuidgen.py is ignored, but needed to make sure | 95 # The parameter passed to uuidgen.py is ignored, but needed to make sure |
94 # that the script will be invoked separately for each CLSID. Otherwise | 96 # that the script will be invoked separately for each CLSID. Otherwise |
95 # GYP will reuse the value returned by the first invocation of | 97 # GYP will reuse the value returned by the first invocation of |
96 # the script. | 98 # the script. |
97 'daemon_controller_clsid': '<!(python tools/uuidgen.py 1)', | 99 'daemon_controller_clsid': '<!(python tools/uuidgen.py 1)', |
98 'rdp_desktop_session_clsid': '<!(python tools/uuidgen.py 2)', | 100 'rdp_desktop_session_clsid': '<!(python tools/uuidgen.py 2)', |
99 }], | 101 }], |
100 ], | 102 ], |
| 103 'remoting_languages': [ |
| 104 '-l', 'ar', |
| 105 '-l', 'bg', |
| 106 '-l', 'ca', |
| 107 '-l', 'cs', |
| 108 '-l', 'da', |
| 109 '-l', 'de', |
| 110 '-l', 'el', |
| 111 '-l', 'en', |
| 112 '-l', 'en_GB', |
| 113 '-l', 'es', |
| 114 '-l', 'es_419', |
| 115 '-l', 'et', |
| 116 '-l', 'fi', |
| 117 '-l', 'fil', |
| 118 '-l', 'fr', |
| 119 '-l', 'he', |
| 120 '-l', 'hi', |
| 121 '-l', 'hr', |
| 122 '-l', 'hu', |
| 123 '-l', 'id', |
| 124 '-l', 'it', |
| 125 '-l', 'ja', |
| 126 '-l', 'ko', |
| 127 '-l', 'lt', |
| 128 '-l', 'lv', |
| 129 '-l', 'nb', |
| 130 '-l', 'nl', |
| 131 '-l', 'pl', |
| 132 '-l', 'pt_BR', |
| 133 '-l', 'pt_PT', |
| 134 '-l', 'ro', |
| 135 '-l', 'ru', |
| 136 '-l', 'sk', |
| 137 '-l', 'sl', |
| 138 '-l', 'sr', |
| 139 '-l', 'sv', |
| 140 '-l', 'th', |
| 141 '-l', 'tr', |
| 142 '-l', 'uk', |
| 143 '-l', 'vi', |
| 144 '-l', 'zh_CN', |
| 145 '-l', 'zh_TW', |
| 146 ], |
101 'remoting_webapp_locale_files': [ | 147 'remoting_webapp_locale_files': [ |
102 '<(webapp_locale_dir)/ar/messages.json', | 148 '<(webapp_locale_dir)/ar/messages.json', |
103 '<(webapp_locale_dir)/bg/messages.json', | 149 '<(webapp_locale_dir)/bg/messages.json', |
104 '<(webapp_locale_dir)/ca/messages.json', | 150 '<(webapp_locale_dir)/ca/messages.json', |
105 '<(webapp_locale_dir)/cs/messages.json', | 151 '<(webapp_locale_dir)/cs/messages.json', |
106 '<(webapp_locale_dir)/da/messages.json', | 152 '<(webapp_locale_dir)/da/messages.json', |
107 '<(webapp_locale_dir)/de/messages.json', | 153 '<(webapp_locale_dir)/de/messages.json', |
108 '<(webapp_locale_dir)/el/messages.json', | 154 '<(webapp_locale_dir)/el/messages.json', |
109 '<(webapp_locale_dir)/en/messages.json', | 155 '<(webapp_locale_dir)/en/messages.json', |
110 '<(webapp_locale_dir)/en_GB/messages.json', | 156 '<(webapp_locale_dir)/en_GB/messages.json', |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 'host/installer/win/parameters.json', | 288 'host/installer/win/parameters.json', |
243 ], | 289 ], |
244 }, | 290 }, |
245 | 291 |
246 'includes': [ | 292 'includes': [ |
247 '../chrome/js_unittest_vars.gypi', | 293 '../chrome/js_unittest_vars.gypi', |
248 ], | 294 ], |
249 | 295 |
250 'target_defaults': { | 296 'target_defaults': { |
251 'defines': [ | 297 'defines': [ |
| 298 'BINARY_CORE=1', |
| 299 'BINARY_DESKTOP=2', |
| 300 'BINARY_HOST_ME2ME=3', |
| 301 'BINARY_HOST_PLUGIN=4', |
252 ], | 302 ], |
253 'include_dirs': [ | 303 'include_dirs': [ |
254 '..', # Root of Chrome checkout | 304 '..', # Root of Chrome checkout |
255 ], | 305 ], |
256 'variables': { | 306 'variables': { |
257 'win_debug_RuntimeChecks': '0', | 307 'win_debug_RuntimeChecks': '0', |
258 }, | 308 }, |
259 'conditions': [ | 309 'conditions': [ |
260 ['OS=="mac" and mac_breakpad==1', { | 310 ['OS=="mac" and mac_breakpad==1', { |
261 'defines': [ | 311 'defines': [ |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 ], | 702 ], |
653 }, # end of target 'remoting_host_setup_base' | 703 }, # end of target 'remoting_host_setup_base' |
654 | 704 |
655 { | 705 { |
656 'target_name': 'remoting_host_plugin', | 706 'target_name': 'remoting_host_plugin', |
657 'type': 'loadable_module', | 707 'type': 'loadable_module', |
658 'variables': { 'enable_wexit_time_destructors': 1, }, | 708 'variables': { 'enable_wexit_time_destructors': 1, }, |
659 'product_extension': '<(host_plugin_extension)', | 709 'product_extension': '<(host_plugin_extension)', |
660 'product_prefix': '<(host_plugin_prefix)', | 710 'product_prefix': '<(host_plugin_prefix)', |
661 'dependencies': [ | 711 'dependencies': [ |
| 712 '../net/net.gyp:net', |
| 713 '../third_party/npapi/npapi.gyp:npapi', |
662 'remoting_base', | 714 'remoting_base', |
663 'remoting_host', | 715 'remoting_host', |
664 'remoting_host_event_logger', | 716 'remoting_host_event_logger', |
665 'remoting_host_logging', | 717 'remoting_host_logging', |
666 'remoting_host_setup_base', | 718 'remoting_host_setup_base', |
667 'remoting_jingle_glue', | 719 'remoting_jingle_glue', |
668 '../net/net.gyp:net', | |
669 '../third_party/npapi/npapi.gyp:npapi', | |
670 ], | 720 ], |
671 'sources': [ | 721 'sources': [ |
| 722 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', |
| 723 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
672 'base/dispatch_win.h', | 724 'base/dispatch_win.h', |
673 'host/win/core_resource.h', | |
674 'host/plugin/host_log_handler.cc', | 725 'host/plugin/host_log_handler.cc', |
675 'host/plugin/host_log_handler.h', | 726 'host/plugin/host_log_handler.h', |
676 'host/plugin/host_plugin.cc', | 727 'host/plugin/host_plugin.cc', |
677 'host/plugin/host_plugin_utils.cc', | 728 'host/plugin/host_plugin_utils.cc', |
678 'host/plugin/host_plugin_utils.h', | 729 'host/plugin/host_plugin_utils.h', |
679 'host/plugin/host_script_object.cc', | 730 'host/plugin/host_script_object.cc', |
680 'host/plugin/host_script_object.h', | 731 'host/plugin/host_script_object.h', |
| 732 'host/win/core_resource.h', |
681 ], | 733 ], |
682 'conditions': [ | 734 'conditions': [ |
683 ['OS=="mac"', { | 735 ['OS=="mac"', { |
684 'mac_bundle': 1, | 736 'mac_bundle': 1, |
685 'xcode_settings': { | 737 'xcode_settings': { |
686 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 738 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
687 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', | 739 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', |
688 'INFOPLIST_PREPROCESS': 'YES', | 740 'INFOPLIST_PREPROCESS': 'YES', |
689 # TODO(maruel): Use INFOPLIST_PREFIX_HEADER to remove the need t
o | 741 # TODO(maruel): Use INFOPLIST_PREFIX_HEADER to remove the need t
o |
690 # duplicate string once | 742 # duplicate string once |
(...skipping 17 matching lines...) Expand all Loading... |
708 ['mac_breakpad==1', { | 760 ['mac_breakpad==1', { |
709 'variables': { | 761 'variables': { |
710 # A real .dSYM is needed for dump_syms to operate on. | 762 # A real .dSYM is needed for dump_syms to operate on. |
711 'mac_real_dsym': 1, | 763 'mac_real_dsym': 1, |
712 }, | 764 }, |
713 }], | 765 }], |
714 ], # conditions | 766 ], # conditions |
715 }], # OS=="mac" | 767 }], # OS=="mac" |
716 [ 'OS=="win"', { | 768 [ 'OS=="win"', { |
717 'defines': [ | 769 'defines': [ |
| 770 'BINARY=BINARY_HOST_PLUGIN', |
718 'ISOLATION_AWARE_ENABLED=1', | 771 'ISOLATION_AWARE_ENABLED=1', |
719 ], | 772 ], |
720 'dependencies': [ | 773 'dependencies': [ |
721 'remoting_lib_idl', | 774 'remoting_lib_idl', |
| 775 'remoting_core_resources', |
722 'remoting_version_resources', | 776 'remoting_version_resources', |
723 ], | 777 ], |
724 'include_dirs': [ | 778 'include_dirs': [ |
725 '<(INTERMEDIATE_DIR)', | 779 '<(INTERMEDIATE_DIR)', |
726 ], | 780 ], |
727 'sources': [ | 781 'sources': [ |
728 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_plugin_versio
n.rc', | |
729 'host/win/core.rc', | |
730 'host/plugin/host_plugin.def', | 782 'host/plugin/host_plugin.def', |
731 ], | 783 ], |
732 }], | 784 }], |
733 ], | 785 ], |
734 }, # end of target 'remoting_host_plugin' | 786 }, # end of target 'remoting_host_plugin' |
735 | 787 |
736 { | 788 { |
737 'target_name': 'remoting_native_messaging_host', | 789 'target_name': 'remoting_native_messaging_host', |
738 'type': 'executable', | 790 'type': 'executable', |
739 'variables': { 'enable_wexit_time_destructors': 1, }, | 791 'variables': { 'enable_wexit_time_destructors': 1, }, |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 }, | 1388 }, |
1337 }, | 1389 }, |
1338 }, # end of target 'remoting_configurer' | 1390 }, # end of target 'remoting_configurer' |
1339 # The only difference between |remoting_console.exe| and | 1391 # The only difference between |remoting_console.exe| and |
1340 # |remoting_host.exe| is that the former is a console application. | 1392 # |remoting_host.exe| is that the former is a console application. |
1341 # |remoting_console.exe| is used for debugging purposes. | 1393 # |remoting_console.exe| is used for debugging purposes. |
1342 { | 1394 { |
1343 'target_name': 'remoting_console', | 1395 'target_name': 'remoting_console', |
1344 'type': 'executable', | 1396 'type': 'executable', |
1345 'variables': { 'enable_wexit_time_destructors': 1, }, | 1397 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 1398 'defines': [ |
| 1399 'BINARY=BINARY_HOST_ME2ME', |
| 1400 ], |
1346 'dependencies': [ | 1401 'dependencies': [ |
1347 'remoting_core', | 1402 'remoting_core', |
1348 'remoting_version_resources', | 1403 'remoting_version_resources', |
1349 ], | 1404 ], |
1350 'sources': [ | 1405 'sources': [ |
1351 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_version.rc', | 1406 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1352 'host/win/entry_point.cc', | 1407 'host/win/entry_point.cc', |
1353 ], | 1408 ], |
1354 'msvs_settings': { | 1409 'msvs_settings': { |
1355 'VCLinkerTool': { | 1410 'VCLinkerTool': { |
1356 'EntryPointSymbol': 'HostEntryPoint', | 1411 'EntryPointSymbol': 'HostEntryPoint', |
1357 'IgnoreAllDefaultLibraries': 'true', | 1412 'IgnoreAllDefaultLibraries': 'true', |
1358 'SubSystem': '1', # /SUBSYSTEM:CONSOLE | 1413 'SubSystem': '1', # /SUBSYSTEM:CONSOLE |
1359 }, | 1414 }, |
1360 }, | 1415 }, |
1361 }, # end of target 'remoting_console' | 1416 }, # end of target 'remoting_console' |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1394 }, # end of target 'remoting_console_manifest' | 1449 }, # end of target 'remoting_console_manifest' |
1395 { | 1450 { |
1396 'target_name': 'remoting_core', | 1451 'target_name': 'remoting_core', |
1397 'type': 'shared_library', | 1452 'type': 'shared_library', |
1398 'variables': { 'enable_wexit_time_destructors': 1, }, | 1453 'variables': { 'enable_wexit_time_destructors': 1, }, |
1399 'defines' : [ | 1454 'defines' : [ |
1400 '_ATL_APARTMENT_THREADED', | 1455 '_ATL_APARTMENT_THREADED', |
1401 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', | 1456 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', |
1402 '_ATL_NO_AUTOMATIC_NAMESPACE', | 1457 '_ATL_NO_AUTOMATIC_NAMESPACE', |
1403 '_ATL_NO_EXCEPTIONS', | 1458 '_ATL_NO_EXCEPTIONS', |
| 1459 'BINARY=BINARY_CORE', |
1404 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"', | 1460 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"', |
1405 'RDP_DESKTOP_SESSION_CLSID="{<(rdp_desktop_session_clsid)}"', | 1461 'RDP_DESKTOP_SESSION_CLSID="{<(rdp_desktop_session_clsid)}"', |
1406 'HOST_IMPLEMENTATION', | 1462 'HOST_IMPLEMENTATION', |
1407 'ISOLATION_AWARE_ENABLED=1', | 1463 'ISOLATION_AWARE_ENABLED=1', |
1408 'STRICT', | 1464 'STRICT', |
1409 'VERSION=<(version_full)', | 1465 'VERSION=<(version_full)', |
1410 ], | 1466 ], |
1411 'dependencies': [ | 1467 'dependencies': [ |
1412 '../base/base.gyp:base', | 1468 '../base/base.gyp:base', |
1413 '../base/base.gyp:base_static', | 1469 '../base/base.gyp:base_static', |
1414 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 1470 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
1415 '../ipc/ipc.gyp:ipc', | 1471 '../ipc/ipc.gyp:ipc', |
1416 '../net/net.gyp:net', | 1472 '../net/net.gyp:net', |
1417 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | 1473 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
| 1474 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
1418 'remoting_base', | 1475 'remoting_base', |
1419 'remoting_breakpad', | 1476 'remoting_breakpad', |
| 1477 'remoting_core_resources', |
1420 'remoting_host', | 1478 'remoting_host', |
1421 'remoting_host_event_logger', | 1479 'remoting_host_event_logger', |
1422 'remoting_host_logging', | 1480 'remoting_host_logging', |
1423 'remoting_lib_idl', | 1481 'remoting_lib_idl', |
1424 'remoting_lib_ps', | 1482 'remoting_lib_ps', |
1425 'remoting_lib_rc', | 1483 'remoting_lib_rc', |
1426 'remoting_me2me_host_static', | 1484 'remoting_me2me_host_static', |
1427 'remoting_protocol', | 1485 'remoting_protocol', |
1428 'remoting_version_resources', | 1486 'remoting_version_resources', |
1429 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | |
1430 ], | 1487 ], |
1431 'sources': [ | 1488 'sources': [ |
| 1489 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc', |
1432 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', | 1490 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', |
1433 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, | 1491 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, |
1434 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_core_version.rc', | 1492 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1435 'host/chromoting_messages.cc', | 1493 'host/chromoting_messages.cc', |
1436 'host/chromoting_messages.h', | 1494 'host/chromoting_messages.h', |
1437 'host/config_file_watcher.cc', | 1495 'host/config_file_watcher.cc', |
1438 'host/config_file_watcher.h', | 1496 'host/config_file_watcher.h', |
1439 'host/daemon_process.cc', | 1497 'host/daemon_process.cc', |
1440 'host/daemon_process.h', | 1498 'host/daemon_process.h', |
1441 'host/daemon_process_win.cc', | 1499 'host/daemon_process_win.cc', |
1442 'host/desktop_process.cc', | 1500 'host/desktop_process.cc', |
1443 'host/desktop_process.h', | 1501 'host/desktop_process.h', |
1444 'host/desktop_process_main.cc', | 1502 'host/desktop_process_main.cc', |
(...skipping 10 matching lines...) Expand all Loading... |
1455 'host/ipc_constants.cc', | 1513 'host/ipc_constants.cc', |
1456 'host/ipc_constants.h', | 1514 'host/ipc_constants.h', |
1457 'host/remoting_me2me_host.cc', | 1515 'host/remoting_me2me_host.cc', |
1458 'host/sas_injector.h', | 1516 'host/sas_injector.h', |
1459 'host/sas_injector_win.cc', | 1517 'host/sas_injector_win.cc', |
1460 'host/verify_config_window_win.cc', | 1518 'host/verify_config_window_win.cc', |
1461 'host/verify_config_window_win.h', | 1519 'host/verify_config_window_win.h', |
1462 'host/win/chromoting_module.cc', | 1520 'host/win/chromoting_module.cc', |
1463 'host/win/chromoting_module.h', | 1521 'host/win/chromoting_module.h', |
1464 'host/win/core.cc', | 1522 'host/win/core.cc', |
1465 'host/win/core.rc', | |
1466 'host/win/core_resource.h', | 1523 'host/win/core_resource.h', |
1467 'host/win/elevated_controller.cc', | 1524 'host/win/elevated_controller.cc', |
1468 'host/win/elevated_controller.h', | 1525 'host/win/elevated_controller.h', |
1469 'host/win/host_service.cc', | 1526 'host/win/host_service.cc', |
1470 'host/win/host_service.h', | 1527 'host/win/host_service.h', |
1471 'host/win/omaha.cc', | 1528 'host/win/omaha.cc', |
1472 'host/win/omaha.h', | 1529 'host/win/omaha.h', |
1473 'host/win/rdp_desktop_session.cc', | 1530 'host/win/rdp_desktop_session.cc', |
1474 'host/win/rdp_desktop_session.h', | 1531 'host/win/rdp_desktop_session.h', |
1475 'host/win/unprivileged_process_delegate.cc', | 1532 'host/win/unprivileged_process_delegate.cc', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1528 '-nologo', | 1585 '-nologo', |
1529 '-manifest', | 1586 '-manifest', |
1530 '<@(_manifests)', | 1587 '<@(_manifests)', |
1531 '-outputresource:<(_binary);#2', | 1588 '-outputresource:<(_binary);#2', |
1532 '-out:<(_binary).embedded.manifest', | 1589 '-out:<(_binary).embedded.manifest', |
1533 ], | 1590 ], |
1534 }, | 1591 }, |
1535 ], # actions | 1592 ], # actions |
1536 }, # end of target 'remoting_core_manifest' | 1593 }, # end of target 'remoting_core_manifest' |
1537 { | 1594 { |
| 1595 'target_name': 'remoting_core_resources', |
| 1596 'type': 'none', |
| 1597 'dependencies': [ |
| 1598 'remoting_resources', |
| 1599 ], |
| 1600 'hard_dependency': 1, |
| 1601 'direct_dependent_settings': { |
| 1602 'include_dirs': [ |
| 1603 '<(SHARED_INTERMEDIATE_DIR)', |
| 1604 ], |
| 1605 }, |
| 1606 'sources': [ |
| 1607 'host/win/core.rc.jinja2' |
| 1608 ], |
| 1609 'rules': [ |
| 1610 { |
| 1611 'rule_name': 'version', |
| 1612 'extension': 'jinja2', |
| 1613 'outputs': [ |
| 1614 '<(SHARED_INTERMEDIATE_DIR)/remoting/core.rc' |
| 1615 ], |
| 1616 'action': [ |
| 1617 'python', |
| 1618 '<(localize_py_path)', |
| 1619 '<@(remoting_languages)', |
| 1620 '--messages_path', '<(webapp_locale_dir)', |
| 1621 '<(RULE_INPUT_PATH)', |
| 1622 '<@(_outputs)', |
| 1623 ], |
| 1624 'message': 'Localizing the dialogs and strings' |
| 1625 }, |
| 1626 ], |
| 1627 }, # end of target 'remoting_core_resources' |
| 1628 { |
1538 'target_name': 'remoting_desktop', | 1629 'target_name': 'remoting_desktop', |
1539 'type': 'executable', | 1630 'type': 'executable', |
1540 'variables': { 'enable_wexit_time_destructors': 1, }, | 1631 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 1632 'defines': [ |
| 1633 'BINARY=BINARY_DESKTOP', |
| 1634 ], |
1541 'dependencies': [ | 1635 'dependencies': [ |
1542 'remoting_core', | 1636 'remoting_core', |
1543 'remoting_version_resources', | 1637 'remoting_version_resources', |
1544 ], | 1638 ], |
1545 'sources': [ | 1639 'sources': [ |
1546 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_desktop_version.rc', | 1640 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1547 'host/win/entry_point.cc', | 1641 'host/win/entry_point.cc', |
1548 ], | 1642 ], |
1549 'msvs_settings': { | 1643 'msvs_settings': { |
1550 'VCLinkerTool': { | 1644 'VCLinkerTool': { |
1551 'EntryPointSymbol': 'HostEntryPoint', | 1645 'EntryPointSymbol': 'HostEntryPoint', |
1552 'IgnoreAllDefaultLibraries': 'true', | 1646 'IgnoreAllDefaultLibraries': 'true', |
1553 'SubSystem': '2', # /SUBSYSTEM:WINDOWS | 1647 'SubSystem': '2', # /SUBSYSTEM:WINDOWS |
1554 }, | 1648 }, |
1555 }, | 1649 }, |
1556 }, # end of target 'remoting_desktop' | 1650 }, # end of target 'remoting_desktop' |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1595 '-out:<(_binary).embedded.manifest', | 1689 '-out:<(_binary).embedded.manifest', |
1596 ], | 1690 ], |
1597 }, | 1691 }, |
1598 ], # actions | 1692 ], # actions |
1599 }, # end of target 'remoting_desktop_manifest' | 1693 }, # end of target 'remoting_desktop_manifest' |
1600 { | 1694 { |
1601 'target_name': 'remoting_host_exe', | 1695 'target_name': 'remoting_host_exe', |
1602 'product_name': 'remoting_host', | 1696 'product_name': 'remoting_host', |
1603 'type': 'executable', | 1697 'type': 'executable', |
1604 'variables': { 'enable_wexit_time_destructors': 1, }, | 1698 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 1699 'defines': [ |
| 1700 'BINARY=BINARY_HOST_ME2ME', |
| 1701 ], |
1605 'dependencies': [ | 1702 'dependencies': [ |
1606 'remoting_core', | 1703 'remoting_core', |
1607 'remoting_version_resources', | 1704 'remoting_version_resources', |
1608 ], | 1705 ], |
1609 'sources': [ | 1706 'sources': [ |
1610 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_host_version.rc', | 1707 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1611 'host/win/entry_point.cc', | 1708 'host/win/entry_point.cc', |
1612 ], | 1709 ], |
1613 'msvs_settings': { | 1710 'msvs_settings': { |
1614 'VCLinkerTool': { | 1711 'VCLinkerTool': { |
1615 'EntryPointSymbol': 'HostEntryPoint', | 1712 'EntryPointSymbol': 'HostEntryPoint', |
1616 'IgnoreAllDefaultLibraries': 'true', | 1713 'IgnoreAllDefaultLibraries': 'true', |
1617 'ImportLibrary': '$(OutDir)\\lib\\remoting_host_exe.lib', | 1714 'ImportLibrary': '$(OutDir)\\lib\\remoting_host_exe.lib', |
1618 'OutputFile': '$(OutDir)\\remoting_host.exe', | 1715 'OutputFile': '$(OutDir)\\remoting_host.exe', |
1619 'SubSystem': '2', # /SUBSYSTEM:WINDOWS | 1716 'SubSystem': '2', # /SUBSYSTEM:WINDOWS |
1620 }, | 1717 }, |
(...skipping 25 matching lines...) Expand all Loading... |
1646 'mt', | 1743 'mt', |
1647 '-nologo', | 1744 '-nologo', |
1648 '-manifest', | 1745 '-manifest', |
1649 '<@(_manifests)', | 1746 '<@(_manifests)', |
1650 '-outputresource:<(_binary);#1', | 1747 '-outputresource:<(_binary);#1', |
1651 '-out:<(_binary).embedded.manifest', | 1748 '-out:<(_binary).embedded.manifest', |
1652 ], | 1749 ], |
1653 }, | 1750 }, |
1654 ], # actions | 1751 ], # actions |
1655 }, # end of target 'remoting_host_manifest' | 1752 }, # end of target 'remoting_host_manifest' |
1656 | 1753 { |
| 1754 'target_name': 'remoting_host_messages', |
| 1755 'type': 'none', |
| 1756 'dependencies': [ |
| 1757 'remoting_resources', |
| 1758 ], |
| 1759 'hard_dependency': 1, |
| 1760 'direct_dependent_settings': { |
| 1761 'include_dirs': [ |
| 1762 '<(SHARED_INTERMEDIATE_DIR)', |
| 1763 ], |
| 1764 }, |
| 1765 'sources': [ |
| 1766 'host/win/host_messages.mc.jinja2' |
| 1767 ], |
| 1768 'rules': [ |
| 1769 { |
| 1770 'rule_name': 'localize', |
| 1771 'extension': 'jinja2', |
| 1772 'outputs': [ |
| 1773 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages
.mc', |
| 1774 ], |
| 1775 'action': [ |
| 1776 'python', |
| 1777 '<(localize_py_path)', |
| 1778 '<@(remoting_languages)', |
| 1779 '--messages_path', '<(webapp_locale_dir)', |
| 1780 '<(RULE_INPUT_PATH)', |
| 1781 '<@(_outputs)', |
| 1782 ], |
| 1783 'message': 'Localizing the event log messages' |
| 1784 }, |
| 1785 ], |
| 1786 }, # end of target 'remoting_host_messages' |
1657 { | 1787 { |
1658 'target_name': 'remoting_host_plugin_manifest', | 1788 'target_name': 'remoting_host_plugin_manifest', |
1659 'type': 'none', | 1789 'type': 'none', |
1660 'dependencies': [ | 1790 'dependencies': [ |
1661 'remoting_host_plugin', | 1791 'remoting_host_plugin', |
1662 ], | 1792 ], |
1663 'hard_dependency': '1', | 1793 'hard_dependency': '1', |
1664 'msvs_cygwin_shell': 0, | 1794 'msvs_cygwin_shell': 0, |
1665 'actions': [ | 1795 'actions': [ |
1666 { | 1796 { |
(...skipping 14 matching lines...) Expand all Loading... |
1681 '-nologo', | 1811 '-nologo', |
1682 '-manifest', | 1812 '-manifest', |
1683 '<@(_manifests)', | 1813 '<@(_manifests)', |
1684 '-outputresource:<(_binary);#2', | 1814 '-outputresource:<(_binary);#2', |
1685 '-out:<(_binary).embedded.manifest', | 1815 '-out:<(_binary).embedded.manifest', |
1686 ], | 1816 ], |
1687 }, | 1817 }, |
1688 ], # actions | 1818 ], # actions |
1689 }, # end of target 'remoting_host_plugin_manifest' | 1819 }, # end of target 'remoting_host_plugin_manifest' |
1690 | 1820 |
1691 # Generates the version information resources for the Windows binaries. | 1821 # Generates localized the version information resources for the Windows |
1692 # The .RC files are generated from the "version.rc.version" template and | 1822 # binaries. |
1693 # placed in the "<(SHARED_INTERMEDIATE_DIR)/remoting" folder. | |
1694 # The substitution strings are taken from: | 1823 # The substitution strings are taken from: |
1695 # - build/util/LASTCHANGE - the last source code revision. | 1824 # - build/util/LASTCHANGE - the last source code revision. |
1696 # - chrome/VERSION - the major, build & patch versions. | 1825 # - chrome/VERSION - the major, build & patch versions. |
1697 # - remoting/VERSION - the chromoting patch version (and overrides | 1826 # - remoting/VERSION - the chromoting patch version (and overrides |
1698 # for chrome/VERSION). | 1827 # for chrome/VERSION). |
1699 # - (branding_path) - UI/localizable strings. | 1828 # - translated webapp strings |
1700 # - xxx.ver - per-binary non-localizable strings such as the binary | |
1701 # name. | |
1702 { | 1829 { |
1703 'target_name': 'remoting_version_resources', | 1830 'target_name': 'remoting_version_resources', |
1704 'type': 'none', | 1831 'type': 'none', |
1705 'inputs': [ | 1832 'dependencies': [ |
1706 '<(branding_path)', | 1833 'remoting_resources', |
1707 'version.rc.version', | |
1708 '<(DEPTH)/build/util/LASTCHANGE', | |
1709 '<(remoting_version_path)', | |
1710 '<(chrome_version_path)', | |
1711 ], | 1834 ], |
| 1835 'hard_dependency': 1, |
1712 'direct_dependent_settings': { | 1836 'direct_dependent_settings': { |
1713 'include_dirs': [ | 1837 'include_dirs': [ |
1714 '<(SHARED_INTERMEDIATE_DIR)/remoting', | 1838 '<(SHARED_INTERMEDIATE_DIR)', |
1715 ], | 1839 ], |
1716 }, | 1840 }, |
1717 'sources': [ | 1841 'sources': [ |
1718 'host/plugin/remoting_host_plugin.ver', | 1842 'host/win/version.rc.jinja2' |
1719 'host/win/remoting_core.ver', | |
1720 'host/win/remoting_desktop.ver', | |
1721 'host/win/remoting_host.ver', | |
1722 ], | 1843 ], |
1723 'rules': [ | 1844 'rules': [ |
1724 { | 1845 { |
1725 'rule_name': 'version', | 1846 'rule_name': 'version', |
1726 'extension': 'ver', | 1847 'extension': 'jinja2', |
1727 'variables': { | 1848 'variables': { |
1728 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', | 1849 'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE', |
1729 'template_input_path': 'version.rc.version', | |
1730 }, | 1850 }, |
1731 'inputs': [ | 1851 'inputs': [ |
1732 '<(branding_path)', | |
1733 '<(chrome_version_path)', | 1852 '<(chrome_version_path)', |
1734 '<(lastchange_path)', | 1853 '<(lastchange_path)', |
1735 '<(remoting_version_path)', | 1854 '<(remoting_version_path)', |
1736 '<(template_input_path)', | |
1737 ], | 1855 ], |
1738 'outputs': [ | 1856 'outputs': [ |
1739 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)_version.
rc', | 1857 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
1740 ], | 1858 ], |
1741 'action': [ | 1859 'action': [ |
1742 'python', | 1860 'python', |
1743 '<(version_py_path)', | 1861 '<(localize_py_path)', |
1744 '-f', '<(RULE_INPUT_PATH)', | 1862 '<@(remoting_languages)', |
1745 '-f', '<(chrome_version_path)', | 1863 '-i', '<(chrome_version_path)', |
1746 # |remoting_version_path| must be after |chrome_version_path| | 1864 # |remoting_version_path| must be after |chrome_version_path| |
1747 # because it can contain overrides for the version numbers. | 1865 # because it can contain overrides for the version numbers. |
1748 '-f', '<(remoting_version_path)', | 1866 '-i', '<(remoting_version_path)', |
1749 '-f', '<(branding_path)', | 1867 '-i', '<(lastchange_path)', |
1750 '-f', '<(lastchange_path)', | 1868 '--messages_path', '<(webapp_locale_dir)', |
1751 '<(template_input_path)', | 1869 '<(RULE_INPUT_PATH)', |
1752 '<@(_outputs)', | 1870 '<@(_outputs)', |
1753 ], | 1871 ], |
1754 'message': 'Generating version information in <@(_outputs)' | 1872 'message': 'Localizing the version information' |
1755 }, | 1873 }, |
1756 ], | 1874 ], |
1757 }, # end of target 'remoting_version_resources' | 1875 }, # end of target 'remoting_version_resources' |
1758 ], # end of 'targets' | 1876 ], # end of 'targets' |
1759 }], # 'OS=="win"' | 1877 }], # 'OS=="win"' |
1760 | 1878 |
1761 # The host installation is generated only if WiX is available. If | 1879 # The host installation is generated only if WiX is available. If |
1762 # component build is used the produced installation will not work due to | 1880 # component build is used the produced installation will not work due to |
1763 # missing DLLs. We build it anyway to make sure the GYP scripts are executed | 1881 # missing DLLs. We build it anyway to make sure the GYP scripts are executed |
1764 # by the bots. | 1882 # by the bots. |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1970 'dependencies': [ | 2088 'dependencies': [ |
1971 'remoting_base', | 2089 'remoting_base', |
1972 ], | 2090 ], |
1973 'sources': [ | 2091 'sources': [ |
1974 'host/host_event_logger.h', | 2092 'host/host_event_logger.h', |
1975 'host/host_event_logger_posix.cc', | 2093 'host/host_event_logger_posix.cc', |
1976 'host/host_event_logger_win.cc', | 2094 'host/host_event_logger_win.cc', |
1977 ], | 2095 ], |
1978 'conditions': [ | 2096 'conditions': [ |
1979 ['OS=="win"', { | 2097 ['OS=="win"', { |
1980 'sources': [ | 2098 'dependencies': [ |
1981 'host/remoting_host_messages.mc', | 2099 'remoting_host_messages', |
1982 ], | 2100 ], |
1983 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/host', | 2101 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/host', |
| 2102 'sources': [ |
| 2103 '<(_output_dir)/remoting_host_messages.mc', |
| 2104 ], |
1984 'include_dirs': [ | 2105 'include_dirs': [ |
1985 '<(_output_dir)', | 2106 '<(_output_dir)', |
1986 ], | 2107 ], |
1987 'direct_dependent_settings': { | 2108 'direct_dependent_settings': { |
1988 'include_dirs': [ | 2109 'include_dirs': [ |
1989 '<(_output_dir)', | 2110 '<(_output_dir)', |
1990 ], | 2111 ], |
1991 }, | 2112 }, |
1992 # Rule to run the message compiler. | |
1993 'rules': [ | 2113 'rules': [ |
| 2114 # Rule to run the message compiler. |
1994 { | 2115 { |
1995 'rule_name': 'message_compiler', | 2116 'rule_name': 'message_compiler', |
1996 'extension': 'mc', | 2117 'extension': 'mc', |
1997 'inputs': [ ], | 2118 'inputs': [ ], |
1998 'outputs': [ | 2119 'outputs': [ |
1999 '<(_output_dir)/remoting_host_messages.h', | 2120 '<(_output_dir)/remoting_host_messages.h', |
2000 '<(_output_dir)/remoting_host_messages.rc', | 2121 '<(_output_dir)/remoting_host_messages.rc', |
2001 ], | 2122 ], |
2002 'msvs_cygwin_shell': 0, | 2123 'msvs_cygwin_shell': 0, |
2003 'action': [ | 2124 'action': [ |
2004 'mc.exe', | 2125 'mc.exe', |
2005 '-h', '<(_output_dir)', | 2126 '-h', '<(_output_dir)', |
2006 '-r', '<(_output_dir)/.', | 2127 '-r', '<(_output_dir)/.', |
| 2128 '-u', |
2007 '<(RULE_INPUT_PATH)', | 2129 '<(RULE_INPUT_PATH)', |
2008 ], | 2130 ], |
2009 'process_outputs_as_sources': 1, | 2131 'process_outputs_as_sources': 1, |
2010 'message': 'Running message compiler on <(RULE_INPUT_PATH).', | 2132 'message': 'Running message compiler on <(RULE_INPUT_PATH).', |
2011 }, | 2133 }, |
2012 ], | 2134 ], |
2013 }], | 2135 }], |
2014 ], # end of 'conditions' | 2136 ], # end of 'conditions' |
2015 }, # end of target 'remoting_host_event_logger' | 2137 }, # end of target 'remoting_host_event_logger' |
2016 | 2138 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2159 | 2281 |
2160 { | 2282 { |
2161 'target_name': 'remoting_resources', | 2283 'target_name': 'remoting_resources', |
2162 'type': 'none', | 2284 'type': 'none', |
2163 'variables': { | 2285 'variables': { |
2164 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 2286 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
2165 'grit_resource_ids': 'resources/resource_ids', | 2287 'grit_resource_ids': 'resources/resource_ids', |
2166 'sources': [ | 2288 'sources': [ |
2167 'base/resources_unittest.cc', | 2289 'base/resources_unittest.cc', |
2168 'host/plugin/host_script_object.cc', | 2290 'host/plugin/host_script_object.cc', |
| 2291 'host/win/core.rc.jinja2', |
| 2292 'host/win/host_messages.mc.jinja2', |
| 2293 'host/win/version.rc.jinja2', |
2169 'webapp/butter_bar.js', | 2294 'webapp/butter_bar.js', |
2170 'webapp/client_screen.js', | 2295 'webapp/client_screen.js', |
2171 'webapp/error.js', | 2296 'webapp/error.js', |
2172 'webapp/host_list.js', | 2297 'webapp/host_list.js', |
2173 'webapp/host_table_entry.js', | 2298 'webapp/host_table_entry.js', |
2174 'webapp/host_setup_dialog.js', | 2299 'webapp/host_setup_dialog.js', |
2175 'webapp/main.html', | 2300 'webapp/main.html', |
2176 'webapp/manifest.json', | 2301 'webapp/manifest.json', |
2177 'webapp/remoting.js', | 2302 'webapp/remoting.js', |
2178 ], | 2303 ], |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2790 '../base/allocator/allocator.gyp:allocator', | 2915 '../base/allocator/allocator.gyp:allocator', |
2791 ], | 2916 ], |
2792 }, | 2917 }, |
2793 ], | 2918 ], |
2794 ], | 2919 ], |
2795 }], # end of 'toolkit_uses_gtk == 1' | 2920 }], # end of 'toolkit_uses_gtk == 1' |
2796 ], # end of 'conditions' | 2921 ], # end of 'conditions' |
2797 }, # end of target 'remoting_unittests' | 2922 }, # end of target 'remoting_unittests' |
2798 ], # end of targets | 2923 ], # end of targets |
2799 } | 2924 } |
OLD | NEW |