Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1404)

Unified Diff: content/content_tests.gypi

Issue 12047068: Add apk for running content_browsertests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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' ],
« no previous file with comments | « content/content_shell.gypi ('k') | content/public/android/javatests/src/org/chromium/content/browser/CommandLineTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698