Fix memory leak in DocumentRecentTabsManager
[chromium-blink-merge.git] / ios / web / ios_web_unittests.gyp
bloba8d6e6b562fa9c3c4bcb9f64c654ae2444ee26f3
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5   'variables': {
6     'chromium_code': 1,
7   },
8   'targets': [
9     {
10       'target_name': 'ios_web_unittests',
11       'type': '<(gtest_target_type)',
12       'dependencies': [
13         '../../base/base.gyp:base',
14         '../../base/base.gyp:test_support_base',
15         '../../net/net.gyp:net_test_support',
16         '../../testing/gmock.gyp:gmock',
17         '../../testing/gtest.gyp:gtest',
18         '../../third_party/ocmock/ocmock.gyp:ocmock',
19         '../../ui/base/ui_base.gyp:ui_base_test_support',
20         '../testing/ios_testing.gyp:ocmock_support',
21         'ios_web.gyp:ios_web',
22         'ios_web.gyp:test_support_ios_web',
23       ],
24       'sources': [
25         'active_state_manager_impl_unittest.mm',
26         'alloc_with_zone_interceptor_unittest.mm',
27         'browser_state_unittest.cc',
28         'browsing_data_partition_impl_unittest.mm',
29         'crw_browsing_data_store_unittest.mm',
30         'crw_network_activity_indicator_manager_unittest.mm',
31         'history_state_util_unittest.mm',
32         'navigation/crw_session_controller_unittest.mm',
33         'navigation/crw_session_entry_unittest.mm',
34         'navigation/navigation_item_impl_unittest.mm',
35         'navigation/navigation_manager_impl_unittest.mm',
36         'navigation/nscoder_util_unittest.mm',
37         'net/cert_policy_unittest.cc',
38         'net/cert_verifier_block_adapter_unittest.cc',
39         'net/clients/crw_csp_network_client_unittest.mm',
40         'net/clients/crw_js_injection_network_client_unittest.mm',
41         'net/clients/crw_passkit_network_client_unittest.mm',
42         'net/crw_url_verifying_protocol_handler_unittest.mm',
43         'net/request_group_util_unittest.mm',
44         'net/request_tracker_impl_unittest.mm',
45         'net/web_http_protocol_handler_delegate_unittest.mm',
46         'public/referrer_util_unittest.cc',
47         'public/test/http_server_unittest.mm',
48         'string_util_unittest.cc',
49         'test/crw_fake_web_controller_observer_unittest.mm',
50         'test/run_all_unittests.cc',
51         'ui_web_view_util_unittest.mm',
52         'url_scheme_util_unittest.mm',
53         'url_util_unittest.cc',
54         'weak_nsobject_counter_unittest.mm',
55         'web_state/crw_web_view_scroll_view_proxy_unittest.mm',
56         'web_state/js/common_js_unittest.mm',
57         'web_state/js/core_js_unittest.mm',
58         'web_state/js/credential_util_unittest.mm',
59         'web_state/js/crw_js_early_script_manager_unittest.mm',
60         'web_state/js/crw_js_injection_manager_unittest.mm',
61         'web_state/js/crw_js_invoke_parameter_queue_unittest.mm',
62         'web_state/js/crw_js_window_id_manager_unittest.mm',
63         'web_state/js/page_script_util_unittest.mm',
64         'web_state/ui/crw_static_file_web_view_unittest.mm',
65         'web_state/ui/crw_ui_simple_web_view_controller_unittest.mm',
66         'web_state/ui/crw_web_controller_container_view_unittest.mm',
67         'web_state/ui/crw_web_controller_observer_unittest.mm',
68         'web_state/ui/crw_web_controller_unittest.mm',
69         'web_state/ui/crw_wk_simple_web_view_controller_unittest.mm',
70         'web_state/ui/crw_wk_web_view_crash_detector_unittest.mm',
71         'web_state/ui/web_view_js_utils_unittest.mm',
72         'web_state/ui/wk_web_view_configuration_provider_unittest.mm',
73         'web_state/web_state_impl_unittest.mm',
74         'web_state/web_view_internal_creation_util_unittest.mm',
75         'web_state/wk_web_view_security_util_unittest.mm',
76         'webui/crw_web_ui_manager_unittest.mm',
77         'webui/crw_web_ui_page_builder_unittest.mm',
78         'webui/url_fetcher_block_adapter_unittest.mm',
79       ],
80       'actions': [
81         {
82           'action_name': 'copy_test_data',
83           'variables': {
84             'test_data_files': [
85               'test/data/chrome.html',
86               'test/data/testbadpass.pkpass',
87               'test/data/testfavicon.png',
88               'test/data/testpass.pkpass',
89             ],
90             'test_data_prefix': 'ios/web',
91           },
92           'includes': [ '../../build/copy_test_data_ios.gypi' ],
93         },
94       ],
95     },
96   ],