aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-07-24 16:11:14 -0400
committerGitHub <noreply@github.com>2019-07-24 16:11:14 -0400
commit82f649751c045730419f9d1704305717c4f346ec (patch)
treed8c3dee171e12336069d1174679a468804d684fe /python/servo
parentb8af92a3efb6d9e97216414357bb92b2cbf29851 (diff)
parent5d5d028b5070ddca90664a53898181a2b9e2279d (diff)
downloadservo-82f649751c045730419f9d1704305717c4f346ec.tar.gz
servo-82f649751c045730419f9d1704305717c4f346ec.zip
Auto merge of #23835 - jdm:arm64-openssl, r=paulrouget
Use openssl dependency that works on arm64. This uses binaries that I generated with https://github.com/servo/openssl-src-rs/tree/servo and https://github.com/servo/openssl/tree/servo that don't crash on arm64. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23811 - [x] These changes do not require tests can't run automated tests for arm64 windows. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23835) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/bootstrap.py3
-rw-r--r--python/servo/build_commands.py2
-rw-r--r--python/servo/command_base.py2
-rw-r--r--python/servo/packages.py2
4 files changed, 5 insertions, 4 deletions
diff --git a/python/servo/bootstrap.py b/python/servo/bootstrap.py
index c83a196cfbd..30c009922d6 100644
--- a/python/servo/bootstrap.py
+++ b/python/servo/bootstrap.py
@@ -11,6 +11,7 @@ import os
import platform
import shutil
import subprocess
+import urllib
from subprocess import PIPE
from zipfile import BadZipfile
@@ -292,7 +293,7 @@ def windows_msvc(context, force=False):
def prepare_file(zip_path, full_spec):
if not os.path.isfile(zip_path):
- zip_url = "{}{}.zip".format(deps_url, full_spec)
+ zip_url = "{}{}.zip".format(deps_url, urllib.quote(full_spec))
download_file(full_spec, zip_url, zip_path)
print("Extracting {}...".format(full_spec), end='')
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 9a0043454c8..d7370881a47 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -578,7 +578,7 @@ class MachCommands(CommandBase):
call(["editbin", "/nologo", "/subsystem:windows", path.join(servo_exe_dir, "servo.exe")],
verbose=verbose)
# on msvc, we need to copy in some DLLs in to the servo.exe dir
- for ssl_lib in ["libeay32.dll", "ssleay32.dll"]:
+ for ssl_lib in ["libssl.dll", "libcrypto.dll"]:
shutil.copy(path.join(env['OPENSSL_LIB_DIR'], "../bin", ssl_lib),
servo_exe_dir)
# Search for the generated nspr4.dll
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 57e729dc92c..e8807397034 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -610,7 +610,7 @@ install them, let us know by filing a bug!")
# Link openssl
env["OPENSSL_INCLUDE_DIR"] = path.join(openssl_base_dir, "include")
env["OPENSSL_LIB_DIR"] = path.join(openssl_base_dir, "lib")
- env["OPENSSL_LIBS"] = "libeay32:ssleay32"
+ env["OPENSSL_LIBS"] = "libssl:libcrypto"
# Link moztools, used for building SpiderMonkey
env["MOZTOOLS_PATH"] = os.pathsep.join([
path.join(package_dir("moztools"), "bin"),
diff --git a/python/servo/packages.py b/python/servo/packages.py
index 3e7e3ccf67c..2d10156ad22 100644
--- a/python/servo/packages.py
+++ b/python/servo/packages.py
@@ -7,5 +7,5 @@ WINDOWS_MSVC = {
"llvm": "8.0.0",
"moztools": "3.2",
"ninja": "1.7.1",
- "openssl": "1.0.2q-vs2017",
+ "openssl": "111.3.0+1.1.1c-vs2017",
}