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_browser', | 13 'content_browser', |
14 'content_common', | 14 'content_common', |
15 '../skia/skia.gyp:skia', | 15 '../skia/skia.gyp:skia', |
16 '../testing/gmock.gyp:gmock', | 16 '../testing/gmock.gyp:gmock', |
17 '../testing/gtest.gyp:gtest', | 17 '../testing/gtest.gyp:gtest', |
18 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection', | 18 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection', |
19 '../third_party/libvpx/libvpx.gyp:libvpx', | 19 '../third_party/libvpx/libvpx.gyp:libvpx', |
20 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 20 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
21 '../third_party/webrtc/modules/modules.gyp:audio_device', | |
22 '../third_party/webrtc/modules/modules.gyp:video_capture_module', | |
23 '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:system
_wrappers', | |
24 '../third_party/webrtc/video_engine/video_engine.gyp:video_engine_core', | |
25 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine_core', | |
26 '../ui/gfx/surface/surface.gyp:surface', | 21 '../ui/gfx/surface/surface.gyp:surface', |
27 '../ui/ui.gyp:ui_test_support', | 22 '../ui/ui.gyp:ui_test_support', |
28 '../webkit/support/webkit_support.gyp:appcache', | 23 '../webkit/support/webkit_support.gyp:appcache', |
29 ], | 24 ], |
30 'include_dirs': [ | 25 'include_dirs': [ |
31 '..', | 26 '..', |
32 ], | 27 ], |
33 'sources': [ | 28 'sources': [ |
34 # TODO(phajdan.jr): All of those files should live in content/test. | 29 # TODO(phajdan.jr): All of those files should live in content/test. |
35 'browser/download/mock_download_file.cc', | 30 'browser/download/mock_download_file.cc', |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 'test/test_navigation_observer.cc', | 106 'test/test_navigation_observer.cc', |
112 'test/test_navigation_observer.h', | 107 'test/test_navigation_observer.h', |
113 'test/test_notification_tracker.cc', | 108 'test/test_notification_tracker.cc', |
114 'test/test_notification_tracker.h', | 109 'test/test_notification_tracker.h', |
115 'test/test_url_fetcher_factory.cc', | 110 'test/test_url_fetcher_factory.cc', |
116 'test/test_url_fetcher_factory.h', | 111 'test/test_url_fetcher_factory.h', |
117 'test/test_web_contents_view.cc', | 112 'test/test_web_contents_view.cc', |
118 'test/test_web_contents_view.h', | 113 'test/test_web_contents_view.h', |
119 'test/unittest_test_suite.cc', | 114 'test/unittest_test_suite.cc', |
120 'test/unittest_test_suite.h', | 115 'test/unittest_test_suite.h', |
121 'test/webrtc_audio_device_test.cc', | |
122 'test/webrtc_audio_device_test.h', | |
123 | 116 |
124 # TODO(phajdan.jr): Those files should be moved to webkit | 117 # TODO(phajdan.jr): Those files should be moved to webkit |
125 # test support target. | 118 # test support target. |
126 '../webkit/appcache/appcache_test_helper.cc', | 119 '../webkit/appcache/appcache_test_helper.cc', |
127 '../webkit/appcache/appcache_test_helper.h', | 120 '../webkit/appcache/appcache_test_helper.h', |
128 '../webkit/quota/mock_special_storage_policy.cc', | 121 '../webkit/quota/mock_special_storage_policy.cc', |
129 '../webkit/quota/mock_special_storage_policy.h', | 122 '../webkit/quota/mock_special_storage_policy.h', |
130 ], | 123 ], |
131 'conditions': [ | 124 'conditions': [ |
| 125 ['enable_webrtc==1', { |
| 126 'sources': [ |
| 127 'test/webrtc_audio_device_test.cc', |
| 128 'test/webrtc_audio_device_test.h', |
| 129 ], |
| 130 'dependencies': [ |
| 131 '../third_party/webrtc/modules/modules.gyp:audio_device', |
| 132 '../third_party/webrtc/modules/modules.gyp:video_capture_module', |
| 133 '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:sy
stem_wrappers', |
| 134 '../third_party/webrtc/video_engine/video_engine.gyp:video_engine_co
re', |
| 135 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine_co
re'], |
| 136 }], |
132 ['toolkit_uses_gtk == 1', { | 137 ['toolkit_uses_gtk == 1', { |
133 'dependencies': [ | 138 'dependencies': [ |
134 '../build/linux/system.gyp:gtk', | 139 '../build/linux/system.gyp:gtk', |
135 ], | 140 ], |
136 }], | 141 }], |
137 ['use_glib == 1', { | 142 ['use_glib == 1', { |
138 'dependencies': [ | 143 'dependencies': [ |
139 '../build/linux/system.gyp:glib', | 144 '../build/linux/system.gyp:glib', |
140 ], | 145 ], |
141 }], | 146 }], |
(...skipping 23 matching lines...) Expand all Loading... |
165 '../jingle/jingle.gyp:jingle_glue_test_util', | 170 '../jingle/jingle.gyp:jingle_glue_test_util', |
166 '../media/media.gyp:media_test_support', | 171 '../media/media.gyp:media_test_support', |
167 '../net/net.gyp:net_test_support', | 172 '../net/net.gyp:net_test_support', |
168 '../skia/skia.gyp:skia', | 173 '../skia/skia.gyp:skia', |
169 '../testing/gmock.gyp:gmock', | 174 '../testing/gmock.gyp:gmock', |
170 '../testing/gtest.gyp:gtest', | 175 '../testing/gtest.gyp:gtest', |
171 '../third_party/libjingle/libjingle.gyp:libjingle', | 176 '../third_party/libjingle/libjingle.gyp:libjingle', |
172 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection', | 177 '../third_party/libjingle/libjingle.gyp:libjingle_peerconnection', |
173 '../third_party/libvpx/libvpx.gyp:libvpx', | 178 '../third_party/libvpx/libvpx.gyp:libvpx', |
174 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 179 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
175 '../third_party/webrtc/modules/modules.gyp:video_capture_module', | |
176 '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:system
_wrappers', | |
177 '../third_party/webrtc/video_engine/video_engine.gyp:video_engine_core', | |
178 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine_core', | |
179 '../ui/gfx/gl/gl.gyp:gl', | 180 '../ui/gfx/gl/gl.gyp:gl', |
180 '../ui/ui.gyp:ui', | 181 '../ui/ui.gyp:ui', |
181 '../v8/tools/gyp/v8.gyp:v8', | 182 '../v8/tools/gyp/v8.gyp:v8', |
182 '../webkit/support/webkit_support.gyp:database', | 183 '../webkit/support/webkit_support.gyp:database', |
183 '../webkit/support/webkit_support.gyp:glue', | 184 '../webkit/support/webkit_support.gyp:glue', |
184 '../webkit/support/webkit_support.gyp:quota', | 185 '../webkit/support/webkit_support.gyp:quota', |
185 ], | 186 ], |
186 'include_dirs': [ | 187 'include_dirs': [ |
187 '..', | 188 '..', |
188 ], | 189 ], |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 'renderer/media/video_capture_message_filter_unittest.cc', | 285 'renderer/media/video_capture_message_filter_unittest.cc', |
285 'renderer/media/webrtc_audio_device_unittest.cc', | 286 'renderer/media/webrtc_audio_device_unittest.cc', |
286 'renderer/paint_aggregator_unittest.cc', | 287 'renderer/paint_aggregator_unittest.cc', |
287 'renderer/pepper_plugin_delegate_impl_unittest.cc', | 288 'renderer/pepper_plugin_delegate_impl_unittest.cc', |
288 'renderer/v8_value_converter_impl_unittest.cc', | 289 'renderer/v8_value_converter_impl_unittest.cc', |
289 'test/gpu/gpu_test_config_unittest.cc', | 290 'test/gpu/gpu_test_config_unittest.cc', |
290 'test/gpu/gpu_test_expectations_parser_unittest.cc', | 291 'test/gpu/gpu_test_expectations_parser_unittest.cc', |
291 'test/run_all_unittests.cc', | 292 'test/run_all_unittests.cc', |
292 ], | 293 ], |
293 'conditions': [ | 294 'conditions': [ |
| 295 ['enable_webrtc==1', { |
| 296 'dependencies': [ |
| 297 '../third_party/webrtc/modules/modules.gyp:video_capture_module', |
| 298 '../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:sy
stem_wrappers', |
| 299 '../third_party/webrtc/video_engine/video_engine.gyp:video_engine_co
re', |
| 300 '../third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine_co
re', |
| 301 ], |
| 302 }], |
294 ['input_speech==0', { | 303 ['input_speech==0', { |
295 'sources/': [ | 304 'sources/': [ |
296 ['exclude', '^browser/speech/'], | 305 ['exclude', '^browser/speech/'], |
297 ] | 306 ] |
298 }], | 307 }], |
299 ['notifications==0', { | 308 ['notifications==0', { |
300 'sources!': [ | 309 'sources!': [ |
301 'renderer/active_notification_tracker_unittest.cc', | 310 'renderer/active_notification_tracker_unittest.cc', |
302 ], | 311 ], |
303 }], | 312 }], |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 ], | 475 ], |
467 'sources': [ | 476 'sources': [ |
468 'common/gpu/media/video_decode_accelerator_unittest.cc', | 477 'common/gpu/media/video_decode_accelerator_unittest.cc', |
469 ], | 478 ], |
470 } | 479 } |
471 ], | 480 ], |
472 }, | 481 }, |
473 ], | 482 ], |
474 ], | 483 ], |
475 } | 484 } |
OLD | NEW |