From 28f774243d6a5b3c745cb857776fc24a58113ed2 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 23 Jun 2017 04:02:12 +0000 Subject: [PATCH] Bug 1375693 - Don't build OpenVR on Tier3 due to lack of open source runtime. r=kip MozReview-Commit-ID: 6GYN5xRSZ2D --HG-- extra : rebase_source : aea410a33baeef0f2e3ba99b9f27c3cc07f7365c --- gfx/vr/moz.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/vr/moz.build b/gfx/vr/moz.build index 1d488f545581..2b1d69c58a3f 100644 --- a/gfx/vr/moz.build +++ b/gfx/vr/moz.build @@ -36,7 +36,7 @@ UNIFIED_SOURCES += [ ] # Build OpenVR on Windows, Linux, and macOS desktop targets -if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'uikit', 'windows', 'gtk2', 'gtk3'): +if CONFIG['OS_TARGET'] in ('WINNT', 'Linux', 'Darwin'): DIRS += [ 'openvr', ] @@ -44,7 +44,7 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('cocoa', 'uikit', 'windows', 'gtk2', 'gtk3') 'gfxVROpenVR.cpp', ] -if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': +if CONFIG['OS_TARGET'] == 'WINNT': SOURCES += [ 'gfxVROculus.cpp', ]