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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'test_support_content', 8 'target_name': 'test_support_content',
9 'type': 'static_library', 9 'type': 'static_library',
10 'defines!': ['CONTENT_IMPLEMENTATION'], 10 'defines!': ['CONTENT_IMPLEMENTATION'],
11 'dependencies': [ 11 'dependencies': [
12 '../media/media.gyp:media', 12 '../media/media.gyp:media',
13 '../net/net.gyp:net_test_support', 13 '../net/net.gyp:net_test_support',
14 '../skia/skia.gyp:skia', 14 '../skia/skia.gyp:skia',
15 '../testing/gmock.gyp:gmock', 15 '../testing/gmock.gyp:gmock',
16 '../testing/gtest.gyp:gtest', 16 '../testing/gtest.gyp:gtest',
17 '../ui/ui.gyp:ui_test_support', 17 '../ui/ui.gyp:ui_test_support',
18 '../url/url.gyp:url_lib', 18 '../url/url.gyp:url_lib',
19 'content_app', 19 'content_app',
20 'content_browser', 20 'content_browser',
21 'content_common', 21 'content_common',
22 ], 22 ],
23 'include_dirs': [ 23 'include_dirs': [
24 '..', 24 '..',
25 ], 25 ],
26 'sources': [ 26 'sources': [
27 'public/test/browser_test_base.cc', 27 'public/test/browser_test_base.cc',
28 'public/test/browser_test_base.h', 28 'public/test/browser_test_base.h',
29 'public/test/browser_test.h', 29 'public/test/browser_test.h',
30 'public/test/browser_test_message_pump_android.cc',
31 'public/test/browser_test_message_pump_android.h',
30 'public/test/browser_test_utils.cc', 32 'public/test/browser_test_utils.cc',
31 'public/test/browser_test_utils.h', 33 'public/test/browser_test_utils.h',
32 'public/test/content_test_suite_base.cc', 34 'public/test/content_test_suite_base.cc',
33 'public/test/content_test_suite_base.h', 35 'public/test/content_test_suite_base.h',
34 'public/test/download_test_observer.cc', 36 'public/test/download_test_observer.cc',
35 'public/test/download_test_observer.h', 37 'public/test/download_test_observer.h',
36 'public/test/fake_speech_recognition_manager.cc', 38 'public/test/fake_speech_recognition_manager.cc',
37 'public/test/fake_speech_recognition_manager.h', 39 'public/test/fake_speech_recognition_manager.h',
38 'public/test/js_injection_ready_observer.h', 40 'public/test/js_injection_ready_observer.h',
39 'public/test/layouttest_support.h', 41 'public/test/layouttest_support.h',
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 ['OS=="win"', { 226 ['OS=="win"', {
225 'dependencies': [ 227 'dependencies': [
226 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', 228 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
227 ], 229 ],
228 }], 230 }],
229 ['OS!="android" and OS!="ios"', { 231 ['OS!="android" and OS!="ios"', {
230 'dependencies': [ 232 'dependencies': [
231 '../third_party/libvpx/libvpx.gyp:libvpx', 233 '../third_party/libvpx/libvpx.gyp:libvpx',
232 ], 234 ],
233 }], 235 }],
236 ['OS=="android"', {
237 'dependencies': [
238 'test_support_content_jni_headers',
239 ],
240 }],
234 ], 241 ],
235 }, 242 },
236 { 243 {
237 'target_name': 'content_unittests', 244 'target_name': 'content_unittests',
238 'type': '<(gtest_target_type)', 245 'type': '<(gtest_target_type)',
239 'defines!': ['CONTENT_IMPLEMENTATION'], 246 'defines!': ['CONTENT_IMPLEMENTATION'],
240 'dependencies': [ 247 'dependencies': [
241 'content_browser', 248 'content_browser',
242 'content_common', 249 'content_common',
243 'test_support_content', 250 'test_support_content',
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 'renderer/pepper/pepper_graphics_2d_host_unittest.cc', 843 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
837 'renderer/pepper/pepper_url_request_unittest.cc', 844 'renderer/pepper/pepper_url_request_unittest.cc',
838 'renderer/render_thread_impl_browsertest.cc', 845 'renderer/render_thread_impl_browsertest.cc',
839 'renderer/render_view_browsertest.cc', 846 'renderer/render_view_browsertest.cc',
840 'renderer/render_view_browsertest_mac.mm', 847 'renderer/render_view_browsertest_mac.mm',
841 'renderer/render_widget_browsertest.cc', 848 'renderer/render_widget_browsertest.cc',
842 'renderer/resource_fetcher_browsertest.cc', 849 'renderer/resource_fetcher_browsertest.cc',
843 'renderer/savable_resources_browsertest.cc', 850 'renderer/savable_resources_browsertest.cc',
844 'test/accessibility_browser_test_utils.cc', 851 'test/accessibility_browser_test_utils.cc',
845 'test/accessibility_browser_test_utils.h', 852 'test/accessibility_browser_test_utils.h',
846 'test/browser_test_message_pump_android.cc',
847 'test/browser_test_message_pump_android.h',
848 'test/content_browser_test.h', 853 'test/content_browser_test.h',
849 'test/content_browser_test.cc', 854 'test/content_browser_test.cc',
850 'test/content_browser_test_utils.cc', 855 'test/content_browser_test_utils.cc',
851 'test/content_browser_test_utils.h', 856 'test/content_browser_test_utils.h',
852 'test/content_browser_test_utils_mac.mm', 857 'test/content_browser_test_utils_mac.mm',
853 'test/content_browser_test_test.cc', 858 'test/content_browser_test_test.cc',
854 'test/content_test_launcher.cc', 859 'test/content_test_launcher.cc',
855 '../webkit/plugins/ppapi/mock_platform_image_2d.cc', 860 '../webkit/plugins/ppapi/mock_platform_image_2d.cc',
856 '../webkit/plugins/ppapi/mock_platform_image_2d.h', 861 '../webkit/plugins/ppapi/mock_platform_image_2d.h',
857 '../webkit/plugins/ppapi/mock_plugin_delegate.cc', 862 '../webkit/plugins/ppapi/mock_plugin_delegate.cc',
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 'test_suite_name': 'video_decode_accelerator_unittest', 1159 'test_suite_name': 'video_decode_accelerator_unittest',
1155 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)', 1160 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)',
1156 }, 1161 },
1157 'includes': [ '../build/apk_test.gypi' ], 1162 'includes': [ '../build/apk_test.gypi' ],
1158 }, 1163 },
1159 ], 1164 ],
1160 }], 1165 }],
1161 ['OS == "android"', { 1166 ['OS == "android"', {
1162 'targets': [ 1167 'targets': [
1163 { 1168 {
1169 'target_name': 'test_support_content_jni_headers',
1170 'type': 'none',
1171 'sources': [
1172 'public/test/android/javatests/src/org/chromium/content/browser/test /BrowserTestSystemMessageHandler.java',
1173 ],
1174 'direct_dependent_settings': {
1175 'include_dirs': [
1176 '<(SHARED_INTERMEDIATE_DIR)/content/public/test',
1177 ],
1178 },
1179 'variables': {
1180 'jni_gen_package': 'content/public/test',
1181 },
1182 'includes': [ '../build/jni_generator.gypi' ],
1183 },
1184 {
1164 'target_name': 'content_java_test_support', 1185 'target_name': 'content_java_test_support',
1165 'type': 'none', 1186 'type': 'none',
1166 'dependencies': [ 1187 'dependencies': [
1167 '../base/base.gyp:base', 1188 '../base/base.gyp:base',
1168 '../base/base.gyp:base_java_test_support', 1189 '../base/base.gyp:base_java_test_support',
1169 'content_common', 1190 'content_common',
1170 'content_java', 1191 'content_java',
1171 ], 1192 ],
1172 'variables': { 1193 'variables': {
1173 'java_in_dir': '../content/public/test/android/javatests', 1194 'java_in_dir': '../content/public/test/android/javatests',
(...skipping 22 matching lines...) Expand all
1196 'resource_dir': 'shell/android/shell_apk/res', 1217 'resource_dir': 'shell/android/shell_apk/res',
1197 'additional_src_dirs': ['public/android/javatests/',], 1218 'additional_src_dirs': ['public/android/javatests/',],
1198 'is_test_apk': 1, 1219 'is_test_apk': 1,
1199 }, 1220 },
1200 'includes': [ '../build/java_apk.gypi' ], 1221 'includes': [ '../build/java_apk.gypi' ],
1201 }, 1222 },
1202 ], 1223 ],
1203 }], 1224 }],
1204 ], 1225 ],
1205 } 1226 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698