Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops: do not dedupe webkit archives (#15565)
Andrey Lushnikov38f8c92a2837
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBERindex fadcce529d..d4eb58039e 100644--- a/browser_patches/webkit/BUILD_NUMBER+++ b/browser_patches/webkit/BUILD_NUMBER@@ -1,2 +1,2 @@-1680-Changed: [email protected] Tue Jul 12 00:36:09 MSK 2022+1681+Changed: [email protected] Tue Jul 12 14:07:22 MSK 2022diff --git a/browser_patches/webkit/archive.sh b/browser_patches/webkit/archive.shindex 4d9183f07a..f7be8ab94c 100755--- a/browser_patches/webkit/archive.sh+++ b/browser_patches/webkit/archive.sh@@ -28,9 +28,9 @@ if ! [[ -d $(dirname "$ZIP_PATH") ]]; thenexit 1fi-IS_UNIVERSAL=""+IS_UNIVERSAL_BUILD=""if [[ $2 == "--universal" ]]; then- IS_UNIVERSAL=1+ IS_UNIVERSAL_BUILD=1fimain() {@@ -67,7 +67,7 @@ createZipForLinux() {# Generate and unpack MiniBrowser bundles for each portfor port in gtk wpe; do- if [[ -n "${IS_UNIVERSAL}" ]]; then+ if [[ -n "${IS_UNIVERSAL_BUILD}" ]]; thenTools/Scripts/generate-bundle \--syslibs=bundle-all \--bundle=MiniBrowser --release \@@ -85,16 +85,14 @@ createZipForLinux() {cd "$tmpdir"- # De-duplicate common files: convert to relative symlinks identical files (same hash).- # Note: ubuntu 18.04 does not support "deterministic" argument.- local CURRENT_HOST_OS="$(bash -c 'source /etc/os-release && echo $NAME')"- local CURRENT_HOST_OS_VERSION="$(bash -c 'source /etc/os-release && echo $VERSION_ID')"- if [[ "${CURRENT_HOST_OS}" == "Ubuntu" && "${CURRENT_HOST_OS_VERSION}" == "18.04" ]]; then- rdfind -makesymlinks true -makehardlinks false -makeresultsfile false .- else+ if [[ -n "${IS_UNIVERSAL_BUILD}" ]]; then+ # De-duplicate common files: convert to relative symlinks identical files (same hash).+ # We apply this algorithm only to unified build since in JHBuild WPE/Minibrowser+ # and GTK/Minibrowser executables are identical and should not be symlinked.rdfind -deterministic true -makesymlinks true -makehardlinks false -makeresultsfile false .+ symlinks -rc .fi- symlinks -rc .+# zip resulting directory and cleanup TMP.zip --symlinks -r "$ZIP_PATH" ./cd -diff --git a/browser_patches/webkit/build.sh b/browser_patches/webkit/build.shindex 4af7549432..70299f3e7f 100755--- a/browser_patches/webkit/build.sh+++ b/browser_patches/webkit/build.sh@@ -66,13 +66,12 @@ build_wpe() {}ensure_linux_deps() {- SUDO="" ; [ $UID -ne 0 ] && SUDO="sudo"-- # These two packages are needed to de-duplicate files on the GTK+WPE bundle and reduce its size.- DEBIAN_FRONTEND=noninteractive ${SUDO} apt-get install -y symlinks rdfindif [[ -n "${IS_UNIVERSAL_BUILD}" ]]; then- DEBIAN_FRONTEND=noninteractive ${SUDO} apt-get install -y flatpak+ SUDO="" ; [ $UID -ne 0 ] && SUDO="sudo"+ # - flatpak drives the build+ # - symlinks and rdfind are needed to de-duplicate files on the GTK+WPE bundle to reduce its size.+ DEBIAN_FRONTEND=noninteractive ${SUDO} apt-get install -y flatpak symlinks rdfindfiyes | DEBIAN_FRONTEND=noninteractive ./Tools/gtk/install-dependencies