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

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: gyp: conditionally exclude Android sources Created 4 years, 6 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: components/url_formatter/android/BUILD.gn
diff --git a/components/url_formatter/android/BUILD.gn b/components/url_formatter/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..9070dc7799d01256e44dfce56e45942d074cde7f
--- /dev/null
+++ b/components/url_formatter/android/BUILD.gn
@@ -0,0 +1,22 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/android/rules.gni")
+
+android_library("url_formatter_java") {
+ deps = [
+ "//base:base_java",
+ ]
+
+ java_files =
+ [ "java/src/org/chromium/components/url_formatter/UrlFormatter.java" ]
Peter Kasting 2016/07/01 06:59:33 Nit: Should this be formatted like the others?:
+}
+
+generate_jni("jni_headers") {
+ sources = [
+ "java/src/org/chromium/components/url_formatter/UrlFormatter.java",
+ ]
+
+ jni_package = "url_formatter"
+}

Powered by Google App Engine
This is Rietveld 408576698