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

Unified Diff: components/url_formatter/android/BUILD.gn

Issue 2110543004: Move JNI bindings for url_formatter from chrome to //components/url_formatter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « components/url_formatter/DEPS ('k') | components/url_formatter/android/component_jni_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/url_formatter/android/BUILD.gn
diff --git a/components/spellcheck/browser/android/BUILD.gn b/components/url_formatter/android/BUILD.gn
similarity index 55%
copy from components/spellcheck/browser/android/BUILD.gn
copy to components/url_formatter/android/BUILD.gn
index 29299405baf58fe6966d140aad8a1e9f82ddb271..b4d97e8c1a119dae4a5d578628b7e5100bccc17a 100644
--- a/components/spellcheck/browser/android/BUILD.gn
+++ b/components/url_formatter/android/BUILD.gn
@@ -4,17 +4,20 @@
import("//build/config/android/rules.gni")
-generate_jni("jni_headers") {
- sources = [
- "java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java",
+android_library("url_formatter_java") {
+ deps = [
+ "//base:base_java",
+ ]
+
+ java_files = [
+ "java/src/org/chromium/components/url_formatter/UrlFormatter.java",
]
- jni_package = "components/spellcheck"
}
-android_library("java") {
- deps = [
- "//base:base_java",
+generate_jni("jni_headers") {
+ sources = [
+ "java/src/org/chromium/components/url_formatter/UrlFormatter.java",
]
- java_files = [ "java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java" ]
+ jni_package = "url_formatter"
}
« no previous file with comments | « components/url_formatter/DEPS ('k') | components/url_formatter/android/component_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698