Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index d8bff8aba4f91464f6c466e25aafb98412ea2b45..c4e2f995577ca802aa8194a89342a52b6a7aef46 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -1495,6 +1495,19 @@ |
'includes': ['../build/android/java_cpp_template.gypi'], |
}, |
{ |
+ # GN: //base:base_native_test_libraries_gen |
+ 'target_name': 'base_native_test_libraries_gen', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'test/android/java/templates/NativeTestLibraries.template', |
+ ], |
+ 'variables': { |
+ 'package_name': 'org/chromium/base/test/library_loader', |
+ 'template_deps': [], |
+ }, |
+ 'includes': [ '../build/android/java_cpp_template.gypi' ], |
+ }, |
+ { |
# GN: //base:base_android_java_enums_srcjar |
'target_name': 'base_java_library_process_type', |
'type': 'none', |
@@ -1568,9 +1581,11 @@ |
'type': 'none', |
'dependencies': [ |
'base_java', |
+ 'base_native_test_libraries_gen', |
'../testing/android/on_device_instrumentation.gyp:reporter_java', |
], |
'variables': { |
+ 'jar_excluded_classes': [ '*/NativeTestLibraries.class' ], |
'java_in_dir': '../base/test/android/javatests', |
}, |
'includes': [ '../build/java.gypi' ], |