servo/python/servo
bors-servo cdd5dc17aa
Auto merge of #25736 - Darkspirit:ossl, r=jdm
Add OpenSSL 1.1.1 build check, Update HSTS Preload list

* This variant also works with cross-compilation. PR should fail in CI on Android at first:
  The net crate successfully compiled after switching to OpenSSL 1.1.1 on Android. It seemed openssl.sh doesn't need any changes.(?)
* Updated HSTS preload list and public suffix list.
* Configured OpenSSL [SECLEVEL=2](https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_security_level.html) like [Debian](https://wiki.debian.org/ContinuousIntegration/TriagingTips/openssl-1.1.1) Stable:
  > As a result RSA, DSA and DH keys shorter than [2048 bits](16a5a9bb78/docs/BR.md (6153-subscriber-certificates)) and ECC keys shorter than 224 bits are prohibited.
* Although all other crates compile I generally get a `libscript-fe019dd3e0a4e06d.rlib: bad extended name index at 8` error on simpleservo_jniapi, I guess Debian Testing is too new and I just haven't found the right steps so far.
./mach build -d --android
```
  = note: /home/darkspirit/github/servo/android-toolchains/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/darkspirit/github/servo/target/android/armv7-linux-androideabi/debug/deps/libscript-fe019dd3e0a4e06d.rlib: bad extended name index at 8
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          toolchain: /home/darkspirit/github/servo/android-toolchains/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin
          libs dir: /home/darkspirit/github/servo/android-toolchains/ndk/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a
          sysroot: /home/darkspirit/github/servo/android-toolchains/ndk/platforms/android-21/arch-arm
          targetdir: /home/darkspirit/github/servo/target/android/armv7-linux-androideabi/debug/build/simpleservo_jniapi-26ef18debb5b3630/out/../../..
```

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25708, fix #25619.
2020-02-14 12:57:22 -05:00
..
lints Run test-tidy on Windows 2019-11-21 09:56:39 +01:00
mutation Improve print statement compatibility with Python3 2019-10-16 00:22:06 +01:00
__init__.py Fix tidy issues with Python files in python/ 2015-06-02 19:51:41 -04:00
bootstrap.py Auto merge of #24857 - pshaughn:master, r=jdm 2019-11-25 13:09:42 -05:00
bootstrap_commands.py Mach: rename default_toolchain to rust_toolchain 2020-01-02 14:20:18 +01:00
build_commands.py Auto merge of #25736 - Darkspirit:ossl, r=jdm 2020-02-14 12:57:22 -05:00
command_base.py Correctly install 'nigthtly' (without a date) if it’s not installed already. 2020-01-31 12:30:22 +01:00
devenv_commands.py mach + rustup: use the minimal profile and install rustc-dev 2020-01-02 15:48:11 +01:00
package_commands.py Always construct TC API URLs from $TASKCLUSTER_PROXY_URL or $TASKCLUSTER_ROOT_URL 2019-11-05 14:25:33 +01:00
packages.py Update windows llvm to 8.0.1. 2020-01-23 13:44:07 +00:00
post_build_commands.py Install rust-docs rustup component in ./mach doc 2020-01-02 15:48:11 +01:00
servo-binary-formula.rb.in Change servo homepage link to https 2018-11-27 19:01:20 +01:00
testing_commands.py Add default arguments so that ./mach test --all works 2020-01-19 13:20:36 -04:00
util.py fix zip extraction for python 3 2020-02-07 17:56:30 +09:00
win32_toast.py Add proper Win32 notification for builds 2016-08-17 09:50:58 -04:00