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

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: 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') | net/dns/dns_config_service_posix.cc » ('J')
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 6f364a95bdfc6691492d262f66216d746fd95b9d..4b994ce654a65e9188279eafc65adb50a61d3d9c 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -101,6 +101,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",
@@ -1567,6 +1569,7 @@ if (is_android) {
deps = [
":android_runtime_jni_headers",
+ ":android_system_jni_headers",
]
jni_package = "base"
@@ -1578,6 +1581,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') | net/dns/dns_config_service_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698