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

Unified Diff: ui/base/BUILD.gn

Issue 266153002: Port ui_base_jni_headers target to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/BUILD.gn
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
index 90012e0c7c9fffe6184abadf91609ed2d675fc42..4362c398678e37d2385e262f619eb85e28fc0296 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -6,6 +6,7 @@ import("//build/config/ui.gni")
if (is_android) {
import("//build/config/android/config.gni")
+ import("//build/config/android/rules.gni")
}
component("ui_base") {
@@ -540,3 +541,18 @@ source_set("ui_base_test_support") {
]
}
}
+
+if (is_android) {
+ generate_jni("ui_base_jni_headers") {
+ sources = [
+ "../android/java/src/org/chromium/ui/base/Clipboard.java",
+ "../android/java/src/org/chromium/ui/base/DeviceFormFactor.java",
+ "../android/java/src/org/chromium/ui/base/LocalizationUtils.java",
+ "../android/java/src/org/chromium/ui/base/SelectFileDialog.java",
+ "../android/java/src/org/chromium/ui/base/TouchDevice.java",
+ "../android/java/src/org/chromium/ui/base/ViewAndroid.java",
+ "../android/java/src/org/chromium/ui/base/WindowAndroid.java",
+ ]
+ jni_package = "base"
+ }
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698