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 = [ |