From 81dddc58d9d7f64b7fbccb81ed79fdb82af3846a Mon Sep 17 00:00:00 2001
From: serge-sans-paille <sguelton@mozilla.com>
Date: Mon, 27 Feb 2023 13:42:58 +0000
Subject: [PATCH] Bug 1818441 - Make intl/locale/tests/gtest buildable outside
 of a unified build environment r=andi

Depends on D170723

Differential Revision: https://phabricator.services.mozilla.com/D170724
---
 intl/locale/tests/gtest/TestOSPreferences.cpp | 1 +
 intl/locale/tests/gtest/moz.build             | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/intl/locale/tests/gtest/TestOSPreferences.cpp b/intl/locale/tests/gtest/TestOSPreferences.cpp
index e98bf25025024..7e3b71582b120 100644
--- a/intl/locale/tests/gtest/TestOSPreferences.cpp
+++ b/intl/locale/tests/gtest/TestOSPreferences.cpp
@@ -7,6 +7,7 @@
 #include "mozilla/ArrayUtils.h"
 #include "mozilla/gtest/MozAssertions.h"
 #include "mozilla/Preferences.h"
+#include "mozilla/intl/LocaleService.h"
 #include "mozilla/intl/OSPreferences.h"
 
 using namespace mozilla::intl;
diff --git a/intl/locale/tests/gtest/moz.build b/intl/locale/tests/gtest/moz.build
index 79f0326cbe5a1..bd2a2b8f86e68 100644
--- a/intl/locale/tests/gtest/moz.build
+++ b/intl/locale/tests/gtest/moz.build
@@ -12,5 +12,3 @@ UNIFIED_SOURCES += [
 ]
 
 FINAL_LIBRARY = "xul-gtest"
-
-REQUIRES_UNIFIED_BUILD = True
-- 
GitLab