aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/package_commands.py
diff options
context:
space:
mode:
authorUK992 <urbankrajnc92@gmail.com>2017-02-05 02:34:58 +0100
committerUK992 <urbankrajnc92@gmail.com>2017-02-06 02:28:54 +0100
commitb6b96322c16dc51f4f4fc66250552eee541a6a0b (patch)
treedadb73c9966be03246c2a8ce2386178ab88e214c /python/servo/package_commands.py
parentef2851ad2189d10f284deabb076591131089e734 (diff)
downloadservo-b6b96322c16dc51f4f4fc66250552eee541a6a0b.tar.gz
servo-b6b96322c16dc51f4f4fc66250552eee541a6a0b.zip
Remove freetype dependency on Windows
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r--python/servo/package_commands.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py
index 1da21d24a45..d8c2fbe4924 100644
--- a/python/servo/package_commands.py
+++ b/python/servo/package_commands.py
@@ -117,19 +117,15 @@ def copy_windows_dependencies(binary_path, destination):
"libgcc_s_seh-1.dll",
"libexpat-1.dll",
"zlib1.dll",
- "libpng16-16.dll",
"libiconv-2.dll",
- "libglib-2.0-0.dll",
- "libgraphite2.dll",
- "libfreetype-6.dll",
- "libfontconfig-1.dll",
"libintl-8.dll",
- "libpcre-1.dll",
"libeay32.dll",
"ssleay32.dll",
- "libharfbuzz-0.dll",
]
- [shutil.copy(path.join("C:\\msys64\\mingw64\\bin", d), path.join(destination, d)) for d in deps]
+ for d in deps:
+ dep_path = path.join("C:\\msys64\\mingw64\\bin", d)
+ if path.exists(dep_path):
+ shutil.copy(dep_path, path.join(destination, d))
def change_prefs(resources_path, platform):