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

Unified Diff: content/app/BUILD.gn

Issue 2784493003: Consolidate JNI registrations for mojo system. (Closed)
Patch Set: Rebase only Created 3 years, 9 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
« no previous file with comments | « no previous file | content/app/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/BUILD.gn
diff --git a/content/app/BUILD.gn b/content/app/BUILD.gn
index 487ba2e7801be4efd20366c43f442eaabb4a4d59..292e42b79feedb8d8443077f2266276688402420 100644
--- a/content/app/BUILD.gn
+++ b/content/app/BUILD.gn
@@ -104,6 +104,18 @@ template("implement_content_app") {
"mojo/mojo_init.h",
]
+ configs += extra_configs
+ deps = content_app_deps + [
+ ":$runner_target_name",
+ "//ipc",
+ "//services/service_manager/embedder",
+ ]
+ forward_variables_from(invoker,
+ [
+ "defines",
+ "visibility",
+ ])
+
if (is_android) {
sources += [
"android/app_jni_registrar.cc",
@@ -116,21 +128,10 @@ template("implement_content_app") {
"android/library_loader_hooks.cc",
"android/library_loader_hooks.h",
]
+ deps += [ "//mojo/android:libsystem_java" ]
} else {
sources += [ "content_main.cc" ]
}
-
- configs += extra_configs
- deps = content_app_deps + [
- ":$runner_target_name",
- "//ipc",
- "//services/service_manager/embedder",
- ]
- forward_variables_from(invoker,
- [
- "defines",
- "visibility",
- ])
}
}
« no previous file with comments | « no previous file | content/app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698