Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index 5155e52c3258a42c9362ed04cbd36e5aa5ec90c1..0f74db1e4c429f53e91233d15c60ee7d0f49b97b 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -1336,6 +1336,7 @@ test("base_unittests") { |
} |
if (is_android) { |
+ # GYP: //base.gyp:base_jni_headers |
generate_jni("base_jni_headers") { |
sources = [ |
"android/java/src/org/chromium/base/ApplicationStatus.java", |
@@ -1361,6 +1362,7 @@ if (is_android) { |
jni_package = "base" |
} |
+ # GYP: //base.gyp:base_java |
android_library("base_java") { |
srcjar_deps = [ |
":base_java_application_state", |
@@ -1382,6 +1384,16 @@ if (is_android) { |
] |
} |
+ # GYP: //base.gyp:base_javatests |
+ android_library("base_javatests") { |
+ deps = [ |
+ ":base_java", |
+ ":base_java_test_support", |
+ ] |
+ DEPRECATED_java_in_dir = "android/javatests/src" |
+ } |
+ |
+ # GYP: //base.gyp:base_java_test_support |
android_library("base_java_test_support") { |
deps = [ |
":base_java", |
@@ -1389,6 +1401,7 @@ if (is_android) { |
DEPRECATED_java_in_dir = "test/android/javatests/src" |
} |
+ # GYP: //base.gyp:base_java_application_state |
java_cpp_template("base_java_application_state") { |
sources = [ |
"android/java/src/org/chromium/base/ApplicationState.template", |
@@ -1400,6 +1413,7 @@ if (is_android) { |
package_name = "org/chromium/base" |
} |
+ # GYP: //base.gyp:base_java_memory_pressure_level_list |
java_cpp_template("base_java_memory_pressure_level_list") { |
sources = [ |
"android/java/src/org/chromium/base/MemoryPressureLevelList.template", |
@@ -1411,6 +1425,7 @@ if (is_android) { |
package_name = "org/chromium/base" |
} |
+ # GYP: //base/base.gyp:base_native_libraries_gen |
java_cpp_template("base_native_libraries_gen") { |
sources = [ |
"android/java/templates/NativeLibraries.template", |
@@ -1418,6 +1433,7 @@ if (is_android) { |
package_name = "org/chromium/base/library_loader" |
} |
+ # GYP: //base.gyp:base_java_unittest_support |
android_library("base_java_unittest_support") { |
deps = [":base_java"] |
java_files = [ |
@@ -1425,6 +1441,7 @@ if (is_android) { |
] |
} |
+ # GYP: //base.gyp:base_unittests_apk |
unittest_apk("base_unittests_apk") { |
deps = [ |
":base_java", |