Adds fake hardware video encoder.
[chromium-blink-merge.git] / ios / web / ios_web.gyp
blobf9310434e48479b6fbe148bb7f41f97459e3474c
1 # Copyright 2014 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.
6   'variables': {
7     'chromium_code': 1,
8    },
9   'targets': [
10     {
11       'target_name': 'ios_web',
12       'type': 'static_library',
13       'include_dirs': [
14         '../..',
15       ],
16       'dependencies': [
17         '../../base/base.gyp:base',
18         '../../content/content.gyp:content_browser',
19         '../../net/net.gyp:net',
20         '../../ui/base/ui_base.gyp:ui_base',
21         '../../ui/gfx/gfx.gyp:gfx',
22       ],
23       'sources': [
24         'browser_state.cc',
25         'load_committed_details.cc',
26         'navigation/navigation_item_impl.h',
27         'navigation/navigation_item_impl.mm',
28         'public/browser_state.h',
29         'public/favicon_status.cc',
30         'public/favicon_status.h',
31         'public/load_committed_details.h',
32         'public/navigation_item.h',
33         'public/referrer.h',
34         'public/security_style.h',
35         'public/ssl_status.cc',
36         'public/ssl_status.h',
37         'public/string_util.h',
38         'public/url_scheme_util.h',
39         'public/user_agent.h',
40         'public/user_agent.mm',
41         'public/web_state/js/crw_js_base_manager.h',
42         'public/web_state/js/crw_js_injection_evaluator.h',
43         'public/web_state/js/crw_js_injection_manager.h',
44         'public/web_state/js/crw_js_injection_receiver.h',
45         'public/web_state/js/crw_js_message_manager.h',
46         'public/web_state/web_state_observer.h',
47         'public/web_thread.h',
48         'string_util.cc',
49         'url_scheme_util.mm',
50         'web_state/js/crw_js_base_manager.mm',
51         'web_state/js/crw_js_common_manager.h',
52         'web_state/js/crw_js_common_manager.mm',
53         'web_state/js/crw_js_injection_manager.mm',
54         'web_state/js/crw_js_injection_receiver.mm',
55         'web_state/js/crw_js_message_dynamic_manager.h',
56         'web_state/js/crw_js_message_dynamic_manager.mm',
57         'web_state/js/crw_js_message_manager.mm',
58         'web_state/web_state_observer.cc',
59         'web_thread.cc',
60         'web_thread_impl.cc',
61         'web_thread_impl.h',
62         'web_view_util.h',
63         'web_view_util.mm',
64       ],
65     },
66     {
67       'target_name': 'js_resources',
68       'type': 'none',
69       'sources': [
70         'web_state/js/resources/base.js',
71         'web_state/js/resources/common.js',
72         'web_state/js/resources/message.js',
73         'web_state/js/resources/message_dynamic_ui.js',
74         'web_state/js/resources/message_dynamic_wk.js',
75       ],
76       'link_settings': {
77         'mac_bundle_resources': [
78           '<(SHARED_INTERMEDIATE_DIR)/base.js',
79           '<(SHARED_INTERMEDIATE_DIR)/common.js',
80           '<(SHARED_INTERMEDIATE_DIR)/message.js',
81           '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_ui.js',
82           '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_wk.js',
83         ],
84       },
85       'includes': [
86         'js_compile.gypi'
87       ],
88     },
89     {
90       'target_name': 'test_support_ios_web',
91       'type': 'static_library',
92       'dependencies': [
93         '../../content/content_shell_and_tests.gyp:test_support_content',
94         'ios_web',
95       ],
96       'include_dirs': [
97         '../..',
98       ],
99       'sources': [
100         'public/test/crw_test_js_injection_receiver.h',
101         'public/test/crw_test_js_injection_receiver.mm',
102         'public/test/js_test_util.h',
103         'public/test/js_test_util.mm',
104         'public/test/test_browser_state.cc',
105         'public/test/test_browser_state.h',
106         'public/test/test_web_state.cc',
107         'public/test/test_web_state.h',
108         'public/test/test_web_thread.h',
109         'public/test/test_web_thread_bundle.h',
110         'test/test_web_thread.cc',
111         'test/test_web_thread_bundle.cc',
112       ],
113     },
114   ],