| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'dependencies': [ | 10 'dependencies': [ |
| 11 'content_common', | 11 'content_common', |
| 12 '../skia/skia.gyp:skia', |
| 13 '../testing/gmock.gyp:gmock', |
| 12 '../testing/gtest.gyp:gtest', | 14 '../testing/gtest.gyp:gtest', |
| 13 ], | 15 ], |
| 14 'include_dirs': [ | 16 'include_dirs': [ |
| 15 '..', | 17 '..', |
| 16 ], | 18 ], |
| 17 'sources': [ | 19 'sources': [ |
| 18 # TODO(phajdan.jr): All of those files should live in content/test. | 20 # TODO(phajdan.jr): All of those files should live in content/test. |
| 21 'browser/geolocation/arbitrator_dependency_factories_for_test.cc', |
| 22 'browser/geolocation/arbitrator_dependency_factories_for_test.h', |
| 23 'browser/geolocation/fake_access_token_store.cc', |
| 24 'browser/geolocation/fake_access_token_store.h', |
| 25 'browser/geolocation/mock_location_provider.cc', |
| 26 'browser/geolocation/mock_location_provider.h', |
| 27 'browser/mock_content_browser_client.cc', |
| 28 'browser/mock_resource_context.cc', |
| 29 'browser/mock_resource_context.h', |
| 30 'browser/renderer_host/media/mock_media_observer.cc', |
| 31 'browser/renderer_host/media/mock_media_observer.h', |
| 19 'common/test_url_constants.cc', | 32 'common/test_url_constants.cc', |
| 20 'common/test_url_constants.h', | 33 'common/test_url_constants.h', |
| 21 'renderer/mock_content_renderer_client.cc', | 34 'renderer/mock_content_renderer_client.cc', |
| 22 'test/content_test_suite.cc', | 35 'test/content_test_suite.cc', |
| 23 'test/content_test_suite.h', | 36 'test/content_test_suite.h', |
| 37 'test/test_browser_context.cc', |
| 38 'test/test_browser_context.h', |
| 24 'test/test_content_client.cc', | 39 'test/test_content_client.cc', |
| 25 'test/test_content_client.h', | 40 'test/test_content_client.h', |
| 26 'test/test_url_fetcher_factory.cc', | 41 'test/test_url_fetcher_factory.cc', |
| 27 'test/test_url_fetcher_factory.h', | 42 'test/test_url_fetcher_factory.h', |
| 43 |
| 44 # TODO(phajdan.jr): Those files should be moved to webkit |
| 45 # test support target. |
| 46 '../webkit/appcache/appcache_test_helper.cc', |
| 47 '../webkit/appcache/appcache_test_helper.h', |
| 48 '../webkit/quota/mock_special_storage_policy.cc', |
| 49 '../webkit/quota/mock_special_storage_policy.h', |
| 28 ], | 50 ], |
| 29 }, | 51 }, |
| 30 { | 52 { |
| 31 'target_name': 'content_unittests', | 53 'target_name': 'content_unittests', |
| 32 'type': 'executable', | 54 'type': 'executable', |
| 33 'dependencies': [ | 55 'dependencies': [ |
| 34 'content_browser', | 56 'content_browser', |
| 35 'content_plugin', | 57 'content_plugin', |
| 36 'content_renderer', | 58 'content_renderer', |
| 37 'test_support_content', | 59 'test_support_content', |
| 38 '../base/base.gyp:test_support_base', | 60 '../base/base.gyp:test_support_base', |
| 39 '../crypto/crypto.gyp:crypto', | 61 '../crypto/crypto.gyp:crypto', |
| 40 '../media/media.gyp:media_test_support', | 62 '../media/media.gyp:media_test_support', |
| 41 '../net/net.gyp:net_test_support', | 63 '../net/net.gyp:net_test_support', |
| 42 '../skia/skia.gyp:skia', | 64 '../skia/skia.gyp:skia', |
| 43 '../testing/gmock.gyp:gmock', | 65 '../testing/gmock.gyp:gmock', |
| 44 '../testing/gtest.gyp:gtest', | 66 '../testing/gtest.gyp:gtest', |
| 45 '../third_party/libjingle/libjingle.gyp:libjingle', | 67 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 46 ], | 68 ], |
| 47 'include_dirs': [ | 69 'include_dirs': [ |
| 48 '..', | 70 '..', |
| 49 ], | 71 ], |
| 50 'sources': [ | 72 'sources': [ |
| 73 'browser/appcache/chrome_appcache_service_unittest.cc', |
| 51 'browser/browser_thread_unittest.cc', | 74 'browser/browser_thread_unittest.cc', |
| 75 'browser/browser_url_handler_unittest.cc', |
| 52 'browser/child_process_security_policy_unittest.cc', | 76 'browser/child_process_security_policy_unittest.cc', |
| 77 'browser/device_orientation/provider_unittest.cc', |
| 78 'browser/download/base_file_unittest.cc', |
| 79 'browser/download/download_status_updater_unittest.cc', |
| 80 'browser/geolocation/device_data_provider_unittest.cc', |
| 81 'browser/geolocation/gateway_data_provider_common_unittest.cc', |
| 82 'browser/gpu/gpu_blacklist_unittest.cc', |
| 83 'browser/renderer_host/media/audio_input_device_manager_unittest.cc', |
| 84 'browser/renderer_host/media/audio_renderer_host_unittest.cc', |
| 85 'browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc', |
| 86 'browser/renderer_host/media/video_capture_host_unittest.cc', |
| 87 'browser/renderer_host/media/video_capture_manager_unittest.cc', |
| 53 'browser/ssl/ssl_host_state_unittest.cc', | 88 'browser/ssl/ssl_host_state_unittest.cc', |
| 54 'browser/trace_subscriber_stdio_unittest.cc', | 89 'browser/trace_subscriber_stdio_unittest.cc', |
| 55 'common/process_watcher_unittest.cc', | 90 'common/process_watcher_unittest.cc', |
| 56 'common/property_bag_unittest.cc', | 91 'common/property_bag_unittest.cc', |
| 57 'common/resource_dispatcher_unittest.cc', | 92 'common/resource_dispatcher_unittest.cc', |
| 58 'common/url_fetcher_unittest.cc', | 93 'common/url_fetcher_unittest.cc', |
| 59 'renderer/active_notification_tracker_unittest.cc', | 94 'renderer/active_notification_tracker_unittest.cc', |
| 60 'renderer/media/audio_message_filter_unittest.cc', | 95 'renderer/media/audio_message_filter_unittest.cc', |
| 61 'renderer/media/audio_renderer_impl_unittest.cc', | 96 'renderer/media/audio_renderer_impl_unittest.cc', |
| 62 'renderer/media/capture_video_decoder_unittest.cc', | 97 'renderer/media/capture_video_decoder_unittest.cc', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 76 }], | 111 }], |
| 77 ['OS=="win" and win_use_allocator_shim==1', { | 112 ['OS=="win" and win_use_allocator_shim==1', { |
| 78 'dependencies': [ | 113 'dependencies': [ |
| 79 '../base/allocator/allocator.gyp:allocator', | 114 '../base/allocator/allocator.gyp:allocator', |
| 80 ], | 115 ], |
| 81 }], | 116 }], |
| 82 ], | 117 ], |
| 83 }, | 118 }, |
| 84 ], | 119 ], |
| 85 } | 120 } |
| OLD | NEW |