Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index 6eaddd2d185a9e2255c1d32d24db46ccc6c90518..773cfdba76fd6934cf481cee43c0d9c038889dce 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -1693,7 +1693,10 @@ if (is_android) { |
":base_java", |
"//testing/android/reporter:reporter_java", |
] |
+ srcjar_deps = [ ":base_native_test_libraries_gen" ] |
DEPRECATED_java_in_dir = "test/android/javatests/src" |
+ |
+ jar_excluded_patterns = [ "*/NativeTestLibraries.class" ] |
} |
# TODO(jbudorick): Remove this once we roll to robolectric 3.0 and pull |
@@ -1754,6 +1757,14 @@ if (is_android) { |
package_name = "org/chromium/base/library_loader" |
} |
+ # GYP: //base/base.gyp:base_native_test_libraries_gen |
+ java_cpp_template("base_native_test_libraries_gen") { |
+ sources = [ |
+ "test/android/java/templates/NativeTestLibraries.template", |
+ ] |
+ package_name = "org/chromium/base/test/library_loader" |
+ } |
+ |
# GYP: //base.gyp:base_java_unittest_support |
android_library("base_java_unittest_support") { |
deps = [ |