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

Unified Diff: content/content_tests.gypi

Issue 12091033: Relanding "Add apk for running content_browsertests" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 776c6be68599f8fa9f82a8338ea6488800f2e57a..03e70d0825a3a571a7fb8e403651fcddfbce7c60 100644
--- a/content/content_tests.gypi
+++ b/content/content_tests.gypi
@@ -818,13 +818,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"', {
@@ -963,6 +961,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"', {
@@ -988,7 +1005,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',
@@ -1001,8 +1018,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