Index: chrome/chrome_tests_unit.gypi |
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi |
index 0c72a920f2771fc548cac29dcd3ce7a59791c9e9..ec36a699fdd823e755437ecc20e4e63c2772c4b1 100644 |
--- a/chrome/chrome_tests_unit.gypi |
+++ b/chrome/chrome_tests_unit.gypi |
@@ -2798,15 +2798,28 @@ |
['OS == "android" and gtest_target_type == "shared_library"', { |
'targets': [ |
{ |
+ 'target_name': 'unit_tests_java', |
+ 'type': 'none', |
+ 'variables': { |
+ 'java_in_dir': 'test/android/unit_tests_apk', |
+ }, |
+ 'dependencies': [ |
+ 'chrome_java', |
+ ], |
+ 'includes': [ '../build/java.gypi' ], |
+ }, |
+ { |
'target_name': 'unit_tests_apk', |
'type': 'none', |
'dependencies': [ |
'chrome_java', |
+ 'unit_tests_java', |
'unit_tests', |
], |
'variables': { |
'test_suite_name': 'unit_tests', |
'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)unit_tests<(SHARED_LIB_SUFFIX)', |
+ 'android_manifest_path': 'test/android/unit_tests_apk/AndroidManifest.xml', |
}, |
'includes': [ '../build/apk_test.gypi' ], |
}, |