Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: chromecast/android/cast_jni_registrar.cc

Issue 2199973003: Android JNI gen: Don't emit code for empty RegisterNatives() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: Android JNI gen: Don't emit code for empty RegisterNatives() Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromecast/android/cast_jni_registrar.cc
diff --git a/chromecast/android/cast_jni_registrar.cc b/chromecast/android/cast_jni_registrar.cc
index eccbf0006ecbabbe30b654a1e4a4af84cbf39cc0..076be57635010479bd2ab13a3f4dcd6573ab87ea 100644
--- a/chromecast/android/cast_jni_registrar.cc
+++ b/chromecast/android/cast_jni_registrar.cc
@@ -8,12 +8,8 @@
#include "base/android/jni_registrar.h"
#include "base/macros.h"
#include "chromecast/android/cast_metrics_helper_android.h"
-#include "chromecast/app/android/crash_handler.h"
-#include "chromecast/base/android/dumpstate_writer.h"
#include "chromecast/base/android/system_time_change_notifier_android.h"
-#include "chromecast/base/cast_sys_info_android.h"
#include "chromecast/base/chromecast_config_android.h"
-#include "chromecast/browser/android/cast_window_android.h"
#include "chromecast/browser/android/cast_window_manager.h"
#include "components/external_video_surface/component_jni_registrar.h"
@@ -24,12 +20,8 @@ namespace {
static base::android::RegistrationMethod kMethods[] = {
{ "CastMetricsHelperAndroid", CastMetricsHelperAndroid::RegisterJni },
- { "CastSysInfoAndroid", CastSysInfoAndroid::RegisterJni },
- { "CastWindowAndroid", shell::CastWindowAndroid::RegisterJni },
{ "CastWindowManager", shell::RegisterCastWindowManager },
{ "ChromecastConfigAndroid", ChromecastConfigAndroid::RegisterJni },
- { "CrashHandler", CrashHandler::RegisterCastCrashJni },
- { "DumpstateWriter", DumpstateWriter::RegisterJni },
{ "ExternalVideoSurfaceContainer",
external_video_surface::RegisterExternalVideoSurfaceJni },
{ "SystemTimeChangeNotifierAndroid",
« no previous file with comments | « base/android/jni_generator/testNativeExportsOnlyOption.golden ('k') | chromecast/app/android/crash_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698