aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/build_commands.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 48de80811ee..cb4f108400c 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -325,19 +325,19 @@ class MachCommands(CommandBase):
shutil.copy(path.join(env['OPENSSL_LIB_DIR'], "../bin" + msvc_x64, ssl_lib),
servo_exe_dir)
- elif sys.platform == "darwin":
- # On the Mac, set a lovely icon. This makes it easier to pick out the Servo binary in tools
- # like Instruments.app.
- try:
- import Cocoa
- icon_path = path.join(self.get_top_dir(), "resources", "servo.png")
- icon = Cocoa.NSImage.alloc().initWithContentsOfFile_(icon_path)
- if icon is not None:
- Cocoa.NSWorkspace.sharedWorkspace().setIcon_forFile_options_(icon,
- servo_path,
- 0)
- except ImportError:
- pass
+ elif sys.platform == "darwin":
+ # On the Mac, set a lovely icon. This makes it easier to pick out the Servo binary in tools
+ # like Instruments.app.
+ try:
+ import Cocoa
+ icon_path = path.join(self.get_top_dir(), "resources", "servo.png")
+ icon = Cocoa.NSImage.alloc().initWithContentsOfFile_(icon_path)
+ if icon is not None:
+ Cocoa.NSWorkspace.sharedWorkspace().setIcon_forFile_options_(icon,
+ servo_path,
+ 0)
+ except ImportError:
+ pass
# Generate Desktop Notification if elapsed-time > some threshold value
notify_build_done(self.config, elapsed, status == 0)