Roll src/third_party/WebKit 0c3f21f:4f9ce20 (svn 202223:202224)
[chromium-blink-merge.git] / ios / web / ios_web_unittests.gyp
blob1a1b9d2dc5cf2f81804246e932f2c552cc98f38d
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_cert_policy_cache_unittest.mm',
43         'net/crw_url_verifying_protocol_handler_unittest.mm',
44         'net/request_group_util_unittest.mm',
45         'net/request_tracker_impl_unittest.mm',
46         'net/web_http_protocol_handler_delegate_unittest.mm',
47         'public/referrer_util_unittest.cc',
48         'public/test/http_server_unittest.mm',
49         'string_util_unittest.cc',
50         'test/crw_fake_web_controller_observer_unittest.mm',
51         'test/run_all_unittests.cc',
52         'ui_web_view_util_unittest.mm',
53         'url_scheme_util_unittest.mm',
54         'url_util_unittest.cc',
55         'weak_nsobject_counter_unittest.mm',
56         'web_state/crw_web_view_scroll_view_proxy_unittest.mm',
57         'web_state/js/common_js_unittest.mm',
58         'web_state/js/core_js_unittest.mm',
59         'web_state/js/credential_util_unittest.mm',
60         'web_state/js/crw_js_early_script_manager_unittest.mm',
61         'web_state/js/crw_js_injection_manager_unittest.mm',
62         'web_state/js/crw_js_invoke_parameter_queue_unittest.mm',
63         'web_state/js/crw_js_window_id_manager_unittest.mm',
64         'web_state/js/page_script_util_unittest.mm',
65         'web_state/ui/crw_static_file_web_view_unittest.mm',
66         'web_state/ui/crw_ui_simple_web_view_controller_unittest.mm',
67         'web_state/ui/crw_web_controller_container_view_unittest.mm',
68         'web_state/ui/crw_web_controller_observer_unittest.mm',
69         'web_state/ui/crw_web_controller_unittest.mm',
70         'web_state/ui/crw_wk_simple_web_view_controller_unittest.mm',
71         'web_state/ui/crw_wk_web_view_crash_detector_unittest.mm',
72         'web_state/ui/web_view_js_utils_unittest.mm',
73         'web_state/ui/wk_back_forward_list_item_holder_unittest.mm',
74         'web_state/ui/wk_web_view_configuration_provider_unittest.mm',
75         'web_state/web_state_impl_unittest.mm',
76         'web_state/web_view_internal_creation_util_unittest.mm',
77         'web_state/wk_web_view_security_util_unittest.mm',
78         'web_view_counter_impl_unittest.mm',
79         'webui/crw_web_ui_manager_unittest.mm',
80         'webui/crw_web_ui_page_builder_unittest.mm',
81         'webui/url_fetcher_block_adapter_unittest.mm',
82       ],
83       'actions': [
84         {
85           'action_name': 'copy_test_data',
86           'variables': {
87             'test_data_files': [
88               'test/data/chrome.html',
89               'test/data/testbadpass.pkpass',
90               'test/data/testfavicon.png',
91               'test/data/testpass.pkpass',
92             ],
93             'test_data_prefix': 'ios/web',
94           },
95           'includes': [ '../../build/copy_test_data_ios.gypi' ],
96         },
97       ],
98     },
99   ],