OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 '../build/temp_gyp/googleurl.gyp:googleurl', | 12 '../build/temp_gyp/googleurl.gyp:googleurl', |
13 'content_app', | 13 'content_app', |
14 'content_browser', | 14 'content_browser', |
15 'content_common', | 15 'content_common', |
16 '../net/net.gyp:net_test_support', | 16 '../net/net.gyp:net_test_support', |
17 '../skia/skia.gyp:skia', | 17 '../skia/skia.gyp:skia', |
18 '../testing/gmock.gyp:gmock', | 18 '../testing/gmock.gyp:gmock', |
19 '../testing/gtest.gyp:gtest', | 19 '../testing/gtest.gyp:gtest', |
20 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | 20 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
21 '../ui/surface/surface.gyp:surface', | 21 '../ui/surface/surface.gyp:surface', |
22 '../ui/ui.gyp:ui_test_support', | 22 '../ui/ui.gyp:ui_test_support', |
23 '../webkit/support/webkit_support.gyp:appcache', | 23 '../webkit/support/webkit_support.gyp:appcache', |
24 ], | 24 ], |
25 'include_dirs': [ | 25 'include_dirs': [ |
26 '..', | 26 '..', |
27 ], | 27 ], |
28 'sources': [ | 28 'sources': [ |
| 29 'public/test/accessibility_test_utils_win.cc', |
29 'public/test/accessibility_test_utils_win.h', | 30 'public/test/accessibility_test_utils_win.h', |
30 'public/test/browser_test.h', | 31 'public/test/browser_test.h', |
| 32 'public/test/browser_test_base.cc', |
31 'public/test/browser_test_base.h', | 33 'public/test/browser_test_base.h', |
| 34 'public/test/browser_test_utils.cc', |
32 'public/test/browser_test_utils.h', | 35 'public/test/browser_test_utils.h', |
| 36 'public/test/content_test_suite_base.cc', |
33 'public/test/content_test_suite_base.h', | 37 'public/test/content_test_suite_base.h', |
| 38 'public/test/download_test_observer.cc', |
34 'public/test/download_test_observer.h', | 39 'public/test/download_test_observer.h', |
35 'public/test/js_injection_ready_observer.h', | 40 'public/test/js_injection_ready_observer.h', |
| 41 'public/test/mock_download_item.cc', |
36 'public/test/mock_download_item.h', | 42 'public/test/mock_download_item.h', |
| 43 'public/test/mock_download_manager.cc', |
37 'public/test/mock_download_manager.h', | 44 'public/test/mock_download_manager.h', |
| 45 'public/test/mock_notification_observer.cc', |
38 'public/test/mock_notification_observer.h', | 46 'public/test/mock_notification_observer.h', |
| 47 'public/test/mock_render_process_host.cc', |
39 'public/test/mock_render_process_host.h', | 48 'public/test/mock_render_process_host.h', |
| 49 'public/test/mock_render_thread.cc', |
40 'public/test/mock_render_thread.h', | 50 'public/test/mock_render_thread.h', |
| 51 'public/test/mock_resource_context.cc', |
41 'public/test/mock_resource_context.h', | 52 'public/test/mock_resource_context.h', |
| 53 'public/test/render_view_fake_resources_test.cc', |
42 'public/test/render_view_fake_resources_test.h', | 54 'public/test/render_view_fake_resources_test.h', |
| 55 'public/test/render_view_test.cc', |
43 'public/test/render_view_test.h', | 56 'public/test/render_view_test.h', |
| 57 'public/test/render_widget_browsertest.cc', |
44 'public/test/render_widget_browsertest.h', | 58 'public/test/render_widget_browsertest.h', |
| 59 'public/test/test_browser_context.cc', |
45 'public/test/test_browser_context.h', | 60 'public/test/test_browser_context.h', |
| 61 'public/test/test_browser_thread.cc', |
46 'public/test/test_browser_thread.h', | 62 'public/test/test_browser_thread.h', |
| 63 'public/test/test_content_client_initializer.cc', |
47 'public/test/test_content_client_initializer.h', | 64 'public/test/test_content_client_initializer.h', |
| 65 'public/test/test_file_error_injector.cc', |
48 'public/test/test_file_error_injector.h', | 66 'public/test/test_file_error_injector.h', |
| 67 'public/test/test_launcher.cc', |
49 'public/test/test_launcher.h', | 68 'public/test/test_launcher.h', |
| 69 'public/test/test_navigation_observer.cc', |
50 'public/test/test_navigation_observer.h', | 70 'public/test/test_navigation_observer.h', |
| 71 'public/test/test_notification_tracker.cc', |
51 'public/test/test_notification_tracker.h', | 72 'public/test/test_notification_tracker.h', |
| 73 'public/test/test_renderer_host.cc', |
52 'public/test/test_renderer_host.h', | 74 'public/test/test_renderer_host.h', |
| 75 'public/test/test_utils.cc', |
53 'public/test/test_utils.h', | 76 'public/test/test_utils.h', |
| 77 'public/test/unittest_test_suite.cc', |
54 'public/test/unittest_test_suite.h', | 78 'public/test/unittest_test_suite.h', |
| 79 'public/test/web_contents_tester.cc', |
55 'public/test/web_contents_tester.h', | 80 'public/test/web_contents_tester.h', |
56 'app/startup_helper_win.cc', | 81 'app/startup_helper_win.cc', |
57 # TODO(phajdan.jr): All of those files should live in content/test (if | 82 # TODO(phajdan.jr): All of those files should live in content/test (if |
58 # they're only used by content) or content/public/test (if they're used | 83 # they're only used by content) or content/public/test (if they're used |
59 # by other embedders). | 84 # by other embedders). |
60 'browser/download/mock_download_file.cc', | 85 'browser/download/mock_download_file.cc', |
61 'browser/download/mock_download_file.h', | 86 'browser/download/mock_download_file.h', |
62 'browser/geolocation/arbitrator_dependency_factories_for_test.cc', | 87 'browser/geolocation/arbitrator_dependency_factories_for_test.cc', |
63 'browser/geolocation/arbitrator_dependency_factories_for_test.h', | 88 'browser/geolocation/arbitrator_dependency_factories_for_test.h', |
64 'browser/geolocation/fake_access_token_store.cc', | 89 'browser/geolocation/fake_access_token_store.cc', |
65 'browser/geolocation/fake_access_token_store.h', | 90 'browser/geolocation/fake_access_token_store.h', |
66 'browser/geolocation/mock_location_provider.cc', | 91 'browser/geolocation/mock_location_provider.cc', |
67 'browser/geolocation/mock_location_provider.h', | 92 'browser/geolocation/mock_location_provider.h', |
68 'browser/renderer_host/media/mock_media_observer.cc', | 93 'browser/renderer_host/media/mock_media_observer.cc', |
69 'browser/renderer_host/media/mock_media_observer.h', | 94 'browser/renderer_host/media/mock_media_observer.h', |
70 'browser/renderer_host/test_backing_store.cc', | 95 'browser/renderer_host/test_backing_store.cc', |
71 'browser/renderer_host/test_backing_store.h', | 96 'browser/renderer_host/test_backing_store.h', |
72 'browser/renderer_host/test_render_view_host.cc', | 97 'browser/renderer_host/test_render_view_host.cc', |
73 'browser/renderer_host/test_render_view_host.h', | 98 'browser/renderer_host/test_render_view_host.h', |
74 'browser/web_contents/test_web_contents.cc', | 99 'browser/web_contents/test_web_contents.cc', |
75 'browser/web_contents/test_web_contents.h', | 100 'browser/web_contents/test_web_contents.h', |
76 'common/test_url_constants.cc', | 101 'common/test_url_constants.cc', |
77 'common/test_url_constants.h', | 102 'common/test_url_constants.h', |
78 'gpu/gpu_idirect3d9_mock_win.cc', | 103 'gpu/gpu_idirect3d9_mock_win.cc', |
79 'gpu/gpu_idirect3d9_mock_win.h', | 104 'gpu/gpu_idirect3d9_mock_win.h', |
80 'test/accessibility_test_utils_win.cc', | |
81 'test/browser_test_base.cc', | |
82 'test/browser_test_utils.cc', | |
83 'test/content_test_suite.cc', | 105 'test/content_test_suite.cc', |
84 'test/content_test_suite.h', | 106 'test/content_test_suite.h', |
85 'test/content_test_suite_base.cc', | |
86 'test/download_test_observer.cc', | |
87 'test/gpu/gpu_test_config.cc', | 107 'test/gpu/gpu_test_config.cc', |
88 'test/gpu/gpu_test_config.h', | 108 'test/gpu/gpu_test_config.h', |
89 'test/gpu/gpu_test_expectations_parser.cc', | 109 'test/gpu/gpu_test_expectations_parser.cc', |
90 'test/gpu/gpu_test_expectations_parser.h', | 110 'test/gpu/gpu_test_expectations_parser.h', |
91 'test/mock_download_item.cc', | |
92 'test/mock_download_manager.cc', | |
93 'test/mock_keyboard.cc', | 111 'test/mock_keyboard.cc', |
94 'test/mock_keyboard_driver_win.cc', | 112 'test/mock_keyboard_driver_win.cc', |
95 'test/mock_keyboard_driver_win.h', | 113 'test/mock_keyboard_driver_win.h', |
96 'test/mock_keyboard.h', | 114 'test/mock_keyboard.h', |
97 'test/mock_notification_observer.cc', | |
98 'test/mock_render_process.cc', | 115 'test/mock_render_process.cc', |
99 'test/mock_render_process.h', | 116 'test/mock_render_process.h', |
100 'test/mock_render_process_host.cc', | |
101 'test/mock_render_thread.cc', | |
102 'test/mock_resource_context.cc', | |
103 'test/net/url_request_failed_job.cc', | 117 'test/net/url_request_failed_job.cc', |
104 'test/net/url_request_failed_job.h', | 118 'test/net/url_request_failed_job.h', |
105 'test/net/url_request_mock_http_job.cc', | 119 'test/net/url_request_mock_http_job.cc', |
106 'test/net/url_request_mock_http_job.h', | 120 'test/net/url_request_mock_http_job.h', |
107 'test/net/url_request_slow_download_job.cc', | 121 'test/net/url_request_slow_download_job.cc', |
108 'test/net/url_request_slow_download_job.h', | 122 'test/net/url_request_slow_download_job.h', |
109 'test/net/url_request_slow_http_job.cc', | 123 'test/net/url_request_slow_http_job.cc', |
110 'test/net/url_request_slow_http_job.h', | 124 'test/net/url_request_slow_http_job.h', |
111 'test/net/url_request_abort_on_end_job.cc', | 125 'test/net/url_request_abort_on_end_job.cc', |
112 'test/net/url_request_abort_on_end_job.h', | 126 'test/net/url_request_abort_on_end_job.h', |
113 'test/render_view_fake_resources_test.cc', | |
114 'test/render_view_test.cc', | |
115 'test/render_widget_browsertest.cc', | |
116 'test/test_browser_context.cc', | |
117 'test/test_browser_thread.cc', | |
118 'test/test_content_browser_client.cc', | 127 'test/test_content_browser_client.cc', |
119 'test/test_content_browser_client.h', | 128 'test/test_content_browser_client.h', |
120 'test/test_content_client.cc', | 129 'test/test_content_client.cc', |
121 'test/test_content_client.h', | 130 'test/test_content_client.h', |
122 'test/test_content_client_initializer.cc', | |
123 'test/test_file_error_injector.cc', | |
124 'test/test_navigation_observer.cc', | |
125 'test/test_notification_tracker.cc', | |
126 'test/test_renderer_host.cc', | |
127 'test/test_render_view_host_factory.cc', | 131 'test/test_render_view_host_factory.cc', |
128 'test/test_render_view_host_factory.h', | 132 'test/test_render_view_host_factory.h', |
129 'test/test_launcher.cc', | |
130 'test/test_utils.cc', | |
131 'test/test_web_contents_view.cc', | 133 'test/test_web_contents_view.cc', |
132 'test/test_web_contents_view.h', | 134 'test/test_web_contents_view.h', |
133 'test/unittest_test_suite.cc', | |
134 'test/web_contents_tester.cc', | |
135 | 135 |
136 # TODO(phajdan.jr): Those files should be moved to webkit | 136 # TODO(phajdan.jr): Those files should be moved to webkit |
137 # test support target. | 137 # test support target. |
138 '../webkit/appcache/appcache_test_helper.cc', | 138 '../webkit/appcache/appcache_test_helper.cc', |
139 '../webkit/appcache/appcache_test_helper.h', | 139 '../webkit/appcache/appcache_test_helper.h', |
140 '../webkit/quota/mock_special_storage_policy.cc', | 140 '../webkit/quota/mock_special_storage_policy.cc', |
141 '../webkit/quota/mock_special_storage_policy.h', | 141 '../webkit/quota/mock_special_storage_policy.h', |
142 ], | 142 ], |
143 'conditions': [ | 143 'conditions': [ |
144 ['OS == "win" or (toolkit_uses_gtk == 1 and selinux == 0)', { | 144 ['OS == "win" or (toolkit_uses_gtk == 1 and selinux == 0)', { |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 '-buildfile', | 837 '-buildfile', |
838 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', | 838 '<(DEPTH)/content/shell/android/javatests/content_shell_test_apk
.xml', |
839 ] | 839 ] |
840 } | 840 } |
841 ], | 841 ], |
842 }, | 842 }, |
843 ], | 843 ], |
844 }], | 844 }], |
845 ], | 845 ], |
846 } | 846 } |
OLD | NEW |