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 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 ], | 1154 ], |
1155 'action': [ | 1155 'action': [ |
1156 'python', | 1156 'python', |
1157 '<(version_py_path)', | 1157 '<(version_py_path)', |
1158 '-e', 'DAEMON_CONTROLLER_CLSID="<(daemon_controller_clsid)"', | 1158 '-e', 'DAEMON_CONTROLLER_CLSID="<(daemon_controller_clsid)"', |
1159 '<(RULE_INPUT_PATH)', | 1159 '<(RULE_INPUT_PATH)', |
1160 '<@(_outputs)', | 1160 '<@(_outputs)', |
1161 ], | 1161 ], |
1162 'process_outputs_as_sources': 1, | 1162 'process_outputs_as_sources': 1, |
1163 'message': 'Generating <@(_outputs)', | 1163 'message': 'Generating <@(_outputs)', |
1164 'msvs_cygwin_shell': 0, | 1164 'msvs_cygwin_shell': 1, |
1165 }, | 1165 }, |
1166 ], | 1166 ], |
1167 }, # end of target 'remoting_controller_idl' | 1167 }, # end of target 'remoting_controller_idl' |
1168 | |
1169 # Regenerates 'elevated_controller.rc' (used to embed | |
1170 # 'elevated_controller.tlb' into remoting_core.dll's resources) every | |
1171 # time 'elevated_controller_idl.templ' changes. Making remoting_core | |
1172 # depend on both this and 'remoting_controller_idl' targets ensures that | |
1173 # the resorces are rebuilt every time the type library is updated. GYP | |
1174 # alone is not smart enough to figure out this dependency on its own. | |
1175 { | |
1176 'target_name': 'remoting_controller_rc', | |
1177 'type': 'none', | |
1178 'sources': [ | |
1179 'host/win/elevated_controller_idl.templ', | |
1180 ], | |
1181 'hard_dependency': 1, | |
1182 'direct_dependent_settings': { | |
1183 'include_dirs': [ | |
1184 '<(SHARED_INTERMEDIATE_DIR)', | |
1185 ], | |
1186 }, | |
1187 'rules': [ | |
1188 { | |
1189 'rule_name': 'generate_rc', | |
1190 'extension': 'templ', | |
1191 'outputs': [ | |
1192 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.rc
', | |
1193 ], | |
1194 'action': [ | |
1195 'echo 1 typelib "remoting/host/elevated_controller.tlb" > <@(_ou
tputs)', | |
1196 ], | |
1197 'message': 'Generating <@(_outputs)', | |
1198 'msvs_cygwin_shell': 0, | |
1199 }, | |
1200 ], | |
1201 }, # end of target 'remoting_controller_rc' | |
1202 { | 1168 { |
1203 'target_name': 'remoting_configurer', | 1169 'target_name': 'remoting_configurer', |
1204 'type': 'executable', | 1170 'type': 'executable', |
1205 'defines': [ | 1171 'defines': [ |
1206 '_ATL_NO_EXCEPTIONS', | 1172 '_ATL_NO_EXCEPTIONS', |
1207 ], | 1173 ], |
1208 'dependencies': [ | 1174 'dependencies': [ |
1209 '../base/base.gyp:base', | 1175 '../base/base.gyp:base', |
1210 '../crypto/crypto.gyp:crypto', | 1176 '../crypto/crypto.gyp:crypto', |
1211 'remoting_host', | 1177 'remoting_host', |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 'dependencies': [ | 1277 'dependencies': [ |
1312 '../base/base.gyp:base', | 1278 '../base/base.gyp:base', |
1313 '../base/base.gyp:base_static', | 1279 '../base/base.gyp:base_static', |
1314 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 1280 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
1315 '../ipc/ipc.gyp:ipc', | 1281 '../ipc/ipc.gyp:ipc', |
1316 '../media/media.gyp:media', | 1282 '../media/media.gyp:media', |
1317 '../net/net.gyp:net', | 1283 '../net/net.gyp:net', |
1318 'remoting_base', | 1284 'remoting_base', |
1319 'remoting_breakpad', | 1285 'remoting_breakpad', |
1320 'remoting_controller_idl', | 1286 'remoting_controller_idl', |
1321 'remoting_controller_rc', | |
1322 'remoting_host', | 1287 'remoting_host', |
1323 'remoting_host_event_logger', | 1288 'remoting_host_event_logger', |
1324 'remoting_host_logging', | 1289 'remoting_host_logging', |
1325 'remoting_me2me_host_static', | 1290 'remoting_me2me_host_static', |
1326 'remoting_protocol', | 1291 'remoting_protocol', |
1327 'remoting_version_resources', | 1292 'remoting_version_resources', |
1328 ], | 1293 ], |
1329 'sources': [ | 1294 'sources': [ |
1330 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/elevated_controller.rc', | |
1331 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, | 1295 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc'
, |
1332 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_core_version.rc', | 1296 '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_core_version.rc', |
1333 'base/scoped_sc_handle_win.h', | 1297 'base/scoped_sc_handle_win.h', |
1334 'host/chromoting_messages.cc', | 1298 'host/chromoting_messages.cc', |
1335 'host/chromoting_messages.h', | 1299 'host/chromoting_messages.h', |
1336 'host/config_file_watcher.cc', | 1300 'host/config_file_watcher.cc', |
1337 'host/config_file_watcher.h', | 1301 'host/config_file_watcher.h', |
1338 'host/daemon_process.cc', | 1302 'host/daemon_process.cc', |
1339 'host/daemon_process.h', | 1303 'host/daemon_process.h', |
1340 'host/daemon_process_win.cc', | 1304 'host/daemon_process_win.cc', |
(...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2604 '../base/allocator/allocator.gyp:allocator', | 2568 '../base/allocator/allocator.gyp:allocator', |
2605 ], | 2569 ], |
2606 }, | 2570 }, |
2607 ], | 2571 ], |
2608 ], | 2572 ], |
2609 }], # end of 'toolkit_uses_gtk == 1' | 2573 }], # end of 'toolkit_uses_gtk == 1' |
2610 ], # end of 'conditions' | 2574 ], # end of 'conditions' |
2611 }, # end of target 'remoting_unittests' | 2575 }, # end of target 'remoting_unittests' |
2612 ], # end of targets | 2576 ], # end of targets |
2613 } | 2577 } |
OLD | NEW |