Bug 1637452: Part 17 - Fix JNI includes in dom; r=nika

In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75380
This commit is contained in:
Aaron Klotz 2020-05-15 17:06:28 +00:00
parent 87ce5afbf3
commit 7a8903706b
4 changed files with 6 additions and 5 deletions

View File

@ -35,7 +35,8 @@
#include "mozilla/dom/WindowGlobalParent.h"
#ifdef MOZ_WIDGET_ANDROID
# include "GeneratedJNIWrappers.h"
# include "mozilla/java/GeckoResultWrappers.h"
# include "mozilla/java/GeckoRuntimeWrappers.h"
#endif
namespace mozilla {

View File

@ -4,8 +4,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "GeneratedJNIWrappers.h"
#include "GeneratedJNINatives.h"
#include "mozilla/java/AndroidGamepadManagerNatives.h"
#include "mozilla/java/GeckoAppShellWrappers.h"
#include "nsThreadUtils.h"
namespace mozilla {

View File

@ -7,7 +7,7 @@
#include "Geolocation.h"
#include "GeolocationPosition.h"
#include "AndroidLocationProvider.h"
#include "GeneratedJNIWrappers.h"
#include "mozilla/java/GeckoAppShellWrappers.h"
using namespace mozilla;

View File

@ -5,7 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsHapticFeedback.h"
#include "GeneratedJNIWrappers.h"
#include "mozilla/java/GeckoAppShellWrappers.h"
using namespace mozilla;