Bug 1337129 - Fix up #include paths used in unit tests for new intl services. r=gandalf

This commit is contained in:
Jonathan Kew 2017-02-08 21:12:14 +00:00
parent 29148d1da2
commit 928fbd7db2
4 changed files with 6 additions and 7 deletions

View File

@ -8,6 +8,9 @@ XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
if CONFIG['ENABLE_INTL_API']:
SOURCES += ['OSPreferences.cpp']
EXPORTS.mozilla.intl += [
'OSPreferences.h',
]
toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
@ -40,7 +43,7 @@ EXPORTS += [
]
EXPORTS.mozilla.intl += [
'LocaleService.h'
'LocaleService.h',
]
UNIFIED_SOURCES += [

View File

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gtest/gtest.h"
#include "LocaleService.h"
#include "mozilla/intl/LocaleService.h"
#include "mozilla/Services.h"
#include "nsIToolkitChromeRegistry.h"

View File

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gtest/gtest.h"
#include "OSPreferences.h"
#include "mozilla/intl/OSPreferences.h"
using namespace mozilla::intl;

View File

@ -14,8 +14,4 @@ if CONFIG['ENABLE_INTL_API']:
'TestOSPreferences.cpp',
]
LOCAL_INCLUDES += [
'/intl/locale',
]
FINAL_LIBRARY = 'xul-gtest'