Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Unified Diff: remoting/tools/me2me_virtual_host.py

Issue 9567010: Making the me2me host compiling and running on Windows. This includes making it a window applicatio… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« remoting/remoting.gyp ('K') | « remoting/remoting.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/tools/me2me_virtual_host.py
diff --git a/remoting/tools/me2me_virtual_host.py b/remoting/tools/me2me_virtual_host.py
index e6fa6bbcd71fc1ba66dfce667950b4db3d914a93..c4e173a22feb5bbfd8339963293fbadc6bd0ea04 100755
--- a/remoting/tools/me2me_virtual_host.py
+++ b/remoting/tools/me2me_virtual_host.py
@@ -581,8 +581,9 @@ def main():
atexit.register(cleanup)
- for s in [signal.SIGHUP, signal.SIGINT, signal.SIGTERM, signal.SIGUSR1]:
- signal.signal(s, signal_handler)
+ if os.name == 'posix':
+ for s in [signal.SIGHUP, signal.SIGINT, signal.SIGTERM, signal.SIGUSR1]:
+ signal.signal(s, signal_handler)
Wez 2012/03/01 18:03:06 We won't be using this script on Windows & Mac, th
alexeypa (please no reviews) 2012/03/01 20:33:58 I guess so. It was an easy way to get me2me config
Wez 2012/03/01 21:11:36 There is a separate register_host.py script for re
Lambros 2012/03/01 21:15:41 This script is almost entirely Linux-specific. I
# Ensure full path to config directory exists.
if not os.path.exists(CONFIG_DIR):
« remoting/remoting.gyp ('K') | « remoting/remoting.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698