Chromium Code Reviews| 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 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1152 'host/event_executor.h', | 1152 'host/event_executor.h', |
| 1153 'host/event_executor_linux.cc', | 1153 'host/event_executor_linux.cc', |
| 1154 'host/event_executor_mac.cc', | 1154 'host/event_executor_mac.cc', |
| 1155 'host/event_executor_win.cc', | 1155 'host/event_executor_win.cc', |
| 1156 'host/heartbeat_sender.cc', | 1156 'host/heartbeat_sender.cc', |
| 1157 'host/heartbeat_sender.h', | 1157 'host/heartbeat_sender.h', |
| 1158 'host/gaia_oauth_client.cc', | 1158 'host/gaia_oauth_client.cc', |
| 1159 'host/gaia_oauth_client.h', | 1159 'host/gaia_oauth_client.h', |
| 1160 'host/host_config.cc', | 1160 'host/host_config.cc', |
| 1161 'host/host_config.h', | 1161 'host/host_config.h', |
| 1162 'host/host_event_logger.h', | |
| 1162 'host/host_key_pair.cc', | 1163 'host/host_key_pair.cc', |
| 1163 'host/host_key_pair.h', | 1164 'host/host_key_pair.h', |
| 1164 'host/host_port_allocator.cc', | 1165 'host/host_port_allocator.cc', |
| 1165 'host/host_port_allocator.h', | 1166 'host/host_port_allocator.h', |
| 1166 'host/host_secret.cc', | 1167 'host/host_secret.cc', |
| 1167 'host/host_secret.h', | 1168 'host/host_secret.h', |
| 1168 'host/host_status_observer.h', | 1169 'host/host_status_observer.h', |
| 1169 'host/host_user_interface.cc', | 1170 'host/host_user_interface.cc', |
| 1170 'host/host_user_interface.h', | 1171 'host/host_user_interface.h', |
| 1171 'host/in_memory_host_config.cc', | 1172 'host/in_memory_host_config.cc', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1216 'host/user_authenticator.h', | 1217 'host/user_authenticator.h', |
| 1217 'host/user_authenticator_linux.cc', | 1218 'host/user_authenticator_linux.cc', |
| 1218 'host/user_authenticator_mac.cc', | 1219 'host/user_authenticator_mac.cc', |
| 1219 'host/user_authenticator_win.cc', | 1220 'host/user_authenticator_win.cc', |
| 1220 'host/vlog_net_log.cc', | 1221 'host/vlog_net_log.cc', |
| 1221 'host/vlog_net_log.h', | 1222 'host/vlog_net_log.h', |
| 1222 'host/x_server_pixel_buffer.cc', | 1223 'host/x_server_pixel_buffer.cc', |
| 1223 'host/x_server_pixel_buffer.h', | 1224 'host/x_server_pixel_buffer.h', |
| 1224 ], | 1225 ], |
| 1225 'conditions': [ | 1226 'conditions': [ |
| 1227 ['os_posix==1', { | |
| 1228 'sources': [ | |
| 1229 'host/host_event_logger_posix.cc', | |
| 1230 ], | |
| 1231 }], | |
| 1226 ['OS=="linux"', { | 1232 ['OS=="linux"', { |
| 1227 'link_settings': { | 1233 'link_settings': { |
| 1228 'libraries': [ | 1234 'libraries': [ |
| 1229 '-lX11', | 1235 '-lX11', |
| 1230 '-lXdamage', | 1236 '-lXdamage', |
| 1231 '-lXfixes', | 1237 '-lXfixes', |
| 1232 '-lXtst', | 1238 '-lXtst', |
| 1233 '-lpam', | 1239 '-lpam', |
| 1234 '-lXext' | 1240 '-lXext' |
| 1235 ], | 1241 ], |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1268 'link_settings': { | 1274 'link_settings': { |
| 1269 'libraries': [ | 1275 'libraries': [ |
| 1270 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 1276 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 1271 ], | 1277 ], |
| 1272 }, | 1278 }, |
| 1273 }], | 1279 }], |
| 1274 ['OS=="win"', { | 1280 ['OS=="win"', { |
| 1275 'sources': [ | 1281 'sources': [ |
| 1276 'host/chromoting_messages.cc', | 1282 'host/chromoting_messages.cc', |
| 1277 'host/chromoting_messages.h', | 1283 'host/chromoting_messages.h', |
| 1284 'host/host_event_logger_win.cc', | |
| 1285 'host/remoting_host_messages.mc', | |
|
alexeypa (please no reviews)
2012/07/19 17:05:00
This should work, but it is a little bit tricky. T
| |
| 1286 ], | |
| 1287 # Rule to run the message compiler. | |
| 1288 'rules': [ | |
| 1289 { | |
| 1290 'rule_name': 'message_compiler', | |
| 1291 'extension': 'mc', | |
| 1292 'inputs': [ ], | |
| 1293 'outputs': [ | |
| 1294 '<(INTERMEDIATE_DIR)/remoting_host_messages.h', | |
| 1295 '<(INTERMEDIATE_DIR)/remoting_host_messages.rc', | |
| 1296 ], | |
| 1297 'msvs_cygwin_shell': 0, | |
| 1298 'msvs_quote_cmd': 0, | |
| 1299 'action': [ | |
| 1300 'mc.exe -h <(INTERMEDIATE_DIR) -r <(INTERMEDIATE_DIR) <(RULE_INP UT_PATH)', | |
| 1301 ], | |
| 1302 'process_outputs_as_sources': 1, | |
| 1303 'message': 'Running message compiler on <(RULE_INPUT_PATH).', | |
| 1304 }, | |
| 1278 ], | 1305 ], |
| 1279 }], | 1306 }], |
| 1280 ], | 1307 ], |
| 1281 }, # end of target 'remoting_host' | 1308 }, # end of target 'remoting_host' |
| 1282 | 1309 |
| 1283 { | 1310 { |
| 1284 'target_name': 'remoting_client', | 1311 'target_name': 'remoting_client', |
| 1285 'type': 'static_library', | 1312 'type': 'static_library', |
| 1286 'variables': { 'enable_wexit_time_destructors': 1, }, | 1313 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 1287 'dependencies': [ | 1314 'dependencies': [ |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1346 'remoting_host', | 1373 'remoting_host', |
| 1347 'remoting_jingle_glue', | 1374 'remoting_jingle_glue', |
| 1348 '../base/base.gyp:base', | 1375 '../base/base.gyp:base', |
| 1349 '../base/base.gyp:base_i18n', | 1376 '../base/base.gyp:base_i18n', |
| 1350 '../media/media.gyp:media', | 1377 '../media/media.gyp:media', |
| 1351 '../net/net.gyp:net', | 1378 '../net/net.gyp:net', |
| 1352 ], | 1379 ], |
| 1353 'sources': [ | 1380 'sources': [ |
| 1354 'host/branding.cc', | 1381 'host/branding.cc', |
| 1355 'host/branding.h', | 1382 'host/branding.h', |
| 1356 'host/host_event_logger.h', | |
| 1357 'host/sighup_listener_mac.cc', | 1383 'host/sighup_listener_mac.cc', |
| 1358 'host/sighup_listener_mac.h', | 1384 'host/sighup_listener_mac.h', |
| 1359 'host/remoting_me2me_host.cc', | 1385 'host/remoting_me2me_host.cc', |
| 1360 'host/usage_stats_consent.h', | 1386 'host/usage_stats_consent.h', |
| 1361 'host/usage_stats_consent_win.cc', | 1387 'host/usage_stats_consent_win.cc', |
| 1362 ], | 1388 ], |
| 1363 'conditions': [ | 1389 'conditions': [ |
| 1364 ['os_posix==1', { | |
| 1365 'sources': [ | |
| 1366 'host/host_event_logger_posix.cc', | |
| 1367 ], | |
| 1368 }], | |
| 1369 ['OS=="mac"', { | 1390 ['OS=="mac"', { |
| 1370 'mac_bundle': 1, | 1391 'mac_bundle': 1, |
| 1371 'conditions': [ | 1392 'conditions': [ |
| 1372 ['branding == "Chrome"', { | 1393 ['branding == "Chrome"', { |
| 1373 'variables': { | 1394 'variables': { |
| 1374 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me 2me_host', | 1395 'host_bundle_id': 'com.google.chrome_remote_desktop.remoting_me 2me_host', |
| 1375 }, | 1396 }, |
| 1376 }, { # else branding!="Chrome" | 1397 }, { # else branding!="Chrome" |
| 1377 'variables': { | 1398 'variables': { |
| 1378 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host', | 1399 'host_bundle_id': 'org.chromium.chromoting.remoting_me2me_host', |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 1392 'mac_bundle_resources!': [ | 1413 'mac_bundle_resources!': [ |
| 1393 'host/remoting_me2me_host-Info.plist', | 1414 'host/remoting_me2me_host-Info.plist', |
| 1394 ], | 1415 ], |
| 1395 }], | 1416 }], |
| 1396 ['OS=="win"', { | 1417 ['OS=="win"', { |
| 1397 'dependencies': [ | 1418 'dependencies': [ |
| 1398 '../ipc/ipc.gyp:ipc', | 1419 '../ipc/ipc.gyp:ipc', |
| 1399 'remoting_version_resources', | 1420 'remoting_version_resources', |
| 1400 ], | 1421 ], |
| 1401 'sources': [ | 1422 'sources': [ |
| 1402 'host/host_event_logger_win.cc', | |
| 1403 'host/host_ui.rc', | 1423 'host/host_ui.rc', |
| 1404 'host/remoting_host_messages.mc', | |
| 1405 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc' | 1424 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc' |
| 1406 ], | 1425 ], |
| 1407 'include_dirs': [ | 1426 'include_dirs': [ |
| 1408 '<(INTERMEDIATE_DIR)', | 1427 '<(INTERMEDIATE_DIR)', |
| 1409 ], | 1428 ], |
| 1410 # Rule to run the message compiler. | |
| 1411 'rules': [ | |
| 1412 { | |
| 1413 'rule_name': 'message_compiler', | |
| 1414 'extension': 'mc', | |
| 1415 'inputs': [ ], | |
| 1416 'outputs': [ | |
| 1417 '<(INTERMEDIATE_DIR)/remoting_host_messages.h', | |
| 1418 '<(INTERMEDIATE_DIR)/remoting_host_messages.rc', | |
| 1419 ], | |
| 1420 'msvs_cygwin_shell': 0, | |
| 1421 'msvs_quote_cmd': 0, | |
| 1422 'action': [ | |
| 1423 'mc.exe -h <(INTERMEDIATE_DIR) -r <(INTERMEDIATE_DIR) <(RULE_INP UT_PATH)', | |
| 1424 ], | |
| 1425 'process_outputs_as_sources': 1, | |
| 1426 'message': 'Running message compiler on <(RULE_INPUT_PATH).', | |
| 1427 }, | |
| 1428 ], | |
| 1429 'link_settings': { | 1429 'link_settings': { |
| 1430 'libraries': [ | 1430 'libraries': [ |
| 1431 '-lcomctl32.lib', | 1431 '-lcomctl32.lib', |
| 1432 ], | 1432 ], |
| 1433 }, | 1433 }, |
| 1434 'msvs_settings': { | 1434 'msvs_settings': { |
| 1435 'VCLinkerTool': { | 1435 'VCLinkerTool': { |
| 1436 'AdditionalOptions': [ | 1436 'AdditionalOptions': [ |
| 1437 "\"/manifestdependency:type='win32' " | 1437 "\"/manifestdependency:type='win32' " |
| 1438 "name='Microsoft.Windows.Common-Controls' " | 1438 "name='Microsoft.Windows.Common-Controls' " |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1772 '../base/allocator/allocator.gyp:allocator', | 1772 '../base/allocator/allocator.gyp:allocator', |
| 1773 ], | 1773 ], |
| 1774 }, | 1774 }, |
| 1775 ], | 1775 ], |
| 1776 ], | 1776 ], |
| 1777 }], | 1777 }], |
| 1778 ], # end of 'conditions' | 1778 ], # end of 'conditions' |
| 1779 }, # end of target 'remoting_unittests' | 1779 }, # end of target 'remoting_unittests' |
| 1780 ], # end of targets | 1780 ], # end of targets |
| 1781 } | 1781 } |
| OLD | NEW |