Auto merge of #27333 - jdm:package-macos, r=asajeffrey

Include gstreamer plugins in macOS nightly package.

Fixes #27318. Fixes #27332.
This commit is contained in:
bors-servo 2020-07-21 16:13:22 -04:00 committed by GitHub
commit 863a7ee08b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

View file

@ -39,7 +39,7 @@ from servo.command_base import (
is_macosx,
is_windows,
)
from servo.gstreamer import macos_dylibs
from servo.gstreamer import macos_dylibs, macos_plugins
from servo.util import delete
# Note: mako cannot be imported at the top level because it breaks mach bootstrap
@ -141,6 +141,7 @@ def copy_dependencies(binary_path, lib_path):
# Update binary libraries
binary_dependencies = set(otool(binary_path))
binary_dependencies = binary_dependencies.union(macos_dylibs())
binary_dependencies = binary_dependencies.union(macos_plugins())
change_non_system_libraries_path(binary_dependencies, relative_path, binary_path)
# Update dependencies libraries