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 # Use consistent strings across all platforms. Note that the plugin name | 10 # Use consistent strings across all platforms. Note that the plugin name |
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 'product_prefix': '<(host_plugin_prefix)', | 850 'product_prefix': '<(host_plugin_prefix)', |
851 'dependencies': [ | 851 'dependencies': [ |
852 'remoting_base', | 852 'remoting_base', |
853 'remoting_host', | 853 'remoting_host', |
854 'remoting_jingle_glue', | 854 'remoting_jingle_glue', |
855 '../third_party/npapi/npapi.gyp:npapi', | 855 '../third_party/npapi/npapi.gyp:npapi', |
856 ], | 856 ], |
857 'sources': [ | 857 'sources': [ |
858 'host/branding.cc', | 858 'host/branding.cc', |
859 'host/branding.h', | 859 'host/branding.h', |
| 860 'host/host_ui_resource.h', |
| 861 'host/host_user_interface.cc', |
| 862 'host/host_user_interface.h', |
860 'host/it2me_host_user_interface.cc', | 863 'host/it2me_host_user_interface.cc', |
861 'host/it2me_host_user_interface.h', | 864 'host/it2me_host_user_interface.h', |
862 'host/plugin/daemon_controller.h', | 865 'host/plugin/daemon_controller.h', |
863 'host/plugin/daemon_controller_linux.cc', | 866 'host/plugin/daemon_controller_linux.cc', |
864 'host/plugin/daemon_controller_mac.cc', | 867 'host/plugin/daemon_controller_mac.cc', |
865 'host/plugin/daemon_controller_win.cc', | 868 'host/plugin/daemon_controller_win.cc', |
866 'host/plugin/daemon_installer_win.cc', | 869 'host/plugin/daemon_installer_win.cc', |
867 'host/plugin/daemon_installer_win.h', | 870 'host/plugin/daemon_installer_win.h', |
868 'host/plugin/host_log_handler.cc', | 871 'host/plugin/host_log_handler.cc', |
869 'host/plugin/host_log_handler.h', | 872 'host/plugin/host_log_handler.h', |
870 'host/plugin/host_plugin.cc', | 873 'host/plugin/host_plugin.cc', |
871 'host/plugin/host_plugin_resource.h', | |
872 'host/plugin/host_plugin_utils.cc', | 874 'host/plugin/host_plugin_utils.cc', |
873 'host/plugin/host_plugin_utils.h', | 875 'host/plugin/host_plugin_utils.h', |
874 'host/plugin/host_script_object.cc', | 876 'host/plugin/host_script_object.cc', |
875 'host/plugin/host_script_object.h', | 877 'host/plugin/host_script_object.h', |
876 ], | 878 ], |
877 'conditions': [ | 879 'conditions': [ |
878 ['OS=="mac"', { | 880 ['OS=="mac"', { |
879 'mac_bundle': 1, | 881 'mac_bundle': 1, |
880 'xcode_settings': { | 882 'xcode_settings': { |
881 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 883 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
(...skipping 30 matching lines...) Expand all Loading... |
912 'dependencies': [ | 914 'dependencies': [ |
913 '../google_update/google_update.gyp:google_update', | 915 '../google_update/google_update.gyp:google_update', |
914 '../ipc/ipc.gyp:ipc', | 916 '../ipc/ipc.gyp:ipc', |
915 'remoting_elevated_controller', | 917 'remoting_elevated_controller', |
916 'remoting_version_resources', | 918 'remoting_version_resources', |
917 ], | 919 ], |
918 'include_dirs': [ | 920 'include_dirs': [ |
919 '<(INTERMEDIATE_DIR)', | 921 '<(INTERMEDIATE_DIR)', |
920 ], | 922 ], |
921 'sources': [ | 923 'sources': [ |
| 924 'host/host_ui.rc', |
922 'host/plugin/host_plugin.def', | 925 'host/plugin/host_plugin.def', |
923 'host/plugin/host_plugin.rc', | |
924 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_version.rc' | 926 '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_version.rc' |
925 ], | 927 ], |
926 }], | 928 }], |
927 ], | 929 ], |
928 }, # end of target 'remoting_host_plugin' | 930 }, # end of target 'remoting_host_plugin' |
929 | 931 |
930 { | 932 { |
931 'target_name': 'remoting_webapp', | 933 'target_name': 'remoting_webapp', |
932 'type': 'none', | 934 'type': 'none', |
933 'dependencies': [ | 935 'dependencies': [ |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1295 ], | 1297 ], |
1296 'sources': [ | 1298 'sources': [ |
1297 'host/continue_window.h', | 1299 'host/continue_window.h', |
1298 'host/continue_window_mac.mm', | 1300 'host/continue_window_mac.mm', |
1299 'host/continue_window_linux.cc', | 1301 'host/continue_window_linux.cc', |
1300 'host/continue_window_win.cc', | 1302 'host/continue_window_win.cc', |
1301 'host/disconnect_window_linux.cc', | 1303 'host/disconnect_window_linux.cc', |
1302 'host/disconnect_window_mac.h', | 1304 'host/disconnect_window_mac.h', |
1303 'host/disconnect_window_mac.mm', | 1305 'host/disconnect_window_mac.mm', |
1304 'host/disconnect_window_win.cc', | 1306 'host/disconnect_window_win.cc', |
| 1307 'host/host_user_interface.cc', |
| 1308 'host/host_user_interface.h', |
1305 'host/it2me_host_user_interface.cc', | 1309 'host/it2me_host_user_interface.cc', |
1306 'host/it2me_host_user_interface.h', | 1310 'host/it2me_host_user_interface.h', |
1307 'host/simple_host_process.cc', | 1311 'host/simple_host_process.cc', |
1308 ], | 1312 ], |
1309 'conditions': [ | 1313 'conditions': [ |
1310 ['OS=="win"', { | 1314 ['OS=="win"', { |
1311 'dependencies': [ | 1315 'dependencies': [ |
1312 '../ipc/ipc.gyp:ipc' | 1316 '../ipc/ipc.gyp:ipc' |
1313 ], | 1317 ], |
1314 }], | 1318 }], |
1315 ], | 1319 ], |
1316 }, # end of target 'remoting_simple_host' | 1320 }, # end of target 'remoting_simple_host' |
1317 | 1321 |
1318 { | 1322 { |
1319 'target_name': 'remoting_me2me_host', | 1323 'target_name': 'remoting_me2me_host', |
1320 'type': 'executable', | 1324 'type': 'executable', |
1321 'variables': { 'enable_wexit_time_destructors': 1, }, | 1325 'variables': { 'enable_wexit_time_destructors': 1, }, |
1322 'dependencies': [ | 1326 'dependencies': [ |
1323 'remoting_base', | 1327 'remoting_base', |
1324 'remoting_host', | 1328 'remoting_host', |
1325 'remoting_jingle_glue', | 1329 'remoting_jingle_glue', |
1326 '../base/base.gyp:base', | 1330 '../base/base.gyp:base', |
1327 '../base/base.gyp:base_i18n', | 1331 '../base/base.gyp:base_i18n', |
1328 '../media/media.gyp:media', | 1332 '../media/media.gyp:media', |
1329 ], | 1333 ], |
1330 'sources': [ | 1334 'sources': [ |
1331 'host/branding.cc', | 1335 'host/branding.cc', |
1332 'host/branding.h', | 1336 'host/branding.h', |
1333 'host/host_event_logger.h', | 1337 'host/host_event_logger.h', |
| 1338 'host/host_user_interface.cc', |
| 1339 'host/host_user_interface.h', |
1334 'host/sighup_listener_mac.cc', | 1340 'host/sighup_listener_mac.cc', |
1335 'host/sighup_listener_mac.h', | 1341 'host/sighup_listener_mac.h', |
1336 'host/remoting_me2me_host.cc', | 1342 'host/remoting_me2me_host.cc', |
1337 ], | 1343 ], |
1338 'conditions': [ | 1344 'conditions': [ |
1339 ['os_posix==1', { | 1345 ['os_posix==1', { |
1340 'sources': [ | 1346 'sources': [ |
1341 'host/host_event_logger_posix.cc', | 1347 'host/host_event_logger_posix.cc', |
1342 ], | 1348 ], |
1343 }], | 1349 }], |
1344 ['OS=="mac"', { | 1350 ['OS=="mac"', { |
1345 'mac_bundle': 1, | 1351 'mac_bundle': 1, |
1346 'conditions': [ | 1352 'conditions': [ |
1347 ['branding == "Chrome"', { | 1353 ['branding == "Chrome"', { |
1348 'variables': { | 1354 'variables': { |
1349 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me
2me_host', | 1355 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me
2me_host', |
1350 }, | 1356 }, |
1351 }, { # else branding!="Chrome" | 1357 }, { # else branding!="Chrome" |
1352 'variables': { | 1358 'variables': { |
1353 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host', | 1359 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host', |
1354 }, | 1360 }, |
1355 }], | 1361 }], |
1356 ], | 1362 ], |
1357 'xcode_settings': { | 1363 'xcode_settings': { |
1358 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', | 1364 'INFOPLIST_FILE': 'host/remoting_me2me_host-Info.plist', |
1359 'INFOPLIST_PREPROCESS': 'YES', | 1365 'INFOPLIST_PREPROCESS': 'YES', |
1360 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)" COPYRIGHT_BY="<
(copyright_by)"', | 1366 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)
" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(host_bundle_id)" COPYRIGHT_BY="<
(copyright_by)"', |
1361 }, | 1367 }, |
1362 'mac_bundle_resources': [ | 1368 'mac_bundle_resources': [ |
| 1369 'host/disconnect_window.xib', |
1363 'host/remoting_me2me_host.icns', | 1370 'host/remoting_me2me_host.icns', |
1364 'host/remoting_me2me_host-Info.plist', | 1371 'host/remoting_me2me_host-Info.plist', |
1365 ], | 1372 ], |
1366 'mac_bundle_resources!': [ | 1373 'mac_bundle_resources!': [ |
1367 'host/remoting_me2me_host-Info.plist', | 1374 'host/remoting_me2me_host-Info.plist', |
1368 ], | 1375 ], |
1369 }], | 1376 }], |
1370 ['OS=="win"', { | 1377 ['OS=="win"', { |
1371 'dependencies': [ | 1378 'dependencies': [ |
1372 '../ipc/ipc.gyp:ipc', | 1379 '../ipc/ipc.gyp:ipc', |
1373 'remoting_version_resources', | 1380 'remoting_version_resources', |
1374 ], | 1381 ], |
1375 'sources': [ | 1382 'sources': [ |
1376 'host/host_event_logger_win.cc', | 1383 'host/host_event_logger_win.cc', |
| 1384 'host/host_ui.rc', |
1377 'host/remoting_host_messages.mc', | 1385 'host/remoting_host_messages.mc', |
1378 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc' | 1386 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc' |
1379 ], | 1387 ], |
1380 'include_dirs': [ | 1388 'include_dirs': [ |
1381 '<(INTERMEDIATE_DIR)', | 1389 '<(INTERMEDIATE_DIR)', |
1382 ], | 1390 ], |
1383 # Rule to run the message compiler. | 1391 # Rule to run the message compiler. |
1384 'rules': [ | 1392 'rules': [ |
1385 { | 1393 { |
1386 'rule_name': 'message_compiler', | 1394 'rule_name': 'message_compiler', |
1387 'extension': 'mc', | 1395 'extension': 'mc', |
1388 'inputs': [ ], | 1396 'inputs': [ ], |
1389 'outputs': [ | 1397 'outputs': [ |
1390 '<(INTERMEDIATE_DIR)/remoting_host_messages.h', | 1398 '<(INTERMEDIATE_DIR)/remoting_host_messages.h', |
1391 '<(INTERMEDIATE_DIR)/remoting_host_messages.rc', | 1399 '<(INTERMEDIATE_DIR)/remoting_host_messages.rc', |
1392 ], | 1400 ], |
1393 'msvs_cygwin_shell': 0, | 1401 'msvs_cygwin_shell': 0, |
1394 'msvs_quote_cmd': 0, | 1402 'msvs_quote_cmd': 0, |
1395 'action': [ | 1403 'action': [ |
1396 'mc.exe -h <(INTERMEDIATE_DIR) -r <(INTERMEDIATE_DIR) <(RULE_INP
UT_PATH)', | 1404 'mc.exe -h <(INTERMEDIATE_DIR) -r <(INTERMEDIATE_DIR) <(RULE_INP
UT_PATH)', |
1397 ], | 1405 ], |
1398 'process_outputs_as_sources': 1, | 1406 'process_outputs_as_sources': 1, |
1399 'message': 'Running message compiler on <(RULE_INPUT_PATH).', | 1407 'message': 'Running message compiler on <(RULE_INPUT_PATH).', |
1400 }, | 1408 }, |
1401 ], | 1409 ], |
| 1410 'link_settings': { |
| 1411 'libraries': [ |
| 1412 '-lcomctl32.lib', |
| 1413 ], |
| 1414 }, |
1402 'msvs_settings': { | 1415 'msvs_settings': { |
1403 'VCLinkerTool': { | 1416 'VCLinkerTool': { |
| 1417 'AdditionalOptions': [ |
| 1418 "\"/manifestdependency:type='win32' " |
| 1419 "name='Microsoft.Windows.Common-Controls' " |
| 1420 "version='6.0.0.0' " |
| 1421 "processorArchitecture='*' " |
| 1422 "publicKeyToken='6595b64144ccf1df' language='*'\"", |
| 1423 ], |
1404 # 2 == /SUBSYSTEM:WINDOWS | 1424 # 2 == /SUBSYSTEM:WINDOWS |
1405 'SubSystem': '2', | 1425 'SubSystem': '2', |
1406 }, | 1426 }, |
1407 }, | 1427 }, |
1408 }], | 1428 }], |
1409 ], # end of 'conditions' | 1429 ], # end of 'conditions' |
1410 }, # end of target 'remoting_me2me_host' | 1430 }, # end of target 'remoting_me2me_host' |
1411 | 1431 |
1412 { | 1432 { |
1413 'target_name': 'remoting_host_keygen', | 1433 'target_name': 'remoting_host_keygen', |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1659 'host/capturer_win_unittest.cc', | 1679 'host/capturer_win_unittest.cc', |
1660 'host/chromoting_host_context_unittest.cc', | 1680 'host/chromoting_host_context_unittest.cc', |
1661 'host/chromoting_host_unittest.cc', | 1681 'host/chromoting_host_unittest.cc', |
1662 'host/client_session_unittest.cc', | 1682 'host/client_session_unittest.cc', |
1663 'host/differ_block_unittest.cc', | 1683 'host/differ_block_unittest.cc', |
1664 'host/differ_unittest.cc', | 1684 'host/differ_unittest.cc', |
1665 'host/heartbeat_sender_unittest.cc', | 1685 'host/heartbeat_sender_unittest.cc', |
1666 'host/host_key_pair_unittest.cc', | 1686 'host/host_key_pair_unittest.cc', |
1667 'host/host_mock_objects.cc', | 1687 'host/host_mock_objects.cc', |
1668 'host/host_mock_objects.h', | 1688 'host/host_mock_objects.h', |
| 1689 'host/host_user_interface.cc', |
| 1690 'host/host_user_interface.h', |
1669 'host/it2me_host_user_interface.cc', | 1691 'host/it2me_host_user_interface.cc', |
1670 'host/it2me_host_user_interface.h', | 1692 'host/it2me_host_user_interface.h', |
1671 'host/json_host_config_unittest.cc', | 1693 'host/json_host_config_unittest.cc', |
1672 'host/log_to_server_unittest.cc', | 1694 'host/log_to_server_unittest.cc', |
1673 'host/pin_hash_unittest.cc', | 1695 'host/pin_hash_unittest.cc', |
1674 'host/register_support_host_request_unittest.cc', | 1696 'host/register_support_host_request_unittest.cc', |
1675 'host/remote_input_filter_unittest.cc', | 1697 'host/remote_input_filter_unittest.cc', |
1676 'host/screen_recorder_unittest.cc', | 1698 'host/screen_recorder_unittest.cc', |
1677 'host/server_log_entry_unittest.cc', | 1699 'host/server_log_entry_unittest.cc', |
1678 'host/test_key_pair.h', | 1700 'host/test_key_pair.h', |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1738 '../base/allocator/allocator.gyp:allocator', | 1760 '../base/allocator/allocator.gyp:allocator', |
1739 ], | 1761 ], |
1740 }, | 1762 }, |
1741 ], | 1763 ], |
1742 ], | 1764 ], |
1743 }], | 1765 }], |
1744 ], # end of 'conditions' | 1766 ], # end of 'conditions' |
1745 }, # end of target 'remoting_unittests' | 1767 }, # end of target 'remoting_unittests' |
1746 ], # end of targets | 1768 ], # end of targets |
1747 } | 1769 } |
OLD | NEW |