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

Unified Diff: content/content_tests.gypi

Issue 17076008: content_shell: Move BrowserTestSystemMessageHandler and use it in layout tests for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 7c999c0f0a220e4c796814dda864e236099dc9b4..751ffa010833f928e6eb23d43bfe29144c3c84af 100644
--- a/content/content_tests.gypi
+++ b/content/content_tests.gypi
@@ -49,6 +49,8 @@
'public/test/mock_render_thread.h',
'public/test/mock_resource_context.cc',
'public/test/mock_resource_context.h',
+ 'public/test/nested_message_pump_android.cc',
+ 'public/test/nested_message_pump_android.h',
'public/test/render_view_fake_resources_test.cc',
'public/test/render_view_fake_resources_test.h',
'public/test/render_view_test.cc',
@@ -231,6 +233,11 @@
'../third_party/libvpx/libvpx.gyp:libvpx',
],
}],
+ ['OS=="android"', {
+ 'dependencies': [
+ 'test_support_content_jni_headers',
+ ],
+ }],
],
},
{
@@ -844,8 +851,6 @@
'renderer/savable_resources_browsertest.cc',
'test/accessibility_browser_test_utils.cc',
'test/accessibility_browser_test_utils.h',
- 'test/browser_test_message_pump_android.cc',
- 'test/browser_test_message_pump_android.h',
'test/content_browser_test.h',
'test/content_browser_test.cc',
'test/content_browser_test_utils.cc',
@@ -1133,6 +1138,7 @@
'dependencies': [
'content_browsertests',
'content_java',
+ 'content_java_test_support',
'content_shell_java',
],
'variables': {
@@ -1162,6 +1168,22 @@
['OS == "android"', {
'targets': [
{
+ 'target_name': 'test_support_content_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'public/test/android/javatests/src/org/chromium/content/browser/test/NestedSystemMessageHandler.java',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)/content/public/test',
+ ],
+ },
+ 'variables': {
+ 'jni_gen_package': 'content/public/test',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ {
'target_name': 'content_java_test_support',
'type': 'none',
'dependencies': [

Powered by Google App Engine
This is Rietveld 408576698