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

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'],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 'public/test/mock_download_manager.cc', 42 'public/test/mock_download_manager.cc',
43 'public/test/mock_download_manager.h', 43 'public/test/mock_download_manager.h',
44 'public/test/mock_notification_observer.cc', 44 'public/test/mock_notification_observer.cc',
45 'public/test/mock_notification_observer.h', 45 'public/test/mock_notification_observer.h',
46 'public/test/mock_render_process_host.cc', 46 'public/test/mock_render_process_host.cc',
47 'public/test/mock_render_process_host.h', 47 'public/test/mock_render_process_host.h',
48 'public/test/mock_render_thread.cc', 48 'public/test/mock_render_thread.cc',
49 'public/test/mock_render_thread.h', 49 'public/test/mock_render_thread.h',
50 'public/test/mock_resource_context.cc', 50 'public/test/mock_resource_context.cc',
51 'public/test/mock_resource_context.h', 51 'public/test/mock_resource_context.h',
52 'public/test/nested_message_pump_android.cc',
53 'public/test/nested_message_pump_android.h',
52 'public/test/render_view_fake_resources_test.cc', 54 'public/test/render_view_fake_resources_test.cc',
53 'public/test/render_view_fake_resources_test.h', 55 'public/test/render_view_fake_resources_test.h',
54 'public/test/render_view_test.cc', 56 'public/test/render_view_test.cc',
55 'public/test/render_view_test.h', 57 'public/test/render_view_test.h',
56 'public/test/render_widget_test.cc', 58 'public/test/render_widget_test.cc',
57 'public/test/render_widget_test.h', 59 'public/test/render_widget_test.h',
58 'public/test/test_browser_context.cc', 60 'public/test/test_browser_context.cc',
59 'public/test/test_browser_context.h', 61 'public/test/test_browser_context.h',
60 'public/test/test_browser_thread_bundle.cc', 62 'public/test/test_browser_thread_bundle.cc',
61 'public/test/test_browser_thread_bundle.h', 63 'public/test/test_browser_thread_bundle.h',
(...skipping 162 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 'renderer/pepper/pepper_graphics_2d_host_unittest.cc', 844 'renderer/pepper/pepper_graphics_2d_host_unittest.cc',
838 'renderer/pepper/pepper_url_request_unittest.cc', 845 'renderer/pepper/pepper_url_request_unittest.cc',
839 'renderer/render_thread_impl_browsertest.cc', 846 'renderer/render_thread_impl_browsertest.cc',
840 'renderer/render_view_browsertest.cc', 847 'renderer/render_view_browsertest.cc',
841 'renderer/render_view_browsertest_mac.mm', 848 'renderer/render_view_browsertest_mac.mm',
842 'renderer/render_widget_browsertest.cc', 849 'renderer/render_widget_browsertest.cc',
843 'renderer/resource_fetcher_browsertest.cc', 850 'renderer/resource_fetcher_browsertest.cc',
844 'renderer/savable_resources_browsertest.cc', 851 'renderer/savable_resources_browsertest.cc',
845 'test/accessibility_browser_test_utils.cc', 852 'test/accessibility_browser_test_utils.cc',
846 'test/accessibility_browser_test_utils.h', 853 'test/accessibility_browser_test_utils.h',
847 'test/browser_test_message_pump_android.cc',
848 'test/browser_test_message_pump_android.h',
849 'test/content_browser_test.h', 854 'test/content_browser_test.h',
850 'test/content_browser_test.cc', 855 'test/content_browser_test.cc',
851 'test/content_browser_test_utils.cc', 856 'test/content_browser_test_utils.cc',
852 'test/content_browser_test_utils.h', 857 'test/content_browser_test_utils.h',
853 'test/content_browser_test_utils_mac.mm', 858 'test/content_browser_test_utils_mac.mm',
854 'test/content_browser_test_test.cc', 859 'test/content_browser_test_test.cc',
855 'test/content_test_launcher.cc', 860 'test/content_test_launcher.cc',
856 '../webkit/plugins/ppapi/mock_platform_image_2d.cc', 861 '../webkit/plugins/ppapi/mock_platform_image_2d.cc',
857 '../webkit/plugins/ppapi/mock_platform_image_2d.h', 862 '../webkit/plugins/ppapi/mock_platform_image_2d.h',
858 '../webkit/plugins/ppapi/mock_plugin_delegate.cc', 863 '../webkit/plugins/ppapi/mock_plugin_delegate.cc',
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)', 1131 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)',
1127 }, 1132 },
1128 'includes': [ '../build/apk_test.gypi' ], 1133 'includes': [ '../build/apk_test.gypi' ],
1129 }, 1134 },
1130 { 1135 {
1131 'target_name': 'content_browsertests_apk', 1136 'target_name': 'content_browsertests_apk',
1132 'type': 'none', 1137 'type': 'none',
1133 'dependencies': [ 1138 'dependencies': [
1134 'content_browsertests', 1139 'content_browsertests',
1135 'content_java', 1140 'content_java',
1141 'content_java_test_support',
1136 'content_shell_java', 1142 'content_shell_java',
1137 ], 1143 ],
1138 'variables': { 1144 'variables': {
1139 'apk_name': 'content_browsertests', 1145 'apk_name': 'content_browsertests',
1140 'java_in_dir': 'shell/android/browsertests_apk', 1146 'java_in_dir': 'shell/android/browsertests_apk',
1141 'resource_dir': 'shell/android/browsertests_apk/res', 1147 'resource_dir': 'shell/android/browsertests_apk/res',
1142 'native_lib_target': 'libcontent_browsertests', 1148 'native_lib_target': 'libcontent_browsertests',
1143 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], 1149 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'],
1144 'asset_location': '<(ant_build_out)/content_shell/assets', 1150 'asset_location': '<(ant_build_out)/content_shell/assets',
1145 }, 1151 },
1146 'includes': [ '../build/java_apk.gypi' ], 1152 'includes': [ '../build/java_apk.gypi' ],
1147 }, 1153 },
1148 { 1154 {
1149 'target_name': 'video_decode_accelerator_unittest_apk', 1155 'target_name': 'video_decode_accelerator_unittest_apk',
1150 'type': 'none', 1156 'type': 'none',
1151 'dependencies': [ 1157 'dependencies': [
1152 'video_decode_accelerator_unittest', 1158 'video_decode_accelerator_unittest',
1153 ], 1159 ],
1154 'variables': { 1160 'variables': {
1155 'test_suite_name': 'video_decode_accelerator_unittest', 1161 'test_suite_name': 'video_decode_accelerator_unittest',
1156 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)', 1162 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)',
1157 }, 1163 },
1158 'includes': [ '../build/apk_test.gypi' ], 1164 'includes': [ '../build/apk_test.gypi' ],
1159 }, 1165 },
1160 ], 1166 ],
1161 }], 1167 }],
1162 ['OS == "android"', { 1168 ['OS == "android"', {
1163 'targets': [ 1169 'targets': [
1164 { 1170 {
1171 'target_name': 'test_support_content_jni_headers',
1172 'type': 'none',
1173 'sources': [
1174 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java',
1175 ],
1176 'direct_dependent_settings': {
1177 'include_dirs': [
1178 '<(SHARED_INTERMEDIATE_DIR)/content/public/test',
1179 ],
1180 },
1181 'variables': {
1182 'jni_gen_package': 'content/public/test',
1183 },
1184 'includes': [ '../build/jni_generator.gypi' ],
1185 },
1186 {
1165 'target_name': 'content_java_test_support', 1187 'target_name': 'content_java_test_support',
1166 'type': 'none', 1188 'type': 'none',
1167 'dependencies': [ 1189 'dependencies': [
1168 '../base/base.gyp:base', 1190 '../base/base.gyp:base',
1169 '../base/base.gyp:base_java_test_support', 1191 '../base/base.gyp:base_java_test_support',
1170 'content_common', 1192 'content_common',
1171 'content_java', 1193 'content_java',
1172 ], 1194 ],
1173 'variables': { 1195 'variables': {
1174 'java_in_dir': '../content/public/test/android/javatests', 1196 'java_in_dir': '../content/public/test/android/javatests',
(...skipping 22 matching lines...) Expand all
1197 'resource_dir': 'shell/android/shell_apk/res', 1219 'resource_dir': 'shell/android/shell_apk/res',
1198 'additional_src_dirs': ['public/android/javatests/',], 1220 'additional_src_dirs': ['public/android/javatests/',],
1199 'is_test_apk': 1, 1221 'is_test_apk': 1,
1200 }, 1222 },
1201 'includes': [ '../build/java_apk.gypi' ], 1223 'includes': [ '../build/java_apk.gypi' ],
1202 }, 1224 },
1203 ], 1225 ],
1204 }], 1226 }],
1205 ], 1227 ],
1206 } 1228 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698