Index: content/content_tests.gypi |
diff --git a/content/content_tests.gypi b/content/content_tests.gypi |
index 9b286a312657f5cef6f54a6ea151b9dc3308e274..51ab3ffd83b977a36526c7ede62013f1e0682127 100644 |
--- a/content/content_tests.gypi |
+++ b/content/content_tests.gypi |
@@ -815,13 +815,11 @@ |
'common/content_constants_internal.h', |
], |
'sources': [ |
- 'shell/android/shell_library_loader.cc', |
- 'shell/android/shell_library_loader.cc', |
- 'shell/android/shell_manager.cc', |
- 'shell/android/shell_manager.h', |
+ 'shell/android/browsertests_apk/content_browser_tests_android.cc', |
], |
'dependencies': [ |
'content_shell_jni_headers', |
+ 'content_shell_lib', |
], |
}], |
['OS=="mac"', { |
@@ -960,6 +958,25 @@ |
}, |
'includes': [ '../build/apk_test.gypi' ], |
}, |
+ { |
+ 'target_name': 'content_browsertests_apk', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'content_browsertests', |
+ 'content_java', |
+ 'content_shell_java', |
+ ], |
+ 'variables': { |
+ 'package_name': 'content_browsertests_apk', |
+ 'apk_name': 'content_browsertests', |
+ 'java_in_dir': 'shell/android/browsertests_apk', |
+ 'resource_dir': 'res', |
+ 'native_libs_paths': ['<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_browsertests<(SHARED_LIB_SUFFIX)'], |
+ 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'], |
+ 'asset_location': '<(ant_build_out)/content_shell/assets', |
+ }, |
+ 'includes': [ '../build/java_apk.gypi' ], |
+ }, |
], |
}], |
['OS == "android"', { |
@@ -985,7 +1002,7 @@ |
'dependencies': [ |
'content_java', |
'content_java_test_support', |
- 'content_shell_java', |
+ 'content_shell_apk_java', |
'../base/base.gyp:base_java', |
'../base/base.gyp:base_java_test_support', |
'../media/media.gyp:media_java', |
@@ -998,8 +1015,8 @@ |
'package_name': 'content_shell_test', |
'apk_name': 'ContentShellTest', |
'java_in_dir': '../content/shell/android/javatests', |
- 'resource_dir': '../res', |
- 'additional_src_dirs': ['../content/public/android/javatests/'], |
+ 'additional_src_dirs': ['../content/public/android/javatests/',], |
+ 'resource_dir': '../shell_apk/res', |
'is_test_apk': 1, |
}, |
'includes': [ '../build/java_apk.gypi' ], |