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 | 10 |
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1176 '<(RULE_INPUT_PATH)', | 1176 '<(RULE_INPUT_PATH)', |
1177 '<@(_outputs)', | 1177 '<@(_outputs)', |
1178 ], | 1178 ], |
1179 'process_outputs_as_sources': 1, | 1179 'process_outputs_as_sources': 1, |
1180 'message': 'Generating <@(_outputs)', | 1180 'message': 'Generating <@(_outputs)', |
1181 'msvs_cygwin_shell': 0, | 1181 'msvs_cygwin_shell': 0, |
1182 }, | 1182 }, |
1183 ], | 1183 ], |
1184 }, # end of target 'remoting_lib_idl' | 1184 }, # end of target 'remoting_lib_idl' |
1185 | 1185 |
| 1186 # remoting_lib_ps builds the proxy/stub code generated by MIDL (see |
| 1187 # remoting_lib_idl). |
| 1188 { |
| 1189 'target_name': 'remoting_lib_ps', |
| 1190 'type': 'static_library', |
| 1191 'defines': [ |
| 1192 # Prepend 'Ps' to the MIDL-generated routines. This includes |
| 1193 # DllGetClassObject, DllCanUnloadNow, DllRegisterServer, |
| 1194 # DllUnregisterServer, and DllMain. |
| 1195 'ENTRY_PREFIX=Ps', |
| 1196 'REGISTER_PROXY_DLL', |
| 1197 ], |
| 1198 'sources': [ |
| 1199 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.dlldata.c', |
| 1200 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib_p.c', |
| 1201 ], |
| 1202 }, # end of target 'remoting_lib_ps' |
| 1203 |
1186 # Regenerates 'chromoting_lib.rc' (used to embed 'chromoting_lib.tlb' | 1204 # Regenerates 'chromoting_lib.rc' (used to embed 'chromoting_lib.tlb' |
1187 # into remoting_core.dll's resources) every time | 1205 # into remoting_core.dll's resources) every time |
1188 # 'chromoting_lib_idl.templ' changes. Making remoting_core depend on | 1206 # 'chromoting_lib_idl.templ' changes. Making remoting_core depend on |
1189 # both this and 'remoting_lib_idl' targets ensures that the resorces | 1207 # both this and 'remoting_lib_idl' targets ensures that the resorces |
1190 # are rebuilt every time the type library is updated. GYP alone is | 1208 # are rebuilt every time the type library is updated. GYP alone is |
1191 # not smart enough to figure out this dependency on its own. | 1209 # not smart enough to figure out this dependency on its own. |
1192 { | 1210 { |
1193 'target_name': 'remoting_lib_rc', | 1211 'target_name': 'remoting_lib_rc', |
1194 'type': 'none', | 1212 'type': 'none', |
1195 'sources': [ | 1213 'sources': [ |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1332 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 1350 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
1333 '../ipc/ipc.gyp:ipc', | 1351 '../ipc/ipc.gyp:ipc', |
1334 '../media/media.gyp:media', | 1352 '../media/media.gyp:media', |
1335 '../net/net.gyp:net', | 1353 '../net/net.gyp:net', |
1336 'remoting_base', | 1354 'remoting_base', |
1337 'remoting_breakpad', | 1355 'remoting_breakpad', |
1338 'remoting_host', | 1356 'remoting_host', |
1339 'remoting_host_event_logger', | 1357 'remoting_host_event_logger', |
1340 'remoting_host_logging', | 1358 'remoting_host_logging', |
1341 'remoting_lib_idl', | 1359 'remoting_lib_idl', |
| 1360 'remoting_lib_ps', |
1342 'remoting_lib_rc', | 1361 'remoting_lib_rc', |
1343 'remoting_me2me_host_static', | 1362 'remoting_me2me_host_static', |
1344 'remoting_protocol', | 1363 'remoting_protocol', |
1345 'remoting_version_resources', | 1364 'remoting_version_resources', |
1346 ], | 1365 ], |
1347 'sources': [ | 1366 'sources': [ |
1348 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', | 1367 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', |
1349 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, | 1368 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, |
1350 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_core_version.rc', | 1369 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_core_version.rc', |
1351 'host/chromoting_messages.cc', | 1370 'host/chromoting_messages.cc', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1399 'host/win/wts_session_process_delegate.cc', | 1418 'host/win/wts_session_process_delegate.cc', |
1400 'host/win/wts_session_process_delegate.h', | 1419 'host/win/wts_session_process_delegate.h', |
1401 'host/win/wts_terminal_monitor.h', | 1420 'host/win/wts_terminal_monitor.h', |
1402 'host/win/wts_terminal_observer.h', | 1421 'host/win/wts_terminal_observer.h', |
1403 'host/worker_process_ipc_delegate.h', | 1422 'host/worker_process_ipc_delegate.h', |
1404 ], | 1423 ], |
1405 'msvs_settings': { | 1424 'msvs_settings': { |
1406 'VCLinkerTool': { | 1425 'VCLinkerTool': { |
1407 'AdditionalDependencies': [ | 1426 'AdditionalDependencies': [ |
1408 'comctl32.lib', | 1427 'comctl32.lib', |
| 1428 'rpcns4.lib', |
| 1429 'rpcrt4.lib', |
| 1430 'uuid.lib', |
1409 'wtsapi32.lib', | 1431 'wtsapi32.lib', |
1410 ], | 1432 ], |
| 1433 # Export the proxy/stub entry points. Note that the generated |
| 1434 # routines have 'Ps' prefix to avoid conflicts with our own |
| 1435 # DllMain(). |
| 1436 'AdditionalOptions': [ |
| 1437 '/EXPORT:DllGetClassObject=PsDllGetClassObject,PRIVATE', |
| 1438 '/EXPORT:DllCanUnloadNow=PsDllCanUnloadNow,PRIVATE', |
| 1439 '/EXPORT:DllRegisterServer=PsDllRegisterServer,PRIVATE', |
| 1440 '/EXPORT:DllUnregisterServer=PsDllUnregisterServer,PRIVATE', |
| 1441 ], |
1411 }, | 1442 }, |
1412 }, | 1443 }, |
1413 }, # end of target 'remoting_core' | 1444 }, # end of target 'remoting_core' |
1414 { | 1445 { |
1415 'target_name': 'remoting_core_manifest', | 1446 'target_name': 'remoting_core_manifest', |
1416 'type': 'none', | 1447 'type': 'none', |
1417 'dependencies': [ | 1448 'dependencies': [ |
1418 'remoting_core', | 1449 'remoting_core', |
1419 ], | 1450 ], |
1420 'hard_dependency': '1', | 1451 'hard_dependency': '1', |
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2627 '../base/allocator/allocator.gyp:allocator', | 2658 '../base/allocator/allocator.gyp:allocator', |
2628 ], | 2659 ], |
2629 }, | 2660 }, |
2630 ], | 2661 ], |
2631 ], | 2662 ], |
2632 }], # end of 'toolkit_uses_gtk == 1' | 2663 }], # end of 'toolkit_uses_gtk == 1' |
2633 ], # end of 'conditions' | 2664 ], # end of 'conditions' |
2634 }, # end of target 'remoting_unittests' | 2665 }, # end of target 'remoting_unittests' |
2635 ], # end of targets | 2666 ], # end of targets |
2636 } | 2667 } |
OLD | NEW |