Bug 1447913 - Enable Skia GPU on OpenBSD. r?lsalzman draft
authorLandry Breuil <landry@openbsd.org>
Wed, 21 Mar 2018 20:31:00 +0000
changeset 771188 3328f00f959d2e0df19af1e50341604150fb0cb2
parent 771101 55a387ceb6b9c16fb5822cf02699f494a796e5c8
push id103599
push userbmo:jbeich@FreeBSD.org
push dateThu, 22 Mar 2018 17:21:36 +0000
reviewerslsalzman
bugs1447913
milestone61.0a1
Bug 1447913 - Enable Skia GPU on OpenBSD. r?lsalzman MozReview-Commit-ID: KXQf3C4TS35
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -896,18 +896,18 @@ set_define('SK_BUILD_FOR_ANDROID_NDK', s
 
 option('--disable-skia-gpu', help='Disable use of Skia-GPU')
 
 @depends('--disable-skia-gpu', skia, target)
 def skia_gpu(value, skia, target):
     if value.origin == 'default':
         if not skia:
             return None
-        # Skia GPU support may not reliably build on certain *BSDs (see bug 1234494)
-        if target.os in ('NetBSD', 'OpenBSD'):
+        # Bug 1447962: Doesn't build on NetBSD due to missing per-thread locale support
+        if target.os == 'NetBSD':
             return None
     elif value and not skia:
         die('Cannot enable Skia-GPU without enabling Skia')
     if skia and value:
         return True
 
 set_config('MOZ_ENABLE_SKIA_GPU', skia_gpu)
 set_define('USE_SKIA_GPU', skia_gpu)