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

Unified Diff: base/BUILD.gn

Issue 1283543003: [Android] Add a java.lang.System wrapper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment Created 5 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 | « no previous file | base/android/base_jni_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index ccb580f1dab092a83d7307956864eabd033b4c53..f2b659a9cef546ffa9d9ac3ad4cf201e183a18aa 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -96,6 +96,8 @@ component("base") {
"android/java_handler_thread.h",
"android/java_runtime.cc",
"android/java_runtime.h",
+ "android/java_system.cc",
+ "android/java_system.h",
"android/jni_android.cc",
"android/jni_android.h",
"android/jni_array.cc",
@@ -1562,6 +1564,7 @@ if (is_android) {
deps = [
":android_runtime_jni_headers",
+ ":android_system_jni_headers",
]
jni_package = "base"
@@ -1573,6 +1576,12 @@ if (is_android) {
classes = [ "java/lang/Runtime.class" ]
}
+ # GYP: //base.gyp:android_system_jni_headers
+ generate_jar_jni("android_system_jni_headers") {
+ jni_package = "base"
+ classes = [ "java/lang/System.class" ]
+ }
+
# GYP: //base.gyp:base_java
android_library("base_java") {
srcjar_deps = [
« no previous file with comments | « no previous file | base/android/base_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698