aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2019-10-15 12:57:00 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2019-11-01 08:47:11 -0500
commita358bca7667a2da42024aca4ef619dad6d812862 (patch)
treeacf2cc228afdf6875931d546cc08ec29dfb05362 /python/servo/build_commands.py
parent48d918dcdead5fcf38dbda1dfc0d0ca8284108c2 (diff)
downloadservo-a358bca7667a2da42024aca4ef619dad6d812862.tar.gz
servo-a358bca7667a2da42024aca4ef619dad6d812862.zip
Use surfman for managing GL surfaces
Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com> Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 6702c571f3a..aa99557c7b7 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -694,13 +694,16 @@ class MachCommands(CommandBase):
continue
libs = remaining_libs
if not libs:
- return
+ return True
for lib in libs:
print("WARNING: could not find " + lib)
# UWP build has its own ANGLE library that it packages.
if not uwp:
- package_generated_shared_libraries(["libEGL.dll", "libGLESv2.dll"], build_path, servo_exe_dir)
+ print("Packaging EGL DLLs")
+ egl_libs = ["libEGL.dll", "libGLESv2.dll"]
+ if not package_generated_shared_libraries(egl_libs, build_path, servo_exe_dir):
+ status = 1
# copy needed gstreamer DLLs in to servo.exe dir
print("Packaging gstreamer DLLs")